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

    CARP with PPPoE that has VLAN requirement

    Scheduled Pinned Locked Moved HA/CARP/VIPs
    17 Posts 6 Posters 4.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.
    • N
      NOTORIOUS_VR @Gabri.91
      last edited by

      @Gabri-91 said in CARP with PPPoE that has VLAN requirement:

      I've set up the CARP with PPOE as described here and it's working properly.
      https://forum.netgate.com/topic/135904/configure-an-pppoe-on-an-carp-if/5

      Well that's good news I suppose.. Unforutnatly that means that I really have no clue what I'm doing when configuring this and info is lacking for someone not well versed in what actually is happening here.

      I'm cable to get CARP running and connected but how to actually configure the rest of it all with VIP's etc. is likely where I'm getting things wrong. I guess I will keep trying and breaking things.

      I also have an issue with the backup unit losing the CARP/HA rule when it syncs, not sure what is causing that - lots of googling suggests it's an issue with different amounts of interfaces but the interfaces are the same number on both units.

      G 1 Reply Last reply Reply Quote 0
      • G
        Gabri.91
        last edited by

        Have you tried following this guide?
        https://docs.netgate.com/pfsense/en/latest/book/highavailability/example-redundant-configuration.html

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

          maybe if you can upload some screenshot of your pfsense configuration (carp/interface/pppoe), hiding sensitive stuff could be of help for the op and anyone with the same question

          ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
          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.

          1 Reply Last reply Reply Quote 0
          • G
            Gabri.91
            last edited by Gabri.91

            For the "standard" CARP/Sync/HA I'd say it's plenty of guides on how to properly set it up. Regarding PPOE this post that I've already sent it's already really detailed (just missing screenshots, but it should be easy following the steps).

            I think we are missing an important information anyway: @NOTORIOUS_VR is it WAN link working with just one pfSense? First of all you need to make sure that it's working on a single machine so we can exclude Layer 2 (VLAN & switch) issues. Then please post some screenshot of interfaces, PPOE and VLAN configuration of the single pfSense so we can understand the configuration.
            It's not clear where VLAN 35 is involved too: how are the switch ports (ONT and pFSense) configured? I guess ONT one should be tagged on VLAN35, and pfSense one? Is it untagged VLAN35? Or tagged VLAN35 and you are tagging inside pfSense (is virtual or physical) as well?

            N 1 Reply Last reply Reply Quote 0
            • G
              Gabri.91 @NOTORIOUS_VR
              last edited by

              @NOTORIOUS_VR said in CARP with PPPoE that has VLAN requirement:

              I also have an issue with the backup unit losing the CARP/HA rule when it syncs, not sure what is causing that - lots of googling suggests it's an issue with different amounts of interfaces but the interfaces are the same number on both units.

              Regarding this, just to be sure, No XMLRPC Sync option on the rule is disabled?

              1 Reply Last reply Reply Quote 0
              • N
                NOTORIOUS_VR @Gabri.91
                last edited by

                @gabri-91 said in CARP with PPPoE that has VLAN requirement:

                For the "standard" CARP/Sync/HA I'd say it's plenty of guides on how to properly set it up. Regarding PPOE this post that I've already sent it's already really detailed (just missing screenshots, but it should be easy following the steps).

                I think we are missing an important information anyway: @NOTORIOUS_VR is it WAN link working with just one pfSense? First of all you need to make sure that it's working on a single machine so we can exclude Layer 2 (VLAN & switch) issues. Then please post some screenshot of interfaces, PPOE and VLAN configuration of the single pfSense so we can understand the configuration.
                It's not clear where VLAN 35 is involved too: how are the switch ports (ONT and pFSense) configured? I guess ONT one should be tagged on VLAN35, and pfSense one? Is it untagged VLAN35? Or tagged VLAN35 and you are tagging inside pfSense (is virtual or physical) as well?

                Hoping to revive this thread as I have a little bit of time to dedicate to this now.

                In any event I can confirm that I have both boxes connected to my PPPoE provider at the same time (without HA/CARP involved at all).

                Meaning both boxes have a public routable IP, both pfsense boxes initiate their own PPPoE sessions, etc.

                the WAN IF is tagged VLAN35 for the ISP on each PF box.

                I've just attempted to setup CARP/HA once again and completely lost my mind after one step the HA sync stopped working and I couldn't figure out why.

                I ended up restoring my backup and will need to regroup.

                Am I correct in thinking that I could make my LAN CARP address the current address of my primary box (.254) as long as I reassign the LAN IF from .254 to say .252? As so many services/devices/servers have .254 as the gateway

                V 1 Reply Last reply Reply Quote 0
                • V
                  viragomann @NOTORIOUS_VR
                  last edited by

                  @notorious_vr said in CARP with PPPoE that has VLAN requirement:

                  Am I correct in thinking that I could make my LAN CARP address the current address of my primary box (.254) as long as I reassign the LAN IF from .254 to say .252? As so many services/devices/servers have .254 as the gateway

                  Yes, that's no problem.

                  If you use the DHCP server ensure, that you set the gateway in the DHCP settings to the CARP VIP. Otherwise the LAN IP is provided to the clients.

                  N 1 Reply Last reply Reply Quote 0
                  • N
                    NOTORIOUS_VR @viragomann
                    last edited by

                    @viragomann said in CARP with PPPoE that has VLAN requirement:

                    @notorious_vr said in CARP with PPPoE that has VLAN requirement:

                    Am I correct in thinking that I could make my LAN CARP address the current address of my primary box (.254) as long as I reassign the LAN IF from .254 to say .252? As so many services/devices/servers have .254 as the gateway

                    Yes, that's no problem.

                    If you use the DHCP server ensure, that you set the gateway in the DHCP settings to the CARP VIP. Otherwise the LAN IP is provided to the clients.

                    That's what I figured thank you. I actually use AD for DHCP, DNS, etc.

                    In any event - I recently found a very good video on CARP - https://www.youtube.com/watch?v=Re7XffnJ6AQ - and he explained that all the interfaces between the boxes need to be identical even the order. This was not apparent and certainly not the case for my last attempt.

                    I've decided not to use the T610 Plus box now and am waiting on some USB network adapters to setup my micro PC as a 2nd esxi host, where I will again virtualize pfsense (like my main instance is) and then make sure everything is identical between the two before starting this again.

                    I certainly understand much more now how it's supposed to work thanks to the above video - I just hope my PPPoE situation works as @Gabri-91 put forth in that link above - I still don't get how putting a static WAN CARP IP will work when my ISP provides the IP but I guess I will find out!

                    1 Reply Last reply Reply Quote 0
                    • N
                      NOTORIOUS_VR
                      last edited by NOTORIOUS_VR

                      Well I was finally able to make this all work - but for one reason or another loading say webpages was really, really slow.

                      Not sure if it was a DNS issue or something else.

                      I've reverted back to a single firewall for now - if anyone has any suggestions on what to check on the slowness that would be great.

                      Otherwise I'm happy that I even got to work at all.

                      MrPeteM 1 Reply Last reply Reply Quote 0
                      • MrPeteM
                        MrPete @NOTORIOUS_VR
                        last edited by

                        @notorious_vr I've got IPv4 CARP/PPPoE/VLAN (201 -- CenturyLink) working nicely.

                        In fact, I'm doing it with two pfSense's running inside proxmox VM's.

                        And I just about max out my gigabit fiber up and down.

                        (I have my own issues, trying to get ipv6 working, but that's a separate issue ;) )

                        My suggestions for diagnosing speed issues: use tcpdump etc to capture traffic on the WAN interface and a selected LAN interface. You'll likely learn something.

                        N S 2 Replies Last reply Reply Quote 0
                        • N
                          NOTORIOUS_VR @MrPete
                          last edited by

                          @mrpete

                          Speed (as in throughput) wasn't an issue with CARP configured. I got 1500/1000 on my main box and 950/950 on my backup box (1GbE).

                          It was some sort of lag with bringing up the sites (like a DNS issue of some sort).

                          MrPeteM 1 Reply Last reply Reply Quote 0
                          • MrPeteM
                            MrPete @NOTORIOUS_VR
                            last edited by

                            @notorious_vr Could be you had DHCP handing out the wrong IP for DNS or gateway... so there was delay while various things failed.

                            Wireshark on the client computer would likely teach a lot for that.

                            N 1 Reply Last reply Reply Quote 0
                            • N
                              NOTORIOUS_VR @MrPete
                              last edited by

                              @mrpete said in CARP with PPPoE that has VLAN requirement:

                              @notorious_vr Could be you had DHCP handing out the wrong IP for DNS or gateway... so there was delay while various things failed.

                              Wireshark on the client computer would likely teach a lot for that.

                              No - DHCP was fine (and didn't change in my case).

                              MrPeteM 1 Reply Last reply Reply Quote 0
                              • MrPeteM
                                MrPete @NOTORIOUS_VR
                                last edited by

                                @notorious_vr Good.

                                In any case, my go-to tool for speed stuff is Wireshark (and tcpdump inside of pfSense, saved to a file to examine w/ Wireshark)

                                I can see:

                                • Packet timing
                                • All kinds of packet issues
                                • Smart analysis of entire streams
                                • Etc.
                                1 Reply Last reply Reply Quote 0
                                • S
                                  ss1gohan13 @MrPete
                                  last edited by

                                  @mrpete

                                  I also have a century link connection that runs on VLAN 201. I currently have the modem in bridge mode and have PFSense taking care of the log in.

                                  I am currently struggling with setting up the CARP properly on the boxes. Do you have a guide that I could follow?

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