1
Hardware and Performance / Re: USB NIC problem, going down and up -> Trying VLAN?
« on: August 17, 2018, 09:27:56 am »
Thank you Bart!
I think I have it all set up almost right now, it is close, but still no cigar.
The OpnSense PC is a VivoPC VM62 https://www.asus.com/Mini-PCs/VivoPC_VM62/
Ethernet NIC is
dmesg | grep Realtek
My switch is set up like this
It should be just like Bart wrote, but I have two tagged trunk ports = ports 1 & 2, not just port 1 (I'm planing on reinstalling the IPcop PC with OpnSense and let it use port 2):
I have connected the cables to the switch like this
My OpnSense has these VLANs
NOTE!! -->It works with using VLAN 222 to LAN with this setup. Like this everything works well, all users can surf and so on.
But if I try to change also WAN via VLAN like this
Connection via LAN still works to OpnSense, but WAN never gets any IP from IPS DHCP so nobody can reach Internet. It is like the connection from VLAN666 on re0 don't communicate with ports 6, 7 & 8 on the switch.
I think I have it all set up almost right now, it is close, but still no cigar.
The OpnSense PC is a VivoPC VM62 https://www.asus.com/Mini-PCs/VivoPC_VM62/
Ethernet NIC is
dmesg | grep Realtek
Code: [Select]
re0: <Realtek PCIe GBE Family Controller> port 0xe000-0xe0ff mem 0xf7d00000-0xf7d00fff,0xf0000000-0xf0003fff irq 18 at device 0.0 on pci3
dmesg | grep RTLCode: [Select]
rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 3 on miibus0
My switch is set up like this
It should be just like Bart wrote, but I have two tagged trunk ports = ports 1 & 2, not just port 1 (I'm planing on reinstalling the IPcop PC with OpnSense and let it use port 2):
I have connected the cables to the switch like this
My OpnSense has these VLANs
NOTE!! -->It works with using VLAN 222 to LAN with this setup. Like this everything works well, all users can surf and so on.
But if I try to change also WAN via VLAN like this
Connection via LAN still works to OpnSense, but WAN never gets any IP from IPS DHCP so nobody can reach Internet. It is like the connection from VLAN666 on re0 don't communicate with ports 6, 7 & 8 on the switch.