Operating System - Linux
1833055 Members
2441 Online
110049 Solutions
New Discussion

Several bond interfaces or aliases?

 
Vitaly Karasik_1
Honored Contributor

Several bond interfaces or aliases?

I need assign several IP to the bonded network interface. AFAIK, it can be done in two ways - or by creating bondXX interfaces or by assigning bond0:XX aliases.
IMHO, the first method will add unnecessary load because redundant link monitoring in each bondXX. Am I right?
3 REPLIES 3
Van den Broeck Tijl
Valued Contributor

Re: Several bond interfaces or aliases?

It would indeed create unneccessary load (let alone it being supported by the NIC drivers and such).
The common method for multiple IP's has always been aliases. So you'd better go for that indeed.
Matti_Kurkela
Honored Contributor

Re: Several bond interfaces or aliases?

It seems to me a physical interface cannot be a member of more than one bond at the same time.

When you need one host to present several IP addresses to the same network segment, using aliases is the standard way to go.

Even if the TCP/IP networking model does not quite match the theoretical structure of the OSI layer model, the bonding happens on the lower protocol layer than IP: as far as it concerns the IP protocol, the bonded set of interfaces should be equivalent to a single interface.

MK
MK
Vitaly Karasik_1
Honored Contributor

Re: Several bond interfaces or aliases?

thank you for supporting my opinion :-)!

Probaly we were confused with Broadcom BASP bonding driver. It seems like they use swXX syntax instead of sw0:XX even in fact their swXX interfaces are aliases.