[lug] Multihoming with Redhat

bdoctor at ps-ax.com bdoctor at ps-ax.com
Thu Jun 7 03:17:04 MDT 2001


What is the interface you are trying to use for this?  The "root", like
eth0, or eth1.  Also, can you post the config file?  And, after you have
created the file, run "ifup eth0:1" -- or whatever the new virtual device
you are working with is.

Do post the file though.

-brad

> I tried this, and got the following message when I
> tried to fire up the new interface:
> 
> SIOCSIFADDR: No such device
> SIOCSIFFLAGS: No such device
> SIOCSIFNETMASK: No such device
> SIOCSIFBRDADDR: No such device
> SIOCSIFFLAGS: No such device
> SIOCADDRT: No such device
> 
> Can someone tell me what to look for?
> 
> Thanks,
> Dhruva
> 
> --- bdoctor at ps-ax.com wrote:
> > 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
> > > 
> > 
> > _______________________________________________
> > Web Page:  http://lug.boulder.co.us
> > Mailing List:
> http://lists.lug.boulder.co.us/mailman/listinfo/lug
> 
> 
> __________________________________________________
> 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