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

    Issue accessing certain websites

    Scheduled Pinned Locked Moved Routing and Multi WAN
    22 Posts 3 Posters 2.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.
    • R
      russm
      last edited by

      That is the WAN interface of the pfsense box. I did see that. Not sure what it means though.

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

        @russm do you have your mtu set to something odd on your lan side?.. a 1514 wouldn't require frag..

        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

        R 1 Reply Last reply Reply Quote 0
        • R
          russm @johnpoz
          last edited by

          @johnpoz MTU is not set on any of my interfaces.

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

            @russm I would double check that they are 1500 (default standard)

            example

            mtu.jpg

            edit: could you check your settings here

            networking.jpg

            Under Advanced networking.

            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

            R 1 Reply Last reply Reply Quote 0
            • R
              russm @johnpoz
              last edited by russm

              @johnpoz

              xn0.1010: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1496
              	description: VLAN1010
              	ether 7a:5d:9d:11:f0:43
              	inet6 fe80::785d:9dff:fe11:f043%xn0.1010 prefixlen 64 scopeid 0x14
              	inet 10.0.200.254 netmask 0xffffff00 broadcast 10.0.200.255
              	groups: vlan
              	vlan: 1010 vlanpcp: 0 parent interface: xn0
              	media: Ethernet manual
              	status: active
              	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
              

              36e420f1-a843-4300-a067-5a7a0883e508-image.png
              //edit//
              a6fa5441-b13d-4764-9c13-e9a9f2a6e3a2-image.png

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

                @russm well that is odd...

                vlan.jpg

                Those are couple of my vlan interfaces. Also see my edit about segmentation offloading.. above.

                edit: Hmmm not sure why it would lower your mtu on your vlan? Lets call in @stephenw10 he is the hardware guru around here - maybe he might know why that could/would happen.

                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

                R 1 Reply Last reply Reply Quote 0
                • R
                  russm @johnpoz
                  last edited by

                  @johnpoz I did.. and edited my post. :)

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

                    @russm yeah I saw - I tagged Steve, he would be the guy I would ask about how that could or would happen, 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
                    • johnpozJ
                      johnpoz LAYER 8 Global Moderator @russm
                      last edited by johnpoz

                      @russm I found this

                      https://forums.freebsd.org/threads/vlan-lagg-mtu-1496-expected.55313/

                      This is in Steve's wheelhouse for sure I would think... Lets give him a bit to see if he is online, if not next time I chat with him will for sure bring this thread to his attention. If I was having such an issue, he is the guy I would ask for sure ;)

                      I have not seen such an issue before. But that could explain the icmp message.

                      edit: what specific are you running pfsense on, what version? You running this on Xen hypervisor? I think xn0 is from that is it not?

                      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

                      R 1 Reply Last reply Reply Quote 0
                      • R
                        russm @johnpoz
                        last edited by

                        @johnpoz Thanks. I am running PFsense on XCP-NG. I just checked the MTU in there, and they're all set to 1500.

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

                          @russm I found this really OLD redmine that seems related, and shows the 1496

                          https://redmine.pfsense.org/issues/4103

                          Wish I could provide more help - but I have like zero experience with Zen.. Personally have never seen such an issue in like 30 years that I can recall.. But yeah that mtu is most likely related to your problem, I can say that for sure ;)

                          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

                          R 1 Reply Last reply Reply Quote 0
                          • R
                            russm @johnpoz
                            last edited by

                            @johnpoz Thanks for the help so far. Hopefully Steve can provide some insight.

                            kiokomanK 1 Reply Last reply Reply Quote 0
                            • kiokomanK
                              kiokoman LAYER 8 @russm
                              last edited by kiokoman

                              @russm

                              is it relevant to your situation? ->

                              In a XEN Virtual machine configuration the XEN VM network interface is mapped to a bridge device on the XEN Host. The Bridge on the XEN host is mapped to a physical Ethernet interface.
                              
                              If the user configures a VLAN interface on a bridge device it does not handle the four byte tag and the maximum frame size with the four byte VLAN tag data is still 1514 bytes. This will force the maximum MTU to be 1496 bytes, not 1500, on the VLAN interface.
                              
                              If the user is using TCP or some other network protocol that negotiates a segment size then the 1496 versus 1500 MTU difference is not an issue. The side with the 1496 MTU will simply negotiate a smaller segment size. But if the network application is perhaps a multicast or some other protocol that does not negotiate an end to end segment size then the transmit from a MTU 1500 host to a host with an interface set to a MTU of 1496 will most likely result in the packet from the MTU 1500 host being dropped at the destination interface with the MTU 1496.
                              
                              Details
                              So with the bridge being in between the XEN VM and the XEN Host how does one configure a VLAN for a XEN VM?
                              
                              Create the VLAN interface on the XEN host and map a bridge to this interface. Then a XEN VM interface mapped to that bridge would automatically use the VLAN, one do not need to configure the VLAN 802.1q driver in the XEN VM. The XEN host VLAN interface takes care of adding and removing the VLAN tag as needed. The VLAN on the XEN host interface takes care of the four byte tag automatically so the user does not need to adjust the MTU size.
                              
                              Keep the XEN host bridge device at a MTU of 1500 so it is compatible with the MTU of other systems in its subnet. Then create the VLAN under the XEN VM, with the 802.1q driver, and set its MTU to 1496. This will work OK for any network protocol that negotiates an end to end segment size. For network protocols that do not negotiate a segment size then any packet sent from a MTU 1500 host will get dropped at the XEN host bridge and never arrive at the XEN VM VLAN interface.
                              
                              Set the XEN Host interface and matching bridge to a MTU of 1504. Then when the user creates the XEN VM VLAN it can use a MTU of 1500 and the additional 4 bytes added to the XEN HOST bridge and interface will allow the 1518 frame size. But this will place a MTU mismatch on the XEN HOST. Since a MTU of 1504 is an odd size not all network drivers will accept this MTU size.
                              
                              Option 1 is the easiest to use and the MTU mismatches do not exist. But if there is a network design reason to only use the 802.1q driver under the XEN VM, then choice 2 or 3 can be used as long as the MTU mismatch drawbacks are considered.
                              

                              ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                              Please do not use chat/PM to ask for help
                              we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                              Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                              johnpozJ R 2 Replies Last reply Reply Quote 3
                              • johnpozJ
                                johnpoz LAYER 8 Global Moderator @kiokoman
                                last edited by

                                @kiokoman Yeah I would think this is exactly what he is running into.

                                My take on that would be to do the tags on the actual host, and the pfsense should just have standard vm interfaces and not know about the tags..

                                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 1
                                • R
                                  russm @kiokoman
                                  last edited by

                                  @kiokoman @johnpoz

                                  Thanks. I am testing this now. I did notice that all of the interfaces that were passed from XCP-NG were set to 1500, while the VLANs were all lower, no matter which interface they were from.

                                  R 1 Reply Last reply Reply Quote 0
                                  • R
                                    russm @russm
                                    last edited by

                                    Initial tests are good. I'll reconfigure the VLANs this way tonight.

                                    R 1 Reply Last reply Reply Quote 0
                                    • johnpozJ johnpoz referenced this topic on
                                    • johnpozJ johnpoz referenced this topic on
                                    • R
                                      russm @russm
                                      last edited by

                                      @johnpoz @kiokoman This worked. Setting the VLAN in XCP and passing that to pfsense fixed the MTU and allowed me to hit those sites. It also fixed the issue that I was having with speedtest, where it took forever to see the best host.

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

                                        @russm Great - and I for sure learned something about issues that can come about with zen, there is actually another active thread which I think is the same problem

                                        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.