Hello all,
I'm sorry to post yet another thread with regards to VLAN's. I thought I had it all worked out when I got it working in my 11.3 BETA1 environment, but I can't get it to work in my 11.2U6 setup.
So I have a iocage jail called test2, using vnet. It's configured for VLAN ID 178. I am able to ping devices connected to the bridge, like the VLAN178 interface IP, but I can't seem to get beyond the bridge. Although.. test2 does get an IP address for my gateway using DHCP, eventhough I can't ping the router after getting an IP. From the Freenas self, I'm able to ping both the test2 and the gateway on vlan 178.
The test2 jail is fresh out of the box, so no firewall configured. 'allow_raw_sockets' is checked.
To clarify (hopefully) what does and does not work:
ifconfig freenas:
ifconfig test2:
Since, to me at least, this seems weird, I tried rebooting the freenas on various occasions, but to no avail.
As far as I can see, the vlan itself is kinda working but as mentioned: from the jail itself, I can't seem to get past the bridge with neither PING, nor HOST, etc.
Thanks for reading my issue, hope you can help!
I'm sorry to post yet another thread with regards to VLAN's. I thought I had it all worked out when I got it working in my 11.3 BETA1 environment, but I can't get it to work in my 11.2U6 setup.
So I have a iocage jail called test2, using vnet. It's configured for VLAN ID 178. I am able to ping devices connected to the bridge, like the VLAN178 interface IP, but I can't seem to get beyond the bridge. Although.. test2 does get an IP address for my gateway using DHCP, eventhough I can't ping the router after getting an IP. From the Freenas self, I'm able to ping both the test2 and the gateway on vlan 178.
The test2 jail is fresh out of the box, so no firewall configured. 'allow_raw_sockets' is checked.
To clarify (hopefully) what does and does not work:
Ping from freenas:
gateway 192.168.178.1 <<< works <<< freenas 192.168.178.42 >>> works >>> test2 192.168.178.101 (DHCP)
Ping from test2:
gateway 192.168.178.1 <<< fails <<< test2 192.168.178.101 (DHCP) >>> works >>> freenas 192.168.178.42
Set-up connectivity:
test2 (epair0b/vnet0.10) >>> bridge178 >>> vlan178 (bridge member) >>> re0 (parent for vlan178)
ifconfig freenas:
Code:
... vlan178: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=80001<RXCSUM,LINKSTATE> ether 70:85:c2:01:ea:c4 inet 192.168.178.42 netmask 0xffffff00 broadcast 192.168.178.255 nd6 options=9<PERFORMNUD,IFDISABLED> media: Ethernet autoselect (1000baseT <full-duplex>) status: active vlan: 178 vlanpcp: 0 parent interface: re0 groups: vlan ... bridge178: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether 02:3e:03:85:ac:b2 nd6 options=1<PERFORMNUD> 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: vnet0:10 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 15 priority 128 path cost 2000 member: vlan178 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 3 priority 128 path cost 20000 ... vnet0:10: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500 description: associated with jail: test2 as nic: epair0b options=8<VLAN_MTU> ether 02:ff:60:4b:48:3c hwaddr 02:22:d0:00:0f:0a nd6 options=1<PERFORMNUD> media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>) status: active groups: epair ...
ifconfig test2:
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 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 02:ff:60:4b:48:3d hwaddr 02:22:d0:00:10:0b inet 192.168.178.101 netmask 0xffffff00 broadcast 192.168.178.255 nd6 options=1<PERFORMNUD> media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>) status: active groups: epair
Since, to me at least, this seems weird, I tried rebooting the freenas on various occasions, but to no avail.
As far as I can see, the vlan itself is kinda working but as mentioned: from the jail itself, I can't seem to get past the bridge with neither PING, nor HOST, etc.
Thanks for reading my issue, hope you can help!