FreeNAS VM Not passing NIC through to Ubuntu Server

Status
Not open for further replies.

Spencer Skinner

Contributor
Joined
Dec 22, 2016
Messages
179
I am using FreeNAS 11.1 U6 and I have an Ubuntu 16.04 Server VM set up for my docker to run on, its been working fine for the past few days but as of early today I noticed the VM was running but inaccessible from anywhere other than VNC. I checked and noticed that the interface that FreeNAS passes through to Ubuntu had disappeared from the list when I did ifconfig. I tried removing and re adding the interface aswell as restarting the whole FreeNAS server but its seems nothing has changed. The interface didnt have any special config on it either, it was working over DHCP.

Here is what ifconfig shows on the VM -
upload_2018-10-8_1-4-22.png



Any ideas what this could be?



Thanks
 

KrisBee

Wizard
Joined
Mar 20, 2017
Messages
1,288
No idea, but I'd think you'd be better off configuring your VM with a static ip.
 

KrisBee

Wizard
Joined
Mar 20, 2017
Messages
1,288
Post contents of /etc/network/interfaces and /etc/resolv.conf from your VM and the output of ifconfig from FreeNAS.
 

KrisBee

Wizard
Joined
Mar 20, 2017
Messages
1,288
You didn't post output of ifconfig from FreeNAS.
 

Spencer Skinner

Contributor
Joined
Dec 22, 2016
Messages
179
You didn't post output of ifconfig from FreeNAS.
Oooops, sorry, didnt read that properly ahaha, here it is
Code:
root@AlphaServer:~ # ifconfig
igb0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
		options=2400b9<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWTSO,RXCSUM_IPV6>
		ether ac:1f:6b:26:b9:96
		hwaddr ac:1f:6b:26:b9:96
		inet 192.168.2.10 netmask 0xffffff00 broadcast 192.168.2.255
		nd6 options=9<PERFORMNUD,IFDISABLED>
		media: Ethernet autoselect (1000baseT <full-duplex>)
		status: active
igb1: flags=8c02<BROADCAST,OACTIVE,SIMPLEX,MULTICAST> metric 0 mtu 1500
		options=6403bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
		ether ac:1f:6b:26:b9:97
		hwaddr ac:1f:6b:26:b9:97
		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 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:f5:27:64:c2: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: tap1 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
				ifmaxaddr 0 port 7 priority 128 path cost 2000000
		member: epair0a flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
				ifmaxaddr 0 port 5 priority 128 path cost 2000
		member: tap0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
				ifmaxaddr 0 port 6 priority 128 path cost 2000000
		member: igb0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
				ifmaxaddr 0 port 1 priority 128 path cost 20000
tap0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
		options=80000<LINKSTATE>
		ether 00:bd:0c:30:fa:00
		hwaddr 00:bd:0c:30:fa:00
		nd6 options=1<PERFORMNUD>
		media: Ethernet autoselect
		status: active
		groups: tap
		Opened by PID 7193
epair0a: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
		options=8<VLAN_MTU>
		ether 02:ae:50:00:05:0a
		hwaddr 02:ae:50:00:05:0a
		nd6 options=1<PERFORMNUD>
		media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
		status: active
		groups: epair
tap1: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
		options=80000<LINKSTATE>
		ether 00:bd:a8:8a:de:01
		hwaddr 00:bd:a8:8a:de:01
		nd6 options=1<PERFORMNUD>
		media: Ethernet autoselect
		status: active
		groups: tap
		Opened by PID 49045



EDIT - Im now having the same issue with my RancherOS VM which used to be absolutely fine
EDIT 2 - RancherOS started working again after a full FreeNAS reboot, unsure whats causing this
 
Last edited:
Status
Not open for further replies.
Top