So just as a bit of context, this is for a VM running that does call processing. So I was looking at the route table on the VM, and noticed that it has this:
12.12.12.64/28 dev bond15 proto kernel scope link src 12.12.12.12
12.12.12.64/28 dev bond19 proto kernel scope link src 12.12.12.12
12.12.12.64/28 dev bond11 proto kernel scope link src 12.12.12.12
12.12.12.64/28 dev bond8 proto kernel scope link src 12.12.12.12
So my question is, does this make sense? I didn't add them to the routing table on my own these were set when the IP's were configured. But my question is, how does this work then? If a packet destined to anything on 12.12.12.64/28 comes in it's always going to go to the bond15 interface correct? Wouldn't this completely negate the bond19 and bond11 interfaces?
Now that being said, I also did an ifconfig of the VM, and noticed that all of these BOND interfaces, have the same IP:
bond8: flags=209<UP,POINTOPOINT,RUNNING,NOARP> mtu 1472
inet 12.12.12.12 netmask 255.255.255.240 destination 12.12.12.12
bond11: flags=209<UP,POINTOPOINT,RUNNING,NOARP> mtu 1472
inet 12.12.12.12 netmask 255.255.255.240 destination 12.12.12.12
bond15: flags=209<UP,POINTOPOINT,RUNNING,NOARP> mtu 1472
inet 12.12.12.12 netmask 255.255.255.240 destination 12.12.12.12
bond19: flags=209<UP,POINTOPOINT,RUNNING,NOARP> mtu 1472
inet 12.12.12.12 netmask 255.255.255.240 destination 12.12.12.12
So given these two pieces of information, I'm curious as to how to pull this all together. Does this mean that all of these BOND's are just using the same interface? If so why does there need to be multiple lines in the route table? and why not just have one single entry in the ifconfig that consolidates all 4 Bonds into one? So there's just one Bond0 for 12.12.12.12 and on ipconfig entry for Bond0 for 12.12.12.12 ?
The way it reads to me is that according to the route table, it any packet destined for this subnet will only go to Bond15 because it appears first in the route list?
Thanks all..