Navigation

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

    Carp mac address

    HA/CARP/VIPs
    5
    9
    13925
    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.
    • H
      hawker last edited by

      Hi,

      I want to change the mac address of carp interface.

      i try to pass the ether option in the ifconfig line but I've got a error

      I must define a HW address for my carp interface because I have 2 firewall (4 host) using carp in the same network.

      sorry for my english

      1 Reply Last reply Reply Quote 0
      • H
        hoba last edited by

        You can't specify a MAC for a CARP IP. It's generated randomly on bootup, so it will change on each new reboot unless the same one is taken over from master-slave-master-slave-…(which means unless not both systems are down at the same time it will stay the same). Afaik a static MAC for a CARP IP is not possible. At least the webgui doesn't support it.

        1 Reply Last reply Reply Quote 0
        • H
          hawker last edited by

          MAC address are not random.

          I boot many time and i always have 00:00:5E:00:01:01 MAC address for the carp interface.

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

            You cannot change the MAC address of a carp interface.  Sorry!

            1 Reply Last reply Reply Quote 0
            • J
              Juve last edited by

              Scott and hoba, I noticed the same problem. Having two CARP cluster on the same network makes things difficult since each cluster gets the same MAC each time it bootup.

              Perhaps something is going wrong with the random generator at machine startup ?  The random generator seems to be ok since it delivers a random MAC but not well initialized, like if it doesn't start with a randomize function….

              1 Reply Last reply Reply Quote 0
              • B
                billm last edited by

                CARP mac addresses are generated with the first five octets being 00:00:5E:00:01 and the last octet being that of the CARP VHID.  If you want to change this, it's in the kernel, I wouldn't change it unless I knew what I was doing if I were you (it's set the way it is for good reason).

                –Bill

                pfSense core developer
                blog - http://www.ucsecurity.com/
                twitter - billmarquette

                1 Reply Last reply Reply Quote 0
                • J
                  Juve last edited by

                  CARP mac addresses are generated with the first five octets being 00:00:5E:00:01 and the last octet being that of the CARP VHID

                  So changing the VHID for the second cluster would permit to have the two clusters running on the same subnet ?

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

                    Yes.

                    1 Reply Last reply Reply Quote 0
                    • H
                      hawker last edited by

                      Yes i try, it's OK

                      Thanks

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post