[Ilugc] configure the virtual IP

  • From: sbharathi@xxxxxxxxxxxxx (Bharathi Subramanian)
  • Date: Wed Jan 13 11:24:36 2010

On 9:04am, Mohan Sundaram wrote:

I'd like to know use cases where one needs an address without the
secondary prefix on the device.

Redundancy. Bcoz I learned this only when I was playing with VRRP.
 
Seems to me that ifconfig does not show this address as it does not
have a label. Not sure though.

This addresses are very similar to alias and ifconfig will show this
IP addresses once a label added to it.

# ip address add dev eth0 192.168.10.1/24 broadcast + label eth0:one

Bye :)
-- 
Bharathi S

Other related posts: