Navigation

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

    Same VLAN on two ports on pfsense

    Routing and Multi WAN
    3
    3
    2590
    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.
    • P
      pox last edited by

      Hello all,

      Is it possible to configure pfSense to use the same VLAN on two ports?
      I have set up VLAN 20 on port OPT1, and now I would like to have VLAN 20 on OPT2 as well (I want to attach an old, not VLAN capable, wireless AP I have here to that port).

      In the VLAN setup I can select only a single interface (port).

      Can this be done?


      1 Reply Last reply Reply Quote 0
      • K
        kpa last edited by

        Think for a moment what a VLAN really is. It's a virtual separate "wire" (or a broadcast domain) built on top of the physical wire by using the special VLAN tags on the ethernet frames. These tags are just like MAC addresses in a way that they are completely local to the wire they are used on. You can of course set the same VLAN tag on VLANs that are on two different wires but there's no way to tell a router/firewall that there's an association between the two, this is because under the normal (routing) operation the VLAN tags get stripped away from the ethernet frames before processed by the router/firewall. If you really want to have the same VLAN tagging on two separate interfaces you'll have to set up bridge between the two, this will connect them on layer 2 level keeping the VLAN tagging intact when the frames traverse the bridge.

        1 Reply Last reply Reply Quote 0
        • johnpoz
          johnpoz LAYER 8 Global Moderator last edited by

          Or if 2 interfaces are connected to the same layer 2, you could also setup a lagg..

          Your not thinking the interfaces of your firewall/router are switch ports are you??  If you need more ports, get a switch!!!  Interfaces on pfsense should be network interfaces..

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          2440 2.4.5p1 | 2x 3100 2.4.4p3 | 2x 3100 22.01 | 4860 22.01

          1 Reply Last reply Reply Quote 0
          • First post
            Last post