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

    PPPOE wan will not connect -

    Scheduled Pinned Locked Moved General pfSense Questions
    113 Posts 9 Posters 24.3k 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.
    • G
      gerryatric
      last edited by

      Hi
      I decided to setup a PFsense box to see if it would sort a speed issue out that apparently comes with the Unifi routers.
      I have a 1GB fibre connection which gives me averages around 850mbps
      Throughput on the Unifi USG pro4 is half that.
      So I read somewhere it is a limitation on the Unifi routers.
      Hence Pfsense.
      I have it all setup and it works fine. I am connected to the pfsense box on the lan and have configured it up.
      But I can not get the wan connection working on PPPOE with a username and password etc.
      They also use a vlan tag, which I have added into vlans on EM0
      But it keeps trying to connect but does not come up.
      I replaced the wan link to another connection that uses DHCP to test the network card and it works just fine. Wan connection up immediately.
      So what is wrong with PPPOE.pfsense.JPG

      see the screenshot of the log.
      Can anyone assist t

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

        @gerryatric said in PPPOE wan will not connect -:

        They also use a vlan tag, which I have added into vlans on EM0

        Do you actually have the PPPoE connection using that VLAN though? The logs look like there is no response at all.

        Can we see your Interfaces > Assignments screen?

        Steve

        G 2 Replies Last reply Reply Quote 0
        • G
          gerryatric @stephenw10
          last edited by gerryatric

          pfsense wan.JPG pfsense assignments.JPG pfsense vlan.JPG

          1 Reply Last reply Reply Quote 0
          • G
            gerryatric @stephenw10
            last edited by

            @stephenw10 I added 3 captures of the assignments, the PPPOE and the Wan config as well. Same message over and over. still.

            fireodoF G 2 Replies Last reply Reply Quote 0
            • fireodoF
              fireodo @gerryatric
              last edited by

              @gerryatric said in PPPOE wan will not connect -:

              the PPPOE and the Wan config as well

              Your PPPOE should be bound on em0.2 (the VLAN Interface)

              Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
              SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
              pfsense 2.7.2 CE
              Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

              1 Reply Last reply Reply Quote 1
              • G
                gerryatric @gerryatric
                last edited by

                @gerryatric Hi. The EM2 interface was a test or dummy. EM1 is the Wan. I have re added the correct photos. can you look at it now?

                fireodoF 1 Reply Last reply Reply Quote 0
                • fireodoF
                  fireodo @gerryatric
                  last edited by

                  @gerryatric said in PPPOE wan will not connect -:

                  can you look at it now?

                  I see no photos ... :-(

                  Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                  SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                  pfsense 2.7.2 CE
                  Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

                  G 1 Reply Last reply Reply Quote 0
                  • G
                    gerryatric @fireodo
                    last edited by

                    @fireodo there are 3 attached snips back up the post before your first reply. I removed the original and added 3 new ones. I can see them in the post.

                    fireodoF GertjanG 2 Replies Last reply Reply Quote 0
                    • fireodoF
                      fireodo @gerryatric
                      last edited by

                      @gerryatric

                      I allready reloaded the site and in the photo I see your PPPOE0 is bound on em0.
                      After creating a VLAN on em0 you should have a new interface em0.2 - on this new created interface you have to bound your PPPOE0 !

                      Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                      SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                      pfsense 2.7.2 CE
                      Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

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

                        Yup, that. Your wan assignment needs to show:
                        PPPOE0(em0.2)

                        It needs to be on VLAN2 on em0.

                        Steve

                        1 Reply Last reply Reply Quote 1
                        • GertjanG
                          Gertjan @gerryatric
                          last edited by Gertjan

                          Saw them.
                          I agree with @firedo :
                          The VLAN.2 interfaces is based on em0.
                          You have selected WAN = em0 as the PPPOE interface. Now, I'm don't know why you would have to use a VLAN for a PPPoE connection, but as you mentioned it, I presume the PPPoE goes over VLAN.2 that goes over WAN.

                          If the em0 interface is physically connected to the PPPOE "modem", and you have instructions from your ISP that you need a "VLAN tagged "2" then :

                          Create the VAN.2 interface :

                          1f123623-cc80-4726-896c-7611b8b60fa1-image.png

                          Assign this VLAN.2 interface :

                          f0ee3976-d849-43d8-afed-6d8f83f46a67-image.png

                          I gave it the name "OPT3theVLAN2overWAN".
                          You have to assign it, to be able to use it.
                          No need to change or add set any settings here :

                          092e4de0-4def-4cb8-82ce-08ade6891464-image.png OPT3theVLAN2overWAN

                          Now, on the PPPoE tab :

                          d00f2c93-cb51-4cc6-bbdd-5b3dfb2b0a2f-image.png

                          You saw I selected the VLAN.2 interface - not the parent em0 interface ?

                          Btw : I'm not using PPPoE any more. I did so in the past, but I didn't need to create a VLAN to make it work. My PPPoE was 'based or 'watched' to the WAN directly.

                          No "help me" PM's please. Use the forum, the community will thank you.
                          Edit : and where are the logs ??

                          1 Reply Last reply Reply Quote 1
                          • G
                            gerryatric
                            last edited by

                            Hi all and thanks so much for the explanations. It is a little confusing that I didn't get it straight away .
                            The reason I have to use a vlan is that my provider assigns vlan id 2 to my fibre connection on their NTD.
                            They said I have to insert this into my vlan.
                            which I currently have on my Unifi USG pro 4 and all is working well there.
                            But I want to use PFSENSE as there is a known speed issue with the unifi gear and things like Intrusion detection prevention chops the outside speed throughput in half and some other things. so instead of getting close to 1GBps performance I end up with about 300mbps on a good day.

                            GertjanG J 2 Replies Last reply Reply Quote 0
                            • GertjanG
                              Gertjan @gerryatric
                              last edited by

                              @gerryatric

                              Just for my own curiosity : which ISP / Country ?

                              No "help me" PM's please. Use the forum, the community will thank you.
                              Edit : and where are the logs ??

                              G 1 Reply Last reply Reply Quote 0
                              • G
                                gerryatric @Gertjan
                                last edited by

                                @gertjan hi. It is Australia and IINET is the provider. yes we are a bit slow downunder with our NBN. I am luck to be able to get fibre. most of the country is on copper still and won't change for a very long time

                                G 1 Reply Last reply Reply Quote 0
                                • G
                                  gerryatric @gerryatric
                                  last edited by

                                  @gerryatric ok I have set this as per the photos left by @Gertjan
                                  I am still getting a Wan down link

                                  pfsense vlan 2.JPG pfsense assign 2.JPG pfsense wan.JPG

                                  GertjanG 1 Reply Last reply Reply Quote 0
                                  • GertjanG
                                    Gertjan @gerryatric
                                    last edited by

                                    @gerryatric

                                    The last image :
                                    You should not select the WAN interface to activate PPPoE on it.
                                    You should select OPT1 interface - your second image - (which is a VLAN over WAN) and select PPPoe on that OPT1 interface.

                                    See this video for a classic PPPoE set up on WAN.
                                    Your setup is not using the WAN directly, but the derived VLAN.2 interface, which has WAN as a parent.

                                    The video is useful also as it show how to deal with the WAN interface itself, at it isn't a gateway any more.

                                    No "help me" PM's please. Use the forum, the community will thank you.
                                    Edit : and where are the logs ??

                                    G 1 Reply Last reply Reply Quote 0
                                    • G
                                      gerryatric @Gertjan
                                      last edited by

                                      @gertjan right so I get that. and now I have disabled the wan and enabled opti1
                                      which now shows a green active arrow. awesome. It isn't showing an IP which it should as it is via DHCP. still showing 0.0.0.0
                                      So still at a loss.
                                      It is a pity in that video that he just has chequer board stuff all over the screen to stop people seeing his stuff. makes it hard to know what is going on really.

                                      Any ideas on the dhcp issue and no ip?

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

                                        @gerryatric said in PPPOE wan will not connect -:

                                        It isn't showing an IP which it should as it is via DHCP

                                        It should be using PPPoE not DHCP as I understand it.

                                        Check the PPP logs. If the PPPoE session is correctly using VLAN2 over the connected parent NIC then you should see something from the remote side. Even if that's an error coming back it at least tells us the connection is there.

                                        Steve

                                        G 1 Reply Last reply Reply Quote 1
                                        • G
                                          gerryatric @stephenw10
                                          last edited by

                                          @stephenw10 Steve Hi
                                          The moment I change it from DHCP to PPPOE it fails the connection.
                                          The wan as @Gertjan explained to me was to setup a PPPOE connection, do not use the EM0 interface but use the newly created interface with PPPOE with the Vlan tag 2 as per his message and I have done all that.
                                          I get a green interface now, but no IP.
                                          If I change that to PPPOE it creates a second PPPOE connection and it all goes red.

                                          Or am I missing something

                                          My provider has me on PPPOE connection with user name and password, DHCP and a vlan tag of 2
                                          It works simply on my unifi USG Pro 4 with just my username and password and the vlan tag in the box and straight away it comes up.
                                          PFSense is obviously more configurable . and I may have missed a step.

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

                                            It isn't a DHCP connection, you need to use PPPoE.

                                            When you set it to DHCP the green arrow is showing the link status which there is the link between em0 and the modem. Obviously that is good hence it shows green.
                                            The PPP session is still down though and that's what counts.

                                            You can only have one PPPoE session on each parent interface so if you already created on on em0.2 you cannot assign something else to that.

                                            Please show us the current Interfaces > Assignments configuration.

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