Jail cannot be reached after upgrade to 11.1

Status
Not open for further replies.

kknas

Cadet
Joined
Feb 12, 2015
Messages
8
Hi all,

My FreeNAS box has been running fine for years. After upgrading to 11.1-RELEASE, all settings seem to continue to work, except for one of my jails. My jail hosting transmission cannot be reached, although it worked fine on 9.10.2. Another jail (with synthing) works fine.
The jails are configured mostly the same; the network setting are the same except for the IP address.

I can't ping it from the host OS or anywhere else:
[root@nas ~]# ping 192.168.0.5
PING 192.168.0.5 (192.168.0.5): 56 data bytes
ping: sendto: Host is down


ifconfig in the working jail:
root@syncthing_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>
epair1b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8<VLAN_MTU>
ether 02:4a:f3:00:0b:0b
inet 192.168.0.4 netmask 0xffffff00 broadcast 192.168.0.255
nd6 options=9<PERFORMNUD,IFDISABLED>
media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
status: active


and in the jail that cannot be reached:
root@transmission_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>
epair0b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8<VLAN_MTU>
ether 02:62:36:00:09:0b
nd6 options=9<PERFORMNUD,IFDISABLED>
media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
status: active


You'll notice that the interface does not show the inet parameter. I am not experienced in networking on FreeBSD and can't fix this on my own.
I tried assigning a different IP address and restarting the jail, to no avail.

The advanced jail configuration in the GUI shows:
- Jail name + type
- IP4 address + netmask + default gateway
- IP6 prefix length = /64
- a MAC address is set
- Sysctls: allow.raw_sockets=true
- autostart and VIMAGE are true
Everything else is empty.

Any help would be greatly appreciated.

George
 

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
Interestingly, your jail seems to have IPv6 networking, but not IPv4 networking. What are the settings in your jail config in the GUI? Either assign it an IPv4 address there, *OR*, turn on DHCP for that jail.

EDIT: I am an idiot, I read it too fast. Ignore me.

Still, try enabling DHCP in the jail config. That was a good idea nonetheless ;)
 

kknas

Cadet
Joined
Feb 12, 2015
Messages
8
I enabled DHCP on both jails with interesting results. The IPv4 Address field in the jail list now reads:
transmission_1 => DHCP
syncthing_1 => DHCP:192.168.0.116

My problem jail did not get an IP assigned:
root@transmission_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>
epair0b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8<VLAN_MTU>
ether 02:62:36:00:09:0b
nd6 options=9<PERFORMNUD,IFDISABLED>
media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
status: active


The other one did:
root@syncthing_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>
epair1b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8<VLAN_MTU>
ether 02:4a:f3:00:0b:0b
inet 192.168.0.116 netmask 0xffffff00 broadcast 192.168.0.255
nd6 options=9<PERFORMNUD,IFDISABLED>
media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
status: active
 

neur0x

Cadet
Joined
Jan 30, 2018
Messages
1
Hello,

I have exactly the same issue. I've been upgrading Freenas since version 8 or 9, and never once had issues like this. Had to fix a few broken portjails but that was to be expected. However,
9 out of my 10 Jails have no networking. Even though i tried changing the mac address, DHCP, static IP, etc.
But the bridge is actually working since if I manually add the IP address to the interface of the Jail I have connectivity.

Help any1?
 

Guffy

Dabbler
Joined
May 10, 2014
Messages
10
hi

Ai'm also have same issue. Transmission jail couldn't get ip4 address (static or dhcp).
Code:
root@transmission_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>							   
epair2b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500   
	   options=8<VLAN_MTU>													 
	   ether 02:b3:95:00:09:0b												 
	   inet6 fe80::b3:95ff:fe00:90b%epair2b prefixlen 64 scopeid 0x2		   
	   nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>				 
	   media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)					 
	   status: active

Any solutuions for this issue?
 
Status
Not open for further replies.
Top