Jails no longer have IP addresses after upgrade

Status
Not open for further replies.

petr

Contributor
Joined
Jun 13, 2013
Messages
142
Hi,

I have recently upgraded to latest Freenas 11 from 9.3 and everything seems OK, except jails. They start up just fine, however, no IP addresses are assigned.

The settings are still there and correct in jails settings, let's use one as an example. It has IP address set to 192.168.2.106 in the jails settings. When it comes up, ifconfig does not show any IP addresses.

However, networking is fine - because if I go into the jail via jexec, I can issue:

ifconfig epair11b 192.168.2.106
route add default 192.168.2.3


And everything starts working again. Any hints what may be wrong?

ifconfig inside of the jail:

Code:
root@sickbeard_1:/ # ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
epair11b: flags=8842<BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8<VLAN_MTU>
ether 02:a3:a3:00:12:0b
nd6 options=1<PERFORMNUD>
media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
status: active


ifconfig after manually issuing the above commands:
Code:
root@sickbeard_1:/ # ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
epair11b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8<VLAN_MTU>
ether 02:a3:a3:00:12:0b
inet 192.168.2.106 netmask 0xffffff00 broadcast 192.168.2.255
nd6 options=1<PERFORMNUD>
media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
status: active
 

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
What are you settings for those jails in the "JAILS" menu in the GUI? Did you lose those?
 

petr

Contributor
Joined
Jun 13, 2013
Messages
142
What are you settings for those jails in the "JAILS" menu in the GUI? Did you lose those?

Everything in the GUI under JAILS looks as expected, including IP addresses. Only thing in the UI that is a bit odd is that I cannot see anything under "plugins" - though I do not mind that part too much.

I've resolved it in a very crude way for the moment, I've added a script to each jail to set IP, which is very far from perfect but at least it works for now.
 
Status
Not open for further replies.
Top