Simple MLAG will not come up


Userlevel 2
So I am have two AS4610-54Ts connected as follows:
swp45 <--> swp45
swp46 <--> swp46

Simple MLAG configuration test between the two, and while the configs appear to be in-line with all the documentation I have read, running 'clagctl' shows that the link is not alive. Please help!
lldpctl show neighbors correctly ID's the adjacent switch ports and IP addresses.

SW1 ( /etc/network/interfaces):

auto eth0
iface eth0 inet dhcp
(verified that the DHCP IP is 192.168.150.32)

auto peerlink
iface peerlink
bond-slaves swp45 swp46

auto peerlink.4094
iface peerlink.4094
address 169.254.1.2/30
clagd-priority 4096
clagd-peer-ip 169.254.1.1
clagd-backup-ip 192.168.150.34
clagd-sys-mac 44:39:39:ff:40:94

auto br0
iface br0
bridge-ports peerlink

SW2:
auto eth0
iface eth0 inet dhcp

auto peerlink
iface peerlink
bond-slaves swp45 swp46

auto peerlink.4094
iface peerlink.4094
address 169.254.1.2/30
clagd-priority 8192
clagd-peer-ip 169.254.1.1
clagd-backup-ip 192.168.150.32
clagd-sys-mac 44:39:39:ff:40:94

auto br0
iface br0
bridge-ports peerlink

On both switches the physical and logical interfaces (peerlink, peerlink.4094, br0) all showing UP/UP. What am I missing here?

2 replies

Userlevel 3
Troy,

You need to assign the two peerlink.4094 interfaces unique IP addresses. What you showed has both of the interfaces with: address 169.254.1.2/30. Instead, assign one "address 169.254.1.2/30" and the other "address 169.254.1.1/30". Also then you'll need to adjust the clad-peer-ip so that it specifies the IP address of the OTHER peer's IP address. Something like this:

SW1 ( /etc/network/interfaces):

auto eth0
iface eth0 inet dhcp

auto peerlink
iface peerlink
bond-slaves swp45 swp46

auto peerlink.4094
iface peerlink.4094
address 169.254.1.1/30
clagd-priority 4096
clagd-peer-ip 169.254.1.2
clagd-backup-ip 192.168.150.34
clagd-sys-mac 44:39:39:ff:40:94

auto br0
iface br0
bridge-ports peerlink

SW2:
auto eth0
iface eth0 inet dhcp

auto peerlink
iface peerlink
bond-slaves swp45 swp46

auto peerlink.4094
iface peerlink.4094
address 169.254.1.2/30
clagd-priority 8192
clagd-peer-ip 169.254.1.1
clagd-backup-ip 192.168.150.32
clagd-sys-mac 44:39:39:ff:40:94

auto br0
iface br0
bridge-ports peerlink
Also, a good place to look for errors when using MLAG is the /var/log/clagd.log file.
Userlevel 2
oh geez! You know, just when you think you have checked all the i's and t's....Thanks! its always something so simple, isn't it? Its working now, thank you!

Reply