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

PPPoE with vlan

Scheduled Pinned Locked Moved General pfSense Questions
54 Posts 3 Posters 8.9k 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.
  • S
    stephenw10 Netgate Administrator
    last edited by Jan 27, 2023, 7:04 PM

    Ah, then try capturing on em0 directly so you can see the VLAN tagged packets.

    Capturing on the VLAN won't show that. And it also won't show any replies that aren't using that VLAN tag.

    K 1 Reply Last reply Feb 7, 2023, 4:37 PM Reply Quote 0
    • K
      Kristian_m @stephenw10
      last edited by Feb 7, 2023, 4:37 PM

      @stephenw10 i haven't been home for some days now but i could try, if i even remember how i did it at first

      1 Reply Last reply Reply Quote 0
      • S
        stephenw10 Netgate Administrator
        last edited by Feb 7, 2023, 4:48 PM

        Assign and enable em0 as an interface directly if it isn't already. You can leave the IP addresses as 'none'.
        Then pcap on that whilst trying to connect.

        You should see the PPPoE packets tagged with the 101 VLAN in the capture.

        And you will see any replies coming back. And possibly on a different VLAN if so.

        K 1 Reply Last reply Feb 7, 2023, 9:05 PM Reply Quote 0
        • K
          Kristian_m @stephenw10
          last edited by Feb 7, 2023, 9:05 PM

          @stephenw10 so a cable to a computer with wire shark and see the trafik for any PPPoE trafik

          1 Reply Last reply Reply Quote 0
          • S
            stephenw10 Netgate Administrator
            last edited by Feb 7, 2023, 9:17 PM

            No you can run the capture on pfSense. And in fact you would have to because em0 has to carry the PPPoE traffic to the modem.

            K 1 Reply Last reply Feb 8, 2023, 2:01 PM Reply Quote 0
            • K
              Kristian_m @stephenw10
              last edited by Feb 8, 2023, 2:01 PM

              @stephenw10 what settings do i use for it? Other than wan https://imgur.io/a/64TIFTF

              1 Reply Last reply Reply Quote 0
              • S
                stephenw10 Netgate Administrator
                last edited by Feb 8, 2023, 2:07 PM

                The interface probably isn't going to be WAN since that would be the PPPoE link. It should be whatever you assigned em0 to.
                I would also enable promiscuous mode and set the packet count to 1000.

                K 1 Reply Last reply Feb 8, 2023, 2:10 PM Reply Quote 0
                • K
                  Kristian_m @stephenw10
                  last edited by Feb 8, 2023, 2:10 PM

                  @stephenw10 are you available for call it would be much easier than this, i don't really understand what you want to pcap

                  K 1 Reply Last reply Feb 8, 2023, 2:53 PM Reply Quote 0
                  • K
                    Kristian_m @Kristian_m
                    last edited by Feb 8, 2023, 2:53 PM

                    I made a pcap of the wan (right now wan is just the cable plugged in to the modem) with the settings https://imgur.com/a/67dMLkJ

                    1 Reply Last reply Reply Quote 0
                    • S
                      stephenw10 Netgate Administrator
                      last edited by Feb 8, 2023, 3:18 PM

                      I can't do that, we have paid support for that 😉
                      https://www.netgate.com/support

                      How do you have the interfaces configured currently? In Interfaces > Assignments?

                      K 1 Reply Last reply Feb 8, 2023, 3:32 PM Reply Quote 0
                      • K
                        Kristian_m @stephenw10
                        last edited by Feb 8, 2023, 3:32 PM

                        @stephenw10 oh okay, wan is just set to em0

                        1 Reply Last reply Reply Quote 0
                        • S
                          stephenw10 Netgate Administrator
                          last edited by Feb 8, 2023, 3:36 PM

                          Ok, you need to have WAN assigned to the PPPoE link on em0.101 as the ISP requires.

                          Then have em0 assigned as a different interface so you can capture on it from pfSense directly and check the tagging on the PPPoE traffic.

                          K 1 Reply Last reply Feb 8, 2023, 3:45 PM Reply Quote 0
                          • K
                            Kristian_m @stephenw10
                            last edited by Feb 8, 2023, 3:45 PM

                            @stephenw10 so i pcap opt witch is em0 and have wan on PPPoE over vlan 101?

                            1 Reply Last reply Reply Quote 0
                            • S
                              stephenw10 Netgate Administrator
                              last edited by Feb 8, 2023, 4:13 PM

                              Yes, exactly.

                              You should then see the PPPoE packets with the VLAN 101 tags.

                              And you will also see any incoming traffic from the ISP and how that might be tagged.

                              K 1 Reply Last reply Feb 8, 2023, 4:21 PM Reply Quote 0
                              • K
                                Kristian_m @stephenw10
                                last edited by Feb 8, 2023, 4:21 PM

                                @stephenw10 just did the pcap this is the data all the others are ARP https://imgur.com/a/OpboblW

                                1 Reply Last reply Reply Quote 0
                                • S
                                  stephenw10 Netgate Administrator
                                  last edited by Feb 8, 2023, 6:26 PM

                                  Is there any tagging on that ARP traffic? I assume that's coming from the modem?

                                  Do you know what the sagecom device is?

                                  Can you successfully get a PPPoE link there using something else? Link a Windows host directly for example?

                                  Are you sure this is actually PPPoE even? That ARP traffic is not what I'd expect to see there.

                                  K 1 Reply Last reply Feb 9, 2023, 2:17 PM Reply Quote 0
                                  • K
                                    Kristian_m @stephenw10
                                    last edited by Kristian_m Feb 9, 2023, 2:17 PM Feb 9, 2023, 2:17 PM

                                    @stephenw10 sagecom is the company that owns the modem/old router. Would it be easier if you got the pcap file? How else could i get am PPPoE connection (with what device)

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      stephenw10 Netgate Administrator
                                      last edited by Feb 9, 2023, 2:59 PM

                                      Sure upload it here: https://nc.netgate.com/nextcloud/s/j9bwDZZMtLPFoEi

                                      What's the Huawei device shown in the pcap? Is that public IP it is ARPing from your gateway IP?

                                      K 1 Reply Last reply Feb 9, 2023, 4:00 PM Reply Quote 0
                                      • K
                                        Kristian_m @stephenw10
                                        last edited by Feb 9, 2023, 4:00 PM

                                        @stephenw10 I don't have any Huawei devices, so not sure but the file is uploaded

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          stephenw10 Netgate Administrator
                                          last edited by Feb 9, 2023, 4:54 PM

                                          Great I have that.
                                          In your screenshot though you can see the Huawei device ARPing for public IPs. Is that your gateway?

                                          That traffic is arriving at em0 untagged. I presume it's coming from the ISP gateway.

                                          K 1 Reply Last reply Feb 9, 2023, 6:04 PM Reply Quote 0
                                          • First post
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received