Oh, multiple default destinations - that would be very cool!
Right now I am using netlink to manage FDB entries, last time I tried iproute2 utility worked too...
The only tricky thing about doing it with netlink is that the FDB uses the same API as the ARP table. Specifically RRTM_NEWNEIGH/RTM_DELNEIGH/RTM_GETNEIGH, apart from that it's pretty simple though.
Right now I am using netlink to manage FDB entries, last time I tried iproute2 utility worked too...
The only tricky thing about doing it with netlink is that the FDB uses the same API as the ARP table. Specifically RRTM_NEWNEIGH/RTM_DELNEIGH/RTM_GETNEIGH, apart from that it's pretty simple though.