We have two physically separate edgeLinux/antMan servers deployed. Both have different IP addresses HOWEVER both have the same MAC address for the br0 interface. This is impacting our ability to access one or the other servers (it randomly changes as to which we are able to access via IP address) How do we fix this? Is there a solution or workaround? We can't have two MACs on the same network.
Two physical servers with same br0 interface MAC Address
MarioStaff
We are looking into this bug. For now we can add the mac in the 'net' file.
The brX MAC address should be the same as the MAC address of its associated physical interface.
First ssh to the edgeLinux machine and look at the 'net' file
nano /etc/conf.d/net
Here is an example. In this case 'eno1' is my first physical interface and is being used by 'br0'.
bridge_br0="eno1"
config_eno1="null"
config_br0="192.168.1.3 netmask 255.255.255.0"fallback_br0="null
apipa"rc_net_br0_need="net.eno1"
routes_br0="default via 192.168.1.1"
Then we can get the MAC address of 'eno1' with (substitute with the name given to your interface)
root@myantsle:~ # ifconfig eno1
eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::ae1f:6bff:fe00:3dd0 prefixlen 64 scopeid 0x20<link>
ether ac:1f:6b:00:3d:d0 txqueuelen 1000 (Ethernet)
Then add the MAC address to the 'net' file with 'mac_br0="ac:1f:6b:00:3d:d0"
bridge_br0="eno1"
config_eno1="null"
config_br0="192.168.1.3 netmask 255.255.255.0"
mac_br0="ac:1f:6b:00:3d:d0fallback_br0="null
apipa"rc_net_br0_need="net.eno1"
routes_br0="default via 192.168.1.1"
Reboot
Log in to reply. New here? It takes a minute.