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

    2 different hardware ports onto the same vlan

    Scheduled Pinned Locked Moved Routing and Multi WAN
    8 Posts 3 Posters 812 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
      hannibalking
      last edited by hannibalking

      Re: Same VLAN on two ports on pfsense

      I have a VLAN set on hardware port from the pfsense device. Unused for now. What if I need to get onto the same VLAN a device that comes from a different hardware port? In this case, that hardware port is actually a LAG of 2 hardware ports connected to a switch. How would I need to enable/setup the interfaces?

      Is this wrong? Then why? What am I not getting right about vlans?

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

        @hannibalking If you created a lag, then you would put the vlan on the lag interface.

        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
        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

        H 2 Replies Last reply Reply Quote 1
        • H
          hannibalking @johnpoz
          last edited by

          @johnpoz, I got it now. I don't really know why it took me this long to comprehend that. thank you!

          1 Reply Last reply Reply Quote 0
          • H
            hannibalking @johnpoz
            last edited by hannibalking

            @johnpoz said in 2 different hardware ports onto the same vlan:

            If you created a lag, then you would put the vlan on the lag interface.

            Actually how about enabling the interfaces? Do I set the IP configuration type for the VLAN that uses the hardware port, and then for the other one that uses the LAG I just enable it with the default configuration? It seems if I do it this way, the devices connected to that VLAN through the LAG don't get connected to the network unless I bridge the VLAN from the LAG with the one from the hardware port on the pfsense hardware

            S johnpozJ 2 Replies Last reply Reply Quote 0
            • S
              SteveITS Galactic Empire @hannibalking
              last edited by

              @hannibalking if these are different interfaces pfSense handles them as different networks. bridging combines networks. Typically with VLANs a smart switch would handle directing VLAN packets from various ports and they arrive at the router on the expected port.

              Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
              When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
              Upvote 👍 helpful posts!

              H 1 Reply Last reply Reply Quote 1
              • H
                hannibalking @SteveITS
                last edited by

                @steveits said in 2 different hardware ports onto the same vlan:

                @hannibalking if these are different interfaces pfSense handles them as different networks. bridging combines networks. Typically with VLANs a smart switch would handle directing VLAN packets from various ports and they arrive at the router on the expected port.

                So the best way is to leave the empty hardware port on the pfsense alone and set it up on the switch instead. Right?

                S 1 Reply Last reply Reply Quote 0
                • S
                  SteveITS Galactic Empire @hannibalking
                  last edited by

                  @hannibalking yes I’d say so. Otherwise bridging because pfSense or any router assumes interfaces are unique networks. So without bridging they’d need to be two different subnets but could talk if allowed by firewall rules.

                  Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                  When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                  Upvote 👍 helpful posts!

                  1 Reply Last reply Reply Quote 1
                  • johnpozJ
                    johnpoz LAYER 8 Global Moderator @hannibalking
                    last edited by

                    @hannibalking not sure what your asking.. You created a lag, yes the interface should be enabled.. But NO you wouldn't put any config on the interface.. It is now part of the lag.. The lag is the interface..

                    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
                    SG-4860 24.11 | Lab VMs 2.7.2, 24.11

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