Robert Arkiletian
2010-Sep-05 17:33 UTC
[CentOS] ip aliasing on bonded interface possible?
Has anyone successfully created a bonded interface (bond0) with say two nics AND also then aliased that interface to get bond0 and bond0:1 (for an alias ip) I just want to know if it's possible and reliable Thanks -- Robert Arkiletian Eric Hamber Secondary, Vancouver, Canada
Robert Arkiletian
2010-Sep-05 17:35 UTC
[CentOS] ip aliasing on bonded interface possible?
On Sun, Sep 5, 2010 at 10:33 AM, Robert Arkiletian <robark at gmail.com> wrote:> Has anyone successfully created a bonded interface (bond0) with say > two nics AND also then aliased that interface to get bond0 and bond0:1 > (for an alias ip) > > I just want to know if it's possible and reliable > > Thanks >Oh I forgot to mention I would be using link aggregation mode 4, 802.3ad bonding. -- Robert Arkiletian Eric Hamber Secondary, Vancouver, Canada
On 05/09/2010 18:33, Robert Arkiletian wrote:> Has anyone successfully created a bonded interface (bond0) with say > two nics AND also then aliased that interface to get bond0 and bond0:1 > (for an alias ip) > > I just want to know if it's possible and reliable >Possible and seems to be quite stable. Heartbeat does exactly this for the shared IP and we haven't had any problems whatsoever since we set it up.> Thanks >
On Sun, 5 Sep 2010, Robert Arkiletian wrote:> Has anyone successfully created a bonded interface (bond0) with say > two nics AND also then aliased that interface to get bond0 and bond0:1 > (for an alias ip) > > I just want to know if it's possible and reliableYes to both. I have been doing this for about four years now on various versions of CentOS. The one thing you need to watch out for is the same as when not using aliases - that eth0 (etc) always comes up as eth0, and doesn't get renumbered. Solve this with HWADDR lines in ifcfg-eth0 (etc). Otherwise it is solid. Steve