I've got two Ubuntu-Servers, each of them with two Ethernet cards. I'm trying to switch from one to the other for high availability purposes. Unfortunately, when querying arp I always get the MAC address of the first card (eth0) and not the one of the second card (eth1) whose IP-address has been dynamically assigned. What can I do?
Example:
Server 1:
Eth0
- MAC: 00:11:11:11:11:11
- IP: 192.168.0.1
Eth1
- MAC: 02:33:33:33:33:33
- IP: 192.168.0.3
Server 2:
Eth0
- MAC: 00:22:22:22:22:22
- IP: 192.168.0.2
Eth1
- down (goes up with MAC and IP from server1 eth1 when server1 goes down)
When I execute the arp -a 192.168.0.3 command from a Windows machine, the result is 00:11:11:11:11:11 (eth0) and not 02:33:33:33:33:33 (eth1)