SOLVED Second jail with VNET get no IP address (or internet access) [11.2 Beta 3]

Status
Not open for further replies.

whiskeyjack

Dabbler
Joined
Feb 17, 2013
Messages
24
Just wondering if anybody has ran into this as well. I just tried to create a second jail with VNET (for Domoticz) and while the first jail with VNET is working fine (for the Unifii controller), the second one only gets localhost configured. This despite iocage start domoticz reporting + Configuring VNET OK

I'm not sure if I"m missing some basic configuration, but I had expected it to have the specified IP and internet access (I did configure the gateway) after the initial setup.

I'm on FreeNAS-11.2-BETA3.

Any insight much appreciated.
 

whiskeyjack

Dabbler
Joined
Feb 17, 2013
Messages
24
I've dug a bit deeper and dmesg shows the jail attempts to start the VNET. Still not closer to a solution though.

Code:
em0: link state changed to DOWN
em0: link state changed to UP
nfsd: can't register svc name
bridge0: Ethernet address: 02:04:c3:78:62:00
epair0a: Ethernet address: 02:02:d0:00:04:0a
epair0b: Ethernet address: 02:02:d0:00:05:0b
epair0a: link state changed to UP
epair0b: link state changed to UP
epair0a: changing name to 'vnet0:3'
em0: promiscuous mode enabled
bridge0: link state changed to UP
em0: link state changed to DOWN
vnet0:3: promiscuous mode enabled
em0: link state changed to UP
in6_purgeaddr: err=65, destination address delete failed
in6_purgeaddr: err=65, destination address delete failed
in6_purgeaddr: err=65, destination address delete failed
vnet0:3: link state changed to DOWN
epair0b: link state changed to DOWN
em0: link state changed to DOWN
bridge0: can't disable some capabilities on em0: 0x1
em0: link state changed to UP
in6_purgeaddr: err=65, destination address delete failed
epair0a: Ethernet address: 02:02:d0:00:04:0a
epair0b: Ethernet address: 02:02:d0:00:05:0b
epair0a: link state changed to UP
epair0b: link state changed to UP
epair0a: changing name to 'vnet0:7'
em0: link state changed to DOWN
vnet0:7: promiscuous mode enabled
em0: link state changed to UP
in6_purgeaddr: err=65, destination address delete failed
vnet0:7: link state changed to DOWN
epair0b: link state changed to DOWN
em0: link state changed to DOWN
bridge0: can't disable some capabilities on em0: 0x1
em0: link state changed to UP
epair0a: Ethernet address: 02:02:d0:00:04:0a
epair0b: Ethernet address: 02:02:d0:00:05:0b
epair0a: link state changed to UP
epair0b: link state changed to UP
epair0a: changing name to 'vnet0:10'
em0: link state changed to DOWN
vnet0:10: promiscuous mode enabled
em0: link state changed to UP
in6_purgeaddr: err=65, destination address delete failed
in6_purgeaddr: err=65, destination address delete failed
in6_purgeaddr: err=65, destination address delete failed
in6_purgeaddr: err=65, destination address delete failed
vnet0:10: link state changed to DOWN
epair0b: link state changed to DOWN
em0: link state changed to DOWN
bridge0: can't disable some capabilities on em0: 0x1
em0: link state changed to UP
epair0a: Ethernet address: 02:02:d0:00:04:0a
epair0b: Ethernet address: 02:02:d0:00:05:0b
epair0a: link state changed to UP
epair0b: link state changed to UP
epair0a: changing name to 'vnet0:12'
em0: link state changed to DOWN
vnet0:12: promiscuous mode enabled
em0: link state changed to UP
in6_purgeaddr: err=65, destination address delete failed
in6_purgeaddr: err=65, destination address delete failed
in6_purgeaddr: err=65, destination address delete failed
root@domoticz:~ #
root@domoticz:~ # 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
 

indivision

Guru
Joined
Jan 4, 2013
Messages
806
I may be having something similar happen. Two jails on VNET set to autostart. One of them does not on server restart. It works. But, only after a manual restart.

Trying to get a 3rd plugin running on VNET. Doesn't even start. No error message indicating why.
 
D

dlavigne

Guest
It's worth reporting as a bug. If you do, post the issue number here.
 

whiskeyjack

Dabbler
Joined
Feb 17, 2013
Messages
24
Found the problem! I had overlooked setting the IP interface for the jail.

Still logged it as a bug (#47965), as you can enter an IP without selecting an interface and that will never work. So the GUI should make the interface a mandatory field if an IP address is entered.
 
Status
Not open for further replies.
Top