[Q] how to set virtual IP on AS 4

Ray Van Dolson rvandolson at esri.com
Wed Feb 14 17:14:23 UTC 2007


On Wed, Feb 14, 2007 at 12:09:36PM -0500, nilesh vaghela wrote:
> I do not think it is very special.
> 
> ifconfig eth0:1 ipaddr
> 
> 
> On 2/14/07, mcclnx mcc <mcclnx at yahoo.com.tw> wrote:
> >
> >Does anyone know how to add virtual IP to Redhat AS 4?
> >
> >Thanks.
> >

Also, in order to make it "stick around" on reboot you probably want to create
an ifcfg-eth0:1 file in /etc/sysconfig/network-scripts.

Generally just copy the existing ifcfgh-eth0 to ifcfg-eth0:1, edit it (be sure
to adjust the DEVICE line to reflect eth0:1!), enter in the information you
want and you're done.  You can test by rebooting or restarting your network
services or running the ifup script manually.

Ray




More information about the redhat-list mailing list