[Linux-HA] ip ressource with alias instead of secondary address
Michael Alger
linux-ha at mm.quex.org
Thu Jul 17 00:32:26 MDT 2008
On Thu, Jul 17, 2008 at 06:49:40AM +0200, Dirk H. Schulz wrote:
> I have setup a simple cluster that only switches a virtual IP
> adress. That works fine, but the address is added to the real
> interface as secondary address (like "ip add" would do).
>
> What I need is an interface alias with it's own address (like
> eth0:0) because of the routing protocol I use at the gateway
> cluster.
>
> Is this still possible with Linux HA (years ago it seems to have
> been done that way anyway)? And if yes, where would I have to
> configure that?
Are you using IPaddr2 to manage your IP address? If so, then just
change it to IPaddr. The only real difference I saw when looking at
the documentation is that IPaddr2 doesn't have a limit to the number
of addresses it can configure on an interface, while IPaddr is
limited to around 100.
Since I'll be using at most 2 and I like being able to see the
address in the interface list, I've been using IPaddr without
problems for a while now. This agent creates an alias (like eth0:0)
for the new address.
http://www.linux-ha.org/HeartbeatResourceAgent/IPaddr
http://www.linux-ha.org/HeartbeatResourceAgent/IPaddr2
More information about the Linux-HA
mailing list