Tag WAN with VLAN ID and pass it trough?
-
Hi. I'm trying to find a way, to "route" my WAN traffic unfiltered trough a switch with VLAN's. I have 2 seperate buildings, with devices that require a direct WAN connection, otherwise not all functions of that device will work (TV boxes)
As you see in image 1, I've made a Vlan (30) with the WAN interface as the parent. I then added this to the interface assignments list.
But as you see on image 2, the status is pending. I'lm by no means a PFSense expert, so I don't really know what's wrong, or maybe better, waht I am doing wrong.
The goal is, with a switch in each building, to be able to connect the 2 with 1 (underground) fiber cable and handle the rest in each building with VLAN's. Maybe this just isn't a possibility, I don't know. Any help is appreciated!
-
@houseofdreams said in Tag WAN with VLAN ID and pass it trough?:
with a switch in each building, to be able to connect the 2 with 1 (underground) fiber cable
I presume, this cable as well as the switches are private ones, not the ones of your ISP.
"Pending" means here, it didn't get already an IP and a gateway from the DHCP server.
Why did you set the interface as DHCP client? This would require that you run a DHCP server on the other site or anywhere else within this VLAN.If you have interfaces within this VLAN on both sites, just set a static IP on each and add the respectively other one as gateway, not in the interface settings, but in Routing > Gateways. Then you have to add static routes for the other buildings LAN.
E.g.- building A: interface IP: 10.234.152.0/31
gateway: 10.234.152.1
static route: destination: B LAN, gw: 10.234.152.1 - building B: 10.234.152.1/31
gateway: 10.234.152.0
static route: destination: A LAN, gw: 10.234.152.0
- building A: interface IP: 10.234.152.0/31
-
did you set the the portgroup to vlan 4095 on your esxi / vmware ? (required to passthrough/trunk vlans from host -> vm)
this is what you are doing right?
<telenet router>--untagged vlan 30--<switch>--tagged vlan30--<pfsense-wan>