net.*.netmask, net.*.broadcast are ignored / broadcast in jail is set to netmask
Neither the "netmask" nor the "broadcast" values defined in the manifest are applied to the jail. Jails ends up with a broadcast address of "255.255.255.0" and a netmask of "0xff000000":
net0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=8<VLAN_MTU> ether 02:ff:70:00:06:0b inet 10.50.50.161 netmask 0xff000000 broadcast 255.255.255.0 media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>) status: active groups: epair
manifest snippet:
"nics": [ { "interface": "net0", "nic_tag": "admin", "gateway": "10.50.50.1", "netmask": "255.255.255.0", "broadcast": "10.50.50.255", "ip": "10.50.50.161", "ips": [ "10.50.50.161/24" ], "primary": true } ]
Both values can be set to any valid IP or even be completely omitted, the jail always ends up with netmask 0xff000000 and broadcast 255.255.255.0.