I have a FreeNAS 8.2 box on IP address 192.168.xx.yy (as shown in the logs below, in bge0), with the plugins jail on 192.168.xx.ww (on epair0b, inside the jail). The FreeNAS IP address is statically allocated by DHCP and the jail IP address is statically configured in the FreeNAS configuration (set to be outside the DHCP pool). These all work properly and as intended.
The problematic IP address is that of epair0a (192.168.xx.zz) outside the jail. This appears to be allocated by DHCP, but only when the jail is created. As a result, after the lease expires, the IP address is reallocated to another machine and causes a conflict, preventing the jail from being accessed.
Is there any way to allow me to set the IP address of epair0a? I could then set it to something outside the DHCP pool. I can't statically allocate it by DHCP because the MAC address changes every time the jail is created.
The problematic IP address is that of epair0a (192.168.xx.zz) outside the jail. This appears to be allocated by DHCP, but only when the jail is created. As a result, after the lease expires, the IP address is reallocated to another machine and causes a conflict, preventing the jail from being accessed.
Is there any way to allow me to set the IP address of epair0a? I could then set it to something outside the DHCP pool. I can't statically allocate it by DHCP because the MAC address changes every time the jail is created.
Code:
# ifconfig bge0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=c0099<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,VLAN_HWTSO,LINKSTATE> ether --:--:--:--:--:-- inet 192.168.xx.yy netmask 0xffffff00 broadcast 192.168.xx.255 media: Ethernet autoselect (100baseTX <full-duplex>) status: active lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 options=3<RXCSUM,TXCSUM> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 nd6 options=3<PERFORMNUD,ACCEPT_RTADV> bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether --:--:--:--:--:-- id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: bge0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 1 priority 128 path cost 200000 member: epair0a flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 4 priority 128 path cost 2000 epair0a: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether --:--:--:--:-- inet 192.168.xx.zz netmask 0xffffff00 broadcast 192.168.xx.255 media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>) status: active # jexec 1 ifconfig lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 options=3<RXCSUM,TXCSUM> inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 nd6 options=3<PERFORMNUD,ACCEPT_RTADV> epair0b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether --:--:--:--:--:-- inet 192.168.xx.ww netmask 0xffffff00 broadcast 192.168.xx.255 inet6 fe80::fb:b1ff:fe00:50b%epair0b prefixlen 64 scopeid 0x2 nd6 options=3<PERFORMNUD,ACCEPT_RTADV> media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>) status: active