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

VLAN tagging with untagged parent interface

Scheduled Pinned Locked Moved L2/Switching/VLANs
16 Posts 8 Posters 4.3k 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.
  • B
    b82rez
    last edited by Jun 6, 2018, 1:03 PM

    Thanks for the fast replies!

    Verify trunking on HP:
    <sw001>display vlan 10
    VLAN ID: 10
    VLAN Type: static
    Route Interface: not configured
    Description: VLAN 0010
    Name: VLAN-10
    Tagged Ports:
    Ten-GigabitEthernet1/0/27 <<--- PFsense
    Untagged Ports: none

    Caught the "Reboot to get the VLAN tagging to work" from various google searches, perhaps this is referencing an old release.

    Just to confirm, it's a supported design to run IP ontop of the parent interface whilst tagging like I've done here?

    I'll look at doing the capture also, thanks!

    J 1 Reply Last reply Jun 6, 2018, 1:08 PM Reply Quote 0
    • H
      heper
      last edited by Jun 6, 2018, 1:06 PM

      If you don't have untagged ports on that vlan, you can't connect dumb clients

      1 Reply Last reply Reply Quote 0
      • J
        JeGr LAYER 8 Moderator @b82rez
        last edited by Jun 6, 2018, 1:08 PM

        @b82rez said in VLAN tagging with untagged parent interface:

        Just to confirm, itโ€™s a supported design to run IP ontop of the parent interface whilst tagging like Iโ€™ve done here?

        I'd avoid it in the end to avoid debugging chaos with tagged or untagged traffic on the same interface, but yes it is working and supported. We run it like that at our office location, too. Untagged traffic (vlan1) is the old deprecated server network, all other new networks are using a proper VLAN and are tagged (or using a switch access port in the appropriate VLAN). So yes, that works.

        Don't forget to upvote ๐Ÿ‘ those who kindly offered their time and brainpower to help you!

        If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

        N 1 Reply Last reply Jun 6, 2018, 1:21 PM Reply Quote 0
        • N
          NogBadTheBad @JeGr
          last edited by Jun 6, 2018, 1:21 PM

          @jegr said in VLAN tagging with untagged parent interface:

          @b82rez said in VLAN tagging with untagged parent interface:

          Just to confirm, itโ€™s a supported design to run IP ontop of the parent interface whilst tagging like Iโ€™ve done here?

          I'd avoid it in the end to avoid debugging chaos with tagged or untagged traffic on the same interface, but yes it is working and supported. We run it like that at our office location, too. Untagged traffic (vlan1) is the old deprecated server network, all other new networks are using a proper VLAN and are tagged (or using a switch access port in the appropriate VLAN). So yes, that works.

          I do it and use it just for my LAN management subnet, switch management addresses, wireless controller & ap YMMV.

          Andy

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

          1 Reply Last reply Reply Quote 0
          • J
            johnpoz LAYER 8 Global Moderator
            last edited by Jun 6, 2018, 3:42 PM

            Yes I run parent native (untagged) with network 192.168.2 and then vlans on top of that parent interface with different networks .3 and .4 with vlan id 3 and 4, etc.

            Derelict is sure not a fan of this sort of setup :) But yes it works just fine if you know what your doing and setup your switch ports correctly.

            Partly this way because unifi AP until recently had to be untagged. And previous had network is place already that used untagged, and adding the vlans to this was easier than just tagging everything, etc.

            I might get around to changing it - but it works no issue, it is a well supported configuration. It allows for being able to connect a device to that port without having to worry about the device support tags, etc.

            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.8, 24.11

            1 Reply Last reply Reply Quote 0
            • D
              Derelict LAYER 8 Netgate
              last edited by Derelict Jun 6, 2018, 6:04 PM Jun 6, 2018, 5:59 PM

              It has its place. Unifi being one of them. It is always sort of a crap shoot how the connected switch will handle it but if it works it works. It has been a while since I saw a switch that didn't like it. I would still absolutely make the untagged VLAN on the switch something other than VLAN 1.

              Another nicety is you can directly connect a laptop to the port and get to a network without having to worry about tagging traffic there. Handy for smaller networks.

              Another consideration is if you run Diagnostics > Packet Capture on the parent interface, you get all traffic for all VLANs with the dot1q tags present on the tagged VLANs. This might or might not be what you want.

              Chattanooga, Tennessee, USA
              A comprehensive network diagram is worth 10,000 words and 15 conference calls.
              DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
              Do Not Chat For Help! NO_WAN_EGRESS(TM)

              1 Reply Last reply Reply Quote 0
              • J
                jahonix
                last edited by Jun 6, 2018, 9:26 PM

                I can remember times when it was a no-go to mix tagged and untagged traffic on the same interface. I still cringe when I read about it ... but try to ๐Ÿค at least.

                J 1 Reply Last reply Jun 7, 2018, 9:50 AM Reply Quote 0
                • J
                  JKnott @jahonix
                  last edited by Jun 7, 2018, 9:50 AM

                  @jahonix said in VLAN tagging with untagged parent interface:

                  I can remember times when it was a no-go to mix tagged and untagged traffic on the same interface. I still cringe when I read about it ... but try to ๐Ÿค at least.

                  You'll find that's typical when VoIP phones and computers share the same cable. Same with WiF access points and multiple SSIDs.

                  PfSense running on Qotom mini PC
                  i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                  UniFi AC-Lite access point

                  I haven't lost my mind. It's around here...somewhere...

                  J J 2 Replies Last reply Jun 7, 2018, 11:54 AM Reply Quote 0
                  • J
                    JeGr LAYER 8 Moderator @JKnott
                    last edited by Jun 7, 2018, 11:54 AM

                    @jknott said in VLAN tagging with untagged parent interface:

                    @jahonix said in VLAN tagging with untagged parent interface:

                    I can remember times when it was a no-go to mix tagged and untagged traffic on the same interface. I still cringe when I read about it ... but try to ๐Ÿค at least.

                    You'll find that's typical when VoIP phones and computers share the same cable. Same with WiF access points and multiple SSIDs.

                    Exactly. One of the corner cases, where other solutions aren't workable (at least not with a single wire solution) ;)

                    But even if client ports are configured that way, one is still a bit cleaner in configuring the upstream port to pfsense as trunk with VLANs only. But that's just IMHO :)

                    Don't forget to upvote ๐Ÿ‘ those who kindly offered their time and brainpower to help you!

                    If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

                    1 Reply Last reply Reply Quote 0
                    • J
                      jahonix @JKnott
                      last edited by Jun 7, 2018, 10:34 PM

                      @jknott said in VLAN tagging with untagged parent interface:

                      You'll find that's typical when VoIP phones and computers share the same cable.

                      Do I sound as if I needed this explained?
                      Being able to remember the distant past but not 5 minutes ago is called Morbus Alzheimer. My mom suffers from it badly.

                      Same with WiF access points and multiple SSIDs.

                      Buy serious wireless APs with all traffic tagged, not consumer gear on steroids.

                      1 Reply Last reply Reply Quote 0
                      16 out of 16
                      • First post
                        16/16
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                        This community forum collects and processes your personal information.
                        consent.not_received