Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Tag WAN with VLAN ID and pass it trough?

    Scheduled Pinned Locked Moved L2/Switching/VLANs
    3 Posts 3 Posters 233 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      houseofdreams
      last edited by

      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.
      e7339892-acf6-499b-b6fa-0036034bb9a0-image.png

      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.
      d1625d39-2461-43cf-8215-2493927e6f4c-image.png

      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!

      V H 2 Replies Last reply Reply Quote 0
      • V
        viragomann @houseofdreams
        last edited by

        @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
        1 Reply Last reply Reply Quote 0
        • H
          heper @houseofdreams
          last edited by heper

          @houseofdreams

          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>

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.