[lug] Multihoming with Redhat

bdoctor at ps-ax.com bdoctor at ps-ax.com
Thu Jun 7 03:01:05 MDT 2001


In terms of setting up the interface(s), you should look in 
/etc/sysconfig/network-scripts

In there you find files like ifcfg-eth0, ifcfg-lo, etc.  To use the same
interface with multiple IP addresses, copy the ifcfg-eth0 file to ifcfg-eth0:1.
Then, edit the device entry and change that to eth0:1, and the rest should
be obvious.  The device entry is critical, however.

If you need multiple static routes, create the file 
/etc/sysconfig/network/static-routes

Some samples for the static-routes:

eth0 net 192.168.0.0 netmask 255.255.255.0 gw eth0
eth0 net 192.168.1.0 netmask 255.255.255.0 gw eth0
eth0:1 net 207.2.3.4 netmask 255.255.255.248 gw eth0:1

-brad


> We have a machine with one physical network adapter
> that we would like to use for multihoming (2 IP
> addresses).
> 
> I can't seem to figure out how to do this on Redhat
> 6.2, nor can I find any information on how to do this.
>  If anyone could point me in the right direction, that
> would be much appreciated.
> 
> Thanks,
> Dhruva
> 
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail - only $35 
> a year!  http://personal.mail.yahoo.com/
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> 




More information about the LUG mailing list