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

    if_pppoe ping works but dns doesn't?

    Scheduled Pinned Locked Moved General pfSense Questions
    36 Posts 3 Posters 10.4k Views 4 Watching
    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.
    • E Offline
      exomic @stephenw10
      last edited by

      @stephenw10 Sure can you tell me how to upload the pcap and which interface you would like? Also for the large outgoing packets how can I check for that? Thanks

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

        Sure you can upload it here: https://nc.netgate.com/nextcloud/s/zajWnCjF2sDBqXn

        A pcap from the parent NIC showing the VLAN and pppoe encapsulated packets during the pppoes negotiation should show something.

        If you open the pcap file in wireshark you can easily see the packet size and which way it's going.

        E 1 Reply Last reply Reply Quote 0
        • E Offline
          exomic @stephenw10
          last edited by

          @stephenw10 I just uploaded the pcap file. Hopefully there's something useful in it.

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

            Great I see it. Looking....

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

              It looks like the interface ends up with 2 public IPv4 addresses, is that expected?

              There are no large outgoing packets there at all. Something is clearly restricting it. Do you have that parent NIC assigned, for accessing the modem for example? It would be useful to prove you can send large packets on the NIC but outside the PPPoE.

              A pcap showing the same thing but using the mpd5/netgraph driver for PPPoE instead for comparison would be useful if you can get it.

              E 1 Reply Last reply Reply Quote 0
              • E Offline
                exomic @stephenw10
                last edited by

                @stephenw10 2 public IPv4? No that's not expected.

                I'm using the bce0 interface with PPPoE on vlan 40 so PPPoE on bce0.40 for the WAN. I don't have any modem access on the NIC. I will get you a pcap using the mdp5 driver when I get home.

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

                  Ok that will be useful.

                  Also see if you can try running a dtrace whilst sending a failing large ping. So you'll need two ssh sessions open it, for the trace and for the ping.

                  In the dtrace session run:

                  dtrace -n 'fbt::if_inc_counter:entry / arg1 != 0 && arg1 != 2 && arg1 != 5 && arg1 != 6 / { printf("%s type %d count %d", ((struct ifnet*)arg0)->if_xname, arg1, arg2); stack(); }'
                  

                  Then send some large pings in the other session that should work but fail.

                  Stop the dtrace with ctl+c after a few pings and see what's shown.

                  E 1 Reply Last reply Reply Quote 1
                  • E Offline
                    exomic @stephenw10
                    last edited by

                    @stephenw10 Hello, sorry for the delay I have the pcap from the pppoe negociation using mpd5. Where can I upload it?

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

                      Yup you can upload it here again: https://nc.netgate.com/nextcloud/s/seG5XwkpgX5YL78

                      E 1 Reply Last reply Reply Quote 0
                      • E Offline
                        exomic @stephenw10
                        last edited by

                        @stephenw10 done :)

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

                          OK great.

                          Were you ever able to run the dtrace command?

                          E 1 Reply Last reply Reply Quote 0
                          • E Offline
                            exomic @stephenw10
                            last edited by

                            @stephenw10 yes I uploaded the file

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

                              Doh! Yup I see that.

                              I assume you're still seeing the same behaviour where only very small packets are passing?

                              E 2 Replies Last reply Reply Quote 0
                              • E Offline
                                exomic @stephenw10
                                last edited by

                                @stephenw10 Correct

                                1 Reply Last reply Reply Quote 0
                                • E Offline
                                  exomic @stephenw10
                                  last edited by

                                  @stephenw10 any luck? I have another friend using the same setup and he’s gonna switch to my isp in a couple of days. Can’t wait to see if he gets the same problems.

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

                                    Not yet, but the lead developer on this is away for a bit and it may need hi input.

                                    A second data point here would be very useful I agree.

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