Everyone who's been there know that if a link does not go down on one of the laggports it is not considered down and will not fail over. So for example of a switch loses its configuration, or vlans, FreeBSD won't fail over to the other port. This is exactly what happened to me and I was wondering how to prevent this in the future? My first instinct was to write a heartbeat script, but then I ran into a wall when I couldn't figure out how to ping out from a specific interface.
ping -I doesn't work as I expect it to. None of the physical laggports have any IP address, only the lagg0 interface has the IP. So what are good heartbeat of keepalive solutions for these unexpected situations?
Both laggports are connected to physical switches with IP addresses, I could for example get the Cisco configuration from them, ping their IP or try to log into them over ssh. Or just open a connection to their ssh port with netcat.
ping -I doesn't work as I expect it to. None of the physical laggports have any IP address, only the lagg0 interface has the IP. So what are good heartbeat of keepalive solutions for these unexpected situations?
Both laggports are connected to physical switches with IP addresses, I could for example get the Cisco configuration from them, ping their IP or try to log into them over ssh. Or just open a connection to their ssh port with netcat.