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

    VLAN Question

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 3 Posters 820 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.
    • NogBadTheBadN
      NogBadTheBad
      last edited by

      *** Welcome to pfSense 2.3.1-RELEASE-p1 (amd64 full-install) on pfSense ***

      WAN (wan)        -> em0            -> v4/DHCP4: 172.16.1.32/24
      LAN (lan)          -> em1            -> v4: 192.168.1.1/24
      VLAN10 (opt1)  -> em1_vlan10  -> v4: 192.168.2.1/24
      VLAN20 (opt2)  -> em1_vlan20  -> v4: 192.168.3.1/24
      VLAN30 (opt3)  -> em1_vlan30  -> v4: 192.168.4.1/24

      If you add VLANS to an existing interface as above does it trunk everything and the 192.168.1.0/24 interface would be native and anything else would be tagged ?

      Andy

      1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

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

        The LAN interface works just like it would without the VLANs. The VLANs are transmitted on the same wire but the ethernet frames have the appropriate VLAN tags in them. I'm not sure what you mean by "trunking" though.

        1 Reply Last reply Reply Quote 0
        • NogBadTheBadN
          NogBadTheBad
          last edited by

          Thanks.

          Trunking is carrying multiple vlans down a single interface.

          Andy

          1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

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

            I'm used to "trunk ports" that are switch ports that carry only tagged traffic, what you're referring to as "trunking" is the basic use of VLANs, just more than one VLAN on an interface.

            1 Reply Last reply Reply Quote 0
            • H
              hbarnhart
              last edited by

              @kpa:

              The LAN interface works just like it would without the VLANs. The VLANs are transmitted on the same wire but the ethernet frames have the appropriate VLAN tags in them. I'm not sure what you mean by "trunking" though.

              Cisco (and a few other vendors) uses the term "trunking" to refer to an interface that carries VLAN tagged frames from multiple VLANs, which I think is were the confusion is coming from.

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