[CentOS] Cluster: understanding virtual IP
Les Mikesell
lesmikesell at gmail.com
Sun Jul 13 18:18:07 UTC 2008
John R Pierce 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`
Where is the best documentation on how the ip capabilities map to the
files in /etc/sysconfig/network-scripts? Do you have to use the eth0:n
syntax there? Also, isn't there some way to describe up vlan trunks and
subinterfaces there?
--
Les Mikesell
lesmikesell at gmail.com
More information about the CentOS
mailing list