MAC spoofing is a key part of setting up an effective Failover, also called a High Availability (HA) pair of Smoothwall On-Premise Appliances.
Understand the role of MAC addresses
Every device has a unique Media Access Control (MAC) address, which identifies the physical hardware. When a device joins a network, the network gives the device an IP address, which tells the network where to send traffic.
Network switches use the Address Resolution Protocol (ARP) to map IP addresses to MAC addresses. The ARP cache tells the switch where (which physical port) to send packets destined for each IP address.
Each interface on a Smoothwall On-Premise Appliance has both a MAC and an IP address. You can see these from Network > Configuration > Interfaces.
How MAC Spoofing prevents service disruptions
If the Main Appliance fails, the Failover Appliance comes up and issues a Gratuitous ARP broadcast to inform all connected services of the new MAC address associated with the IP address that the Main Appliance previously used. This means traffic is sent to and through the Failover Appliance, ensuring service continues.
If services don’t receive or recognise the broadcast, ARP poisoning can occur. Traffic continues to be sent to the Main Appliance instead of the Failover, causing service issues.
MAC spoofing prevents this problem.
Instead of broadcasting its own MAC address, the Failover Appliance broadcasts and assumes the Main Appliance’s MAC address. This allows services to continue using their ARP cache without needing to update it.
Set up MAC Spoofing for Failover setups
Go to Network > Configuration > Interfaces.
Edit each interface, except the Heartbeat interface. Copy the interface’s MAC address and enter it in the MAC Spoofing box.
Important
Don’t set up MAC Spoofing on Bonding, VLAN or Bridge interfaces, or on the Heartbeat interface.