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

    IPv6 Question

    Scheduled Pinned Locked Moved General pfSense Questions
    64 Posts 3 Posters 10.8k 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 @stephenw10
      last edited by

      @stephenw10 exactly common config actually - pvid on a trunk is vlan X... As traffic enters the port untagged it gets put in vlan X.. Now when it leaves the switch to say the router it is tagged on vlan X.

      But my same question that could explain what is happening - but doesn't explain why it doesn't work on ipv4.. Unless the firewall rules on lan on pfsense do not allow ipv4?

      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

      J 1 Reply Last reply Reply Quote 0
      • J
        johnnybinator @johnpoz
        last edited by

        @johnpoz I have no PIVD set. No Native VLAN. Just straight Trunk. on the switch or the Host. I'm sure of it.

        interface ethernet 1/25
        description sm3_10G
        switchport mtu 9216
        switchport mode trunk
        switchport trunk allowed vlan all
        ipv6 nd ra suppress

        johnpozJ stephenw10S 2 Replies Last reply Reply Quote 0
        • johnpozJ
          johnpoz LAYER 8 Global Moderator @johnnybinator
          last edited by

          @johnnybinator said in IPv6 Question:

          Just straight Trunk

          And what switch allows that? If there was no native, then any untagged traffic wouldn't go anywhere - so clearly that is not what is happening.

          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

          J 1 Reply Last reply Reply Quote 0
          • J
            johnnybinator @johnpoz
            last edited by

            @johnpoz Clearly there's nothing clear about it.

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

              @johnnybinator if pfsense is handing you IPv6 address on vlan 11

              LAN (lan) -> ix0.11 -> v4: 10.200.0.254/24

              Then the traffic is coming to pfsense on vlan 11, how it got there would be a switch config thing. Or a client config thing.. Pfsense isn't going to say oh untagged traffic, let me put that on my ix0.11 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.8, 24.11

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator @johnnybinator
                last edited by

                @johnnybinator

                Is that the trunk port that connects to pfSense or where you're connecting the client?
                Or is that the same port somehow?

                J 1 Reply Last reply Reply Quote 0
                • J
                  johnnybinator @stephenw10
                  last edited by johnnybinator

                  @stephenw10 that’s the switch port that connects to pfSense. I think what I’m going to do next is plug a host directly into the PF sense interface.

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    Um.... so how are you connecting a client to it now?

                    The problem is almost certainly in the switch config for the port the client is on.

                    Steve

                    J 1 Reply Last reply Reply Quote 0
                    • J
                      johnnybinator @stephenw10
                      last edited by

                      @stephenw10 ummm sooo….

                      As I’m writing this, I have a switch connected. What I was think would solve this lovely chat is if I put a host directly on the pfSense trunk.

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        Yes, that would certainly confirm if there really is something in pfSense allowing IPv6 only to leak from a VLAN to the parent.

                        I was just confused as to how it was connected when you were testing before. I may have misread it but I thought you had two trunk connections on the switch (presumably to another switch or an AP maybe) and were connecting the host to the other one.

                        Steve

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

                          @stephenw10 said in IPv6 Question:

                          allowing IPv6 only to leak from a VLAN to the parent.

                          But that is not what he is saying, he is saying its leaking without a tag to tagged 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.8, 24.11

                          1 Reply Last reply Reply Quote 0
                          • stephenw10S
                            stephenw10 Netgate Administrator
                            last edited by

                            Well the fact he can actually use that IP on the host implies it's going both ways which is far more unusual.

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

                              @stephenw10 if it was some sort of crazy leak then yeah..

                              But makes complete sense if the pvid on the port is vlan 11.. Other than saying its only ipv6.. But maybe the device is only requesting IPv6 because he turned ipv4 off on it, etc .etc.

                              What is more likely, a misconfig on the switch port with a pvid, which pretty much every switch on the planet will set, even with a trunk setting.. Normally you set this to a dead vlan in cisco land.

                              Or pfsense somehow saying oh look at this untagged traffic, here let my vlan 11 interface process that. Oh then let me send it out untagged so the client can get the answer ;)

                              But again switch is set to not allow untagged.

                              I have no PIVD set. No Native VLAN. Just straight Trunk

                              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

                              J 1 Reply Last reply Reply Quote 0
                              • J
                                johnnybinator @johnpoz
                                last edited by

                                @johnpoz There is no PIVD set. No native VLAN. That's the whole point of the post for the start.

                                Switch port that is connected to pfSense:

                                interface ethernet 3/26
                                description To PfSense
                                switchport mtu 9216
                                switchport ingress-filtering disable
                                switchport mode trunk
                                switchport trunk allowed vlan all
                                ipv6 nd ra suppress

                                Switch port connected to the host:

                                interface ethernet 3/20
                                description NFS Server
                                switchport mtu 9216
                                switchport ingress-filtering disable
                                switchport mode trunk
                                switchport trunk allowed vlan all
                                ipv6 nd ra suppress

                                Switch port configured for a different host, with PVID, that is working as expected:

                                nterface ethernet 3/24
                                description To TV Switch
                                no capabilities 10half
                                no capabilities 10full
                                no capabilities 100half
                                no capabilities 100full
                                switchport mtu 9216
                                switchport mode trunk
                                switchport trunk native vlan 11
                                switchport trunk allowed vlan all
                                ipv6 nd ra suppress

                                This is what is perplexing. In this configuration, the host connected to 3/20, booting from the install media, gets an IPv6 address from the subnet tied to VLAN 11. As of yet, still unexplained. I mentioned in another post, I can temporarily connect the same host to the pfSense port directly, eliminating the switch. That will determine whether it is my switch or not. I can most likely get to it this week, if anyone's really biting their nails over this.

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

                                  @johnnybinator said in IPv6 Question:

                                  switchport mode trunk
                                  switchport trunk allowed vlan all

                                  How do you think there is no pvid there? Cisco requires a pvid on a trunk port.. If you try and remove vlan 1, it sets 4095P.. In cisco land if you do not want pvid to be default vlan.. Then you set the native to a dead vlan..

                                  There is some other tricks you can try with setting the port to general mode..

                                  But best practice in ciscoland has always been to set a dead vlan as the pvid on the trunk..

                                  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

                                  J 1 Reply Last reply Reply Quote 0
                                  • J
                                    johnnybinator @johnpoz
                                    last edited by

                                    @johnpoz this isn’t Cisco. But I get your point. I hadn’t thought of setting native to a dead VLAN. That would solve the problem. I’m going to give it a try. Thanks.

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

                                      @johnnybinator what switch is it exactly? I have worked with many a switches over the years. But mostly cisco for sure - but I would be curious to look at the manual for a switch that drops all untagged on trunk..

                                      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

                                      J 1 Reply Last reply Reply Quote 0
                                      • J
                                        johnnybinator @johnpoz
                                        last edited by

                                        @johnpoz it’s an fs.com s390024t. It’s 24port copper with 4 sfp+, fabless. I bought it for the silence.

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

                                          @johnnybinator said in IPv6 Question:

                                          s390024t

                                          Well quick look over - sure seems like trunk will have a pvid to me..

                                          Switch(config)#show interface brief ethernet 0/0/1

                                          Can we see that for your interface, this would show the pvid and or utvlan

                                          So unless you did something with ingress filtering like
                                          "ingress acceptable-frame tagged" or something that would remove that.. Trunk ports always have a default pvid.. And do something with untagged. This is normally put onto the default vlan of the switch.

                                          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

                                          J 1 Reply Last reply Reply Quote 0
                                          • J
                                            johnnybinator @johnpoz
                                            last edited by

                                            @johnpoz
                                            Looks like native VLAN is one when you don't specify. I did not know that. I used to do:

                                            switchport trunk allowed vlan all and then swithport trunk remove 1 to shut down VLAN 1 as I am not using it at all.

                                            But I stopped doing that in some troubleshooting step I was doing a while back and have not put it back. This problem with a host with a trunk port getting an IPv6 address from VLAN11 persisted through that change. I'm going to create a dead VLAN and set the native VLAN to that and see what happens. I'm pretty confident that will fix this problem.

                                            s3900l.johnnyb.dev-1#show int configuration eth 3/26
                                            Name : To PfSense
                                            Port Admin : Up
                                            Speed-duplex Capabilities : 10Gfull
                                            Nego-Speed-duplex : 10Gfull
                                            Flow Control : Disabled
                                            VLAN Trunking : Disabled
                                            MAC Learning : Enabled
                                            Link-Status Trap : Disabled
                                            Media Type : None
                                            MTU : 9216
                                            Broadcast Threshold : Disabled
                                            Multicast Threshold : Disabled
                                            Unknown Unicast Threshold : Disabled
                                            Broadcast Block : Disabled
                                            Unknown Multicast Block : Disabled
                                            Unknown Unicast Block : Disabled
                                            Ingress Rate Limit : Disabled, 10000000 kbits/second
                                            Egress Rate Limit : Disabled, 10000000 kbits/second
                                            VLAN Mode : Trunk
                                            Vlan Ingress filtering : Disabled
                                            Native VLAN : 1
                                            GVRP Status : Disabled
                                            VLAN : 1(u), 6(t), 7(t), 8(t), 10(t)
                                            11(t), 12(t), 13(t), 14(t), 20(t)
                                            30(t), 40(t), 41(t), 50(t), 60(t)
                                            70(t), 80(t), 82(t), 90(t), 100(t)
                                            110(t), 120(t), 121(t), 122(t), 130(t)
                                            140(t), 150(t), 151(t), 152(t), 160(t)
                                            170(t), 180(t), 190(t), 200(t), 210(t)
                                            300(t), 400(t), 500(t), 600(t), 700(t)
                                            800(t), 900(t), 999(t)
                                            Forbidden VLAN :
                                            QinQ Status : Disabled
                                            QinQ Mode : Normal
                                            QinQ TPID : 8100 (Hex)

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