I can't ping 192.168.30.2.So, is bridge300 working?
em0 should not have an IP address. Instead you should create a default bridge0 with em0 as the parent, then put the IP on bridge0
Ok, so here is what the layout should look like.I can't ping 192.168.30.2.
I get an error saying 'interface em0 is currently in use by vlan30' if I try to create a bridge with em0 as the bridge member.
I gave that a try (and moved the 192.168.0.80 address) to bridge0, but I still couldn't ping 192.168.30.2 and I couldn't open the web GUI at 192.168.0.80Ok, so here is what the layout should look like.
I think I was mistaken about not having to have the vlan1 interface.
So if you are using 1 NIC for both VLAN and LAN traffic, then...
LAN
em0 > vlan1 > bridge0 (this would be your default LAN tagged traffic)
VLAN 30
em0 > vlan30 > bridge30
VLAN 50
em0 > vlan50 > bridge50
Did you try to first create a VLAN1 with em0 as the member, the creating bridge0 with VLAN1 as the member?I gave that a try (and moved the 192.168.0.80 address) to bridge0, but I still couldn't ping 192.168.30.2 and I couldn't open the web GUI at 192.168.0.80
I did it all in one shot so that I could use "Test Changes" and not lock myself out of the web GUI (but yes).Did you try to first create a VLAN1 with em0 as the member, the creating bridge0 with VLAN1 as the member?
I clicked 'Test Changes' and nothing.I would create VLAN1, set it to DHCP and see if it gets an IP.
0.0.0.0 was the selected web interface (which says it enables all by default), but I tried selecting the 0.80 and 30.2 addresses instead and still I can't access it through the 30.2 IP. Nor can I ping the 30.2 IP.I'm wondering if that is because your router is not allowing traffic to pass between VLANs. Can you confirm that you can ping across with other devices.
Also, make sure that under General > System that the web interface is checked on both those IPs.
Same issue with other NIC. I created a VLAN30 with em1 as the parent and bridge30 was VLAN30 as the member and gave bridge30 the 30.2 IP and I still can't ping 30.2 or open the GUI at 30.2. The physical machine does continue to show the web interface is available at 30.2 and 0.80.I just tried with this setup.
Router serving VLAN and LAN > Switch that passes traffic with default settings > truenas and it worked fine.
Something could be wrong with your NIC maybe. Have you tried with both NICs?
I'm not exactly sure what did it, but I was playing around a bit in the router's GUI and with ACLs and managed to get the 30.2 interface working. Starting with em1 seems to have helped since it meant I was starting with a parent interface with no IP address. The other part is that I probably didn't catch some error somewhere in the ACL that I eventually caught when I rewrote all the ACL rules from scratch.The problem seems to be on the router side.
This happens when the automagically created bridge combines with some manual configuration in unfortunate ways and 2 physical ports are both plugged in and a member of the same bridge.TrueNAS seems to be doing something weird where it's taking down my whole internet when it restarts
Ah, I thought I tried to use the same bridge in two different places and ran into an error, but maybe I'm misremembering or it was misconfigured at that point.You don't need another bridge in the same subnet. One is enough. You can then add as many jails and VMs to that one bridge as you like. So leaving it at /24 is the way to do it. You shouldn't have to add another bridge in the same range.
Makes sense, Thanks!This happens when the automagically created bridge combines with some manual configuration in unfortunate ways and 2 physical ports are both plugged in and a member of the same bridge.
This creates a layer 2 loop that brings down the whole network via broadcast storm.