Re: Cluster: understanding virtual IP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxx

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux