epair interface in jail no active and no media attribute

Status
Not open for further replies.

RalfR

Dabbler
Joined
Mar 1, 2015
Messages
18
Since I've upgrade to FreeNAS 11, no newly created jail can access the Internet anymore. I posted more details here.

When comparing a working jail (created prior to upgrading to 11), ifconfig yields the following

Code:
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 vhid 7
	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
epair2b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8<VLAN_MTU>
	ether de:0d:a7:25:3b:a8
	inet 192.168.1.47 netmask 0xffffff00 broadcast 192.168.1.255
	nd6 options=9<PERFORMNUD,IFDISABLED>
	media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
	status: active


ifconfig from a FreeNAS 11 jail, which responds with "network unreachable" when trying to ping any external address, is as follows:

Code:
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
	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 7e:f9:65:0b:de:cf
	inet 192.168.1.85 netmask 0xffffff00 broadcast 192.168.1.255
	nd6 options=9<PERFORMNUD,IFDISABLED>


Please note the missing media: and active: entries. I did create this jail using the FreeNAS Web GUI and the official FreeNAS 11 standard jail template.

Does anybody have any idea, how to fix this?
 
D

dlavigne

Guest
Were you able to resolve this? If not, is that the full output of ifconfig? I'm not seeing any physical interfaces in it.
 
D

dlavigne

Guest
Just to clarify, that output was from the FreeNAS system itself, not the jail? If not, please post the output from the system.
 

RalfR

Dabbler
Joined
Mar 1, 2015
Messages
18
Here is ifconfig from the host:


root@rr-freenas:~ # 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 64:51:06:d8:d3:a8
hwaddr 64:51:06:d8:d3:a8
inet 192.168.1.45 netmask 0xffffff00 broadcast 192.168.1.255
nd6 options=9<PERFORMNUD,IFDISABLED>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
bge1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=c019b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,VLAN_HWTSO,LINKSTATE>
ether 64:51:06:d8:d3:a9
hwaddr 64:51:06:d8:d3:a9
nd6 options=9<PERFORMNUD,IFDISABLED>
media: Ethernet autoselect
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 0x3
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:8c:4c:c4:63: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: epair2a flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 7 priority 128 path cost 2000
member: epair1a flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 6 priority 128 path cost 2000
member: epair0a flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 5 priority 128 path cost 2000
member: bge0 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:03:50:00:05:0a
hwaddr 02:03:50:00:05:0a
nd6 options=1<PERFORMNUD>
media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
status: active
groups: epair
epair1a: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8<VLAN_MTU>
ether 02:03:50:00:06:0a
hwaddr 02:03:50:00:06:0a
nd6 options=1<PERFORMNUD>
media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
status: active
groups: epair
epair2a: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8<VLAN_MTU>
ether 02:03:50:00:07:0a
hwaddr 02:03:50:00:07:0a
nd6 options=1<PERFORMNUD>
media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
status: active
groups: epair
 

aaj

Cadet
Joined
Oct 18, 2017
Messages
2
Hey RalfR

Any updates to share?

I have run into the exact same issue after updating to the latest U4.
Old jails are working just fine and all the appropriate adapters are present.
 

g---man

Cadet
Joined
Oct 4, 2014
Messages
8
Same problem here: have 2 standard jails, one runs rsync to offsite backup, and second one OpenVPN. Both have problems: 1st one lost epairXXX network device, OpenVPN accepts connections, but routing having issues, still working on it.

Paying price for 9.10->11.0_U4 upgrade :(
 

aaj

Cadet
Joined
Oct 18, 2017
Messages
2
Hi,
I found this "workaround", since I dont want to use 'VIMAGE' on my jails anyway:
1. Create jail.
2. Acknowledge that there is no working interface.
3. Stop jail manually.
4. Disable 'VIMAGE'.
5. Start jail manually.
6. Voila!

@g---man:
I am not sure if you are having the same issue...
 
Status
Not open for further replies.
Top