[PLUG] route-ethX format ( Redhat-ian distributions )

Charles Sliger chaz at bctonline.com
Fri Sep 22 18:18:03 UTC 2006


> -----Original Message-----
> From: plug-bounces at lists.pdxlinux.org [mailto:plug-
> bounces at lists.pdxlinux.org] On Behalf Of Roderick A. Anderson
> Sent: Friday, September 22, 2006 10:13 AM
> To: General Linux/UNIX discussion and help; civil and on-topic
> Subject: Re: [PLUG] route-ethX format ( Redhat-ian distributions )
> 
> Doug Davis wrote:
> >>Can anyone provide a example of how to route all traffic for the
> >>192.168.0.0 network through eth2?  I'm pretty sure I can sort out the
> >>other two from.  :-)
> >>
> >>
> >
> > Add the following to /etc/sysconfig/network-scripts/route-eth2
> >
> > GATEWAY0=10.10.0.1 #IP for your eth2 gateway
> > NETMASK0=255.255.255.0 # netmask for your 192.168.0.0 network
> > ADDRESS0=192.168.0.0
> >
> > # These are arrays, so the second set is 1, thrid set is 2, etc.
> > GATEWAY1=10.10.0.1
> > NETMASK1=255.255.0.0
> > ADDRESS1=10.0.0.0
> 
> Thanks Doug.  This is very clear.
> 
> 
> Rod
> --
> >
> > Then you need to restart your network by doing a service network
> restart.
> >
> >
> > Hope that helps.
> >
> > Doug Davis

 [chaz> ] I don't see this file on the new CentOS 4.4 system I just built.
	Can you point me to where this mechanism is documented?

Charles L. Sliger,  Information Systems Engineer,  chaz at bctonline.com
"No matter where you go, there you are..."





More information about the PLUG mailing list