[Solved] Jail network or Jail nOTworkING

Status
Not open for further replies.

melloa

Wizard
Joined
May 22, 2016
Messages
1,749
Guys,

Convinced a friend to migrate from QNAP and Sinology to FreeNAS. He is running FreeNAS-11.1-U5 on an ESXi 6.5 VM with this configuration: X9DRi-LN4F+ on a Supermicro 2U 12 bay 2x Xeon E5-2630 6 Core 6Gbps Raid Server 64GB SATADOM Boot.

He needs couple jails to run some external rsyncs, but we can't get the interface to obtain an IP from the DHCP or assign a fix IP to it.

Reading posts here, I have seen some tunables been used (ifconfig bridge0 addm em0), but that has not solved the issue, but again that post was related to 11.1-U1, so that should be fixed by now.

When I look at the host network, I see:

Code:
ifconfig
em0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=98<VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
	ether 00:0c:29:5d:ad:fe
	hwaddr 00:0c:29:5d:ad:fe
	inet 10.10.10.200 netmask 0xffffff00 broadcast 10.10.10.255 
	nd6 options=9<PERFORMNUD,IFDISABLED>
	media: Ethernet autoselect (1000baseT <full-duplex>)
	status: active
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 0x2 
	inet 127.0.0.1 netmask 0xff000000 
	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
	groups: lo 
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	ether 02:14:f2:8f:89:00
	nd6 options=9<PERFORMNUD,IFDISABLED>
	groups: bridge 
	id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
	maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
	root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
	member: epair0a flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
			ifmaxaddr 0 port 4 priority 128 path cost 2000
	member: em0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
			ifmaxaddr 0 port 1 priority 128 path cost 20000
epair0a: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8<VLAN_MTU>
	ether 02:ac:50:00:04:0a
	hwaddr 02:ac:50:00:04:0a
	nd6 options=1<PERFORMNUD>
	media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
	status: active
	groups: epair 



And the jail network has:

Code:
root@jail1:/ # 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>							   
	   groups: lo															 
epair0b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500   
	   options=8<VLAN_MTU>													 
	   ether ba:d0:aa:a3:28:0d												 
	   inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255			   
	   nd6 options=9<PERFORMNUD,IFDISABLED>									
	   media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)					 
	   status: active														 
	   groups: epair 


Any ideas?

Thanks!
 

melloa

Wizard
Joined
May 22, 2016
Messages
1,749
Running FreeNAS on ESXi VM 6.5 and 6.7, jails only obtained an IP address from DHCP in two scenarios:

1 - Host interface passed through, used as the FreeNAS VM interface; or
2 - Host vSwitch configured to promiscous mode, using vSwitch as the FreeNAS VM.

Below vSwitch configuration, highlighting the option changed - Can't speak if that breaks anything else.

upload_2018-7-18_15-33-47.png
 
Status
Not open for further replies.
Top