Reworked network type. Cidr added.