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

    SLACC Bleedthrough on VLANs

    Scheduled Pinned Locked Moved IPv6
    24 Posts 5 Posters 4.1k 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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator
      last edited by

      Oh I read that completely wrong ;)  I thought he said managed switch..  WTF - should really have more coffee before reading ;)

      Yeah here with Derelict - what your trying to do is just plain moronic – if you want to use vlans, then you need a switch that can do vlans.. Trying to get all your devices to tag their traffic is just stupid plain and simple.  A smart switch that does the basic features of vlans are cheap these days.. Even really full featured are reasonable..

      I see cisco 10 port sg300 for $125 on amazon..  You can get a Zyxel 24 port with lots of features for $115

      So excuses for trying to use a dumb switch for vlans by having all your devices tag their traffic is just plain moronic..

      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
      • K
        kolpinkb
        last edited by

        I appreciate the personal attack.  But anyways…

        There is clearly something wrong with radvd in pfSense.  Even if I were to use a fully managed switch and set up VLAN trunks on it properly, radvd would still be sending all the IPv6 routes information to all of the vlans on the trunk port.

        1 Reply Last reply Reply Quote 0
        • awebsterA
          awebster
          last edited by

          For the record, I have 9 VLANs configured on pfSense (2.3.4) going into a L2 managed switch, radvd is running, and no SLAAC bleedthrough whatsoever.

          –A.

          1 Reply Last reply Reply Quote 0
          • JKnottJ
            JKnott
            last edited by

            One thing you can do is fire up Wireshark, to see what's actually on the wire.  Failing that, you can use the pfSense packet capture, though it's not quite as convenient as Wireshark.
            .

            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...

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

              "Even if I were to use a fully managed switch and set up VLAN trunks on it properly, radvd would still be sending all the IPv6 routes information to all of the vlans on the trunk port."

              So not only are you trying to do tagging with a switch that doesn't supports them, you don't seem to understand how tags even work?

              As Derelict says - good luck with that ;) heheheeh

              Here - I turned on managed RA on my dmz interface vlan 600.. Did a simple capture and there you go you can see its tag with vlan 600..  Now if doing the packet capture via the gui.  It might not be capturing that - you need the "-e" which we could prob put in as a feature request for the packet capture..  But when you do a packet capture on a specific interface that is a specific vlan it will only show you traffic on that vlan.  But will not list in the packet capture you download.

              But you can see the RA, clearly marked with the tag I have on that interface

              RApfsensevlan.png
              RAvlantag.png_thumb
              RAvlantag.png
              RApfsensevlan.png_thumb

              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
              • JKnottJ
                JKnott
                last edited by

                @johnpoz:

                "Even if I were to use a fully managed switch and set up VLAN trunks on it properly, radvd would still be sending all the IPv6 routes information to all of the vlans on the trunk port."

                So not only are you trying to do tagging with a switch that doesn't supports them, you don't seem to understand how tags even work?

                A switch only has to pass the VLAN tags and just about any switch will.  When you configure computer NICs for VLANs, those VLANs should still behave as separate networks, as they would with a managed switch.  That is, if you have a network on VLAN5, only devices also on VLAN5 should receive the traffic.  Devices with VLANs are quite common, such as VoIP.  A phone would be on a VLAN, but still pass other traffic from a computer that passes through the phone.  Many access points (at least other than the one I have) also properly support multiple VLANs.

                Where a managed switch comes in handy is when you want devices to be on a specific VLAN, without having to configure them for it.

                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...

                1 Reply Last reply Reply Quote 0
                • awebsterA
                  awebster
                  last edited by

                  Where a managed switch comes in handy is when you want devices to be on a specific VLAN, without having to configure them for it.

                  And when the underlying OS doesn't support VLANs properly…Windows 10 anyone?!

                  –A.

                  1 Reply Last reply Reply Quote 0
                  • JKnottJ
                    JKnott
                    last edited by

                    @awebster:

                    Where a managed switch comes in handy is when you want devices to be on a specific VLAN, without having to configure them for it.

                    And when the underlying OS doesn't support VLANs properly…Windows 10 anyone?!

                    Yeah, well that's from Microsoft.  ;)

                    I haven't tried on Windows, but Linux doesn't have a problem being configured for VLANs.

                    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...

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

                      @johnpoz:

                      Here - I turned on managed RA on my dmz interface vlan 600.. Did a simple capture and there you go you can see its tag with vlan 600..  Now if doing the packet capture via the gui.  It might not be capturing that - you need the "-e" which we could prob put in as a feature request for the packet capture..  But when you do a packet capture on a specific interface that is a specific vlan it will only show you traffic on that vlan.  But will not list in the packet capture you download.

                      But you can see the RA, clearly marked with the tag I have on that interface

                      Try with it set to unimagaged on the vlans and managed on the native interface with DHCPv6 enabled.  Even when I disable VLAN support on the NIC in multiple windows 10 boxes it still gets IPs via SLAAC.

                      1 Reply Last reply Reply Quote 0
                      • DerelictD
                        Derelict LAYER 8 Netgate
                        last edited by

                        You have a fundamental misunderstanding about how pfSense/FreeBSD works.

                        There is absolutely nothing - nothing- in radvd that has anything to do with VLANs.

                        Look at /var/etc/radvd.conf

                        It is assigned interfaces. You will see interfaces such as igb0 (untagged) and igb0_vlan100 (tagged 100).

                        radvd has zero responsibility for tagging or untagging traffic. It is all handled by FreeBSD.

                        Your assertions are ludicrous and your design is flawed. You might be getting cross-"vlan" traffic from somewhere but it is not coming from pfSense.

                        Always willing to look at comprehensive bug reports, duplicate it in the lab and verify and even open a redmine bug myself if warranted but this is just stupid.

                        Post packet captures that validate your claims. Please be thorough. State exactly where the captures were taken and exactly what the circumstances and testing methodology was.

                        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
                        • johnpozJ
                          johnpoz LAYER 8 Global Moderator
                          last edited by

                          ^ that clearly is not needed derelict, I already posted the RA coming out of pfsense with the vlan tag on it..  See my tcpdump.

                          "Try with it set to unimagaged on the vlans and managed on the native interface with DHCPv6 enabled."

                          Has ZERO to do with anything!!

                          And as a side note - how do you know I don't have that currently setup that way ;)

                          Simple enough for you to show that pfsense is not putting tags on traffic.. simple tcpdump is all that is needed you will either see the tags or you wont..

                          Per what Derelict stated about the conf and the interfaces in it.. You can see clearly that assigned to the vlan interface or not.

                          conf.png
                          conf.png_thumb

                          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
                          • First post
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.