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

    CARP LAN both are master.

    Scheduled Pinned Locked Moved HA/CARP/VIPs
    33 Posts 6 Posters 16.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.
    • S
      sullrich
      last edited by

      Reinstall from a recent snapshot then, please.

      1 Reply Last reply Reply Quote 0
      • D
        dtran
        last edited by

        Do you mean you want me to physdiskwrite using the pfSense-Embedded-Update-1.2-RC3.tgz rather than the firmware load via the GUI ?

        1 Reply Last reply Reply Quote 0
        • S
          sullrich
          last edited by

          Yep.

          1 Reply Last reply Reply Quote 0
          • D
            dtran
            last edited by

            I'm sorry, I think i am missing something elementary here.
            physdiskwrite using the pfSense-Embedded-Update-1.2-RC3.tgz - cannot boot after that

            Using an older image, I can boot up just fine.

            I notice that, with the new imagem using physdiskwrite I get:

            Found compressed image file
            62023680/62023680 bytes written in total

            and using and older image, I get:
            Found compressed image file
            122441728/122441728 bytes written in total

            1 Reply Last reply Reply Quote 0
            • S
              sullrich
              last edited by

              http://snapshots.pfsense.com/FreeBSD6/RELENG_1_2/embedded/pfSense.img.gz .. That other file was an update file.. Sorry.

              1 Reply Last reply Reply Quote 0
              • D
                dtran
                last edited by

                Reinstalled from scratch using the suggested snapshot.
                Problem is still there. 
                2nd box is still showing lan-carp as master when captive portal is enabled.

                cat /etc/inc/captiveportal.inc | grep pfsync is not showing anything.

                note: reinstall done on both boxes..

                1 Reply Last reply Reply Quote 0
                • D
                  dtran
                  last edited by

                  Hi,
                  Any new development on this ? - Thanks

                  1 Reply Last reply Reply Quote 0
                  • S
                    sullrich
                    last edited by

                    Our snapshot system is busted currently.  There is an open ticket that I need to check into.

                    In the meantime, replace /etc/inc/captiveportal.inc with http://pfsense.com/cgi-bin/cvsweb.cgi/pfSense/etc/inc/captiveportal.inc?rev=1.58.2.42.2.6;content-type=text%2Fplain;only_with_tag=RELENG_1_2

                    1 Reply Last reply Reply Quote 0
                    • D
                      dtran
                      last edited by

                      I replaced the captiveportal.inc you provided on both boxes.

                      • cat /etc/inc/captiveportal.inc | grep pfsync is showing:
                        $cprules =  "add 500 set 1 allow pfsync from any to any\n";

                      • ipfw show is showing:
                        00500 1347 328072 allow pfsync from any to any
                        00500 2086 116816 allow carp from any to any
                        00500  11    608 allow ip from 128.97.205.2 to any out via rl2

                      scenario #1

                      • box#1 (captiveportal ON), box#2 (captiveportal OFF).
                        On box#1 - wan-carp and lan-carp are both master
                        On box#2 - wan-carp is backup and lan-carp is master

                      Before replacing the file, this showed "backup" for both carps.

                      Scenario #2

                      • box#1 (captiveportal ON), box#2 (captiveportal ON).
                        Same as above.
                      1 Reply Last reply Reply Quote 0
                      • S
                        sullrich
                        last edited by

                        Well I am at my wits end then.  This really should have fixed it.

                        1 Reply Last reply Reply Quote 0
                        • D
                          dtran
                          last edited by

                          I'm going to tear down everything and start from scratch all over again.
                          This time I will configure everything manually rather than upload the configuration.
                          I've encountered minor quirks before when uploading the config.  I will report back.
                          And thanks for your help.  I really appreciate it.

                          1 Reply Last reply Reply Quote 0
                          • M
                            morbus
                            last edited by

                            I had something like this with my cluster. (but not using CP I didn't think that worked with CARP has this been fixed?)

                            After running CARP for ages with no problems I decided to unplug the KVM from the slave to use on another machine. So I unplugged it and rebooted the slave and up it came all fine so went back to the WebGUI to check and after a few mins of fiddling the slave became master on the LAN on its own. So rebooted and same prob so I plugged the kvm back in and no problem.

                            It seemed to be having some issue sharing IRQs for the nics with no kvm attached. In the end I fiddled with the IRQ settings changing them from auto to fixed and it has been fine ever since.

                            I cant remember what the message was but it would pop up on the console

                            So might be worth a look

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