[CentOS] Cluster: understanding virtual IP
John R Pierce
pierce at hogranch.com
Sun Jul 13 16:06:47 UTC 2008
Filipe Brandenburger wrote:
> On Sun, Jul 13, 2008 at 10:56 AM, Dirk H. Schulz
> <dirk.schulz at kinzesberg.de> wrote:
>> Okay, I found that ifconfig does not show the virtual IP address
> Are you sure?
> These are interface aliases, they should show up as a "different"
> interface such as eth0:0 or eth0:1. If you run "ifconfig" without any
> parameters, doesn't it show up?
with the IP stack in Linux as of kernel 2.4.something, and the 'ip'
command, virtual addresses no longer need be associated with virtual
interfaces like eth0:1, instead you can `ip addr add eth0 a.b.c.d`
the ifconfig command, written back in the stone ages, is blissfully
unaware of this. it really should be deprecated in favor of `ip addr`
More information about the CentOS