[WBEL-users] Persistent Routes

Simone simone72@email.it
Mon, 14 Jun 2004 10:22:09 +0200


--=====================_417489437==.ALT
Content-Type: text/plain; charset="iso-8859-1"; format=flowed
Content-Transfer-Encoding: quoted-printable

Hi, if you don't want or can not use the graphical tool, you can edit the=20
file /etc/sysconfig/network-scripts/route-eth0  in case you want to add a=20
route to eth0 interface.
to add a static route to the ip 192.168.200.5 through the gateway=20
192.168.100.1:

GATEWAY0=3D192.168.100.1
NETMASK0=3D255.255.255.255
ADDRESS0=3D192.168.200.5

to add a static route to the network 192.168.200.0/255.255.255.0 through=20
the gateway 192.168.100.1:

GATEWAY0=3D192.168.100.1
NETMASK0=3D255.255.255.0
ADDRESS0=3D192.168.200.0

to do both:
GATEWAY0=3D192.168.100.1
NETMASK0=3D255.255.255.255
ADDRESS0=3D192.168.200.5
GATEWAY1=3D192.168.100.1
NETMASK1=3D255.255.255.0
ADDRESS1=3D192.168.200.0

or at list it worked for me.

Have a nice day
Simone

At 20:51 11/06/2004, Jes=FAs Garc=EDa Gonz=E1lez wrote:
>Hello,
>
>   Is adding a route command line in /etc/rc.local the only way to make a=
=20
> route persistent through boots?
>
>Thanks,
>J.
>
>
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D
>*Aviso Legal:
>
>Esta informaci=F3n es propiedad exclusiva del Centro de Investigaciones del=
=20
>Petr=F3leo (Ceinpet) perteneciente a la Uni=F3n Cubapetr=F3leo (Cupet). La=
=20
>distribuci=F3n o copia de este mensaje est=E1 estrictamente prohibida para=
=20
>personas no autorizadas. Si usted recibe este mensaje por equivocaci=F3n,=
=20
>por favor b=F3rrelo y env=EDe un mensaje a seguridad@ceinpet.cupet.cu
>
>*Legal Warning:
>
>This information is exclusive property of the Petroleum Research Center=20
>(Ceinpet) which belongs to Cubapetr=F3leo Union (Cupet). The distribution=
 or=20
>copy of this message to non authorized personnel is strictly forbidden. If=
=20
>by any mistake you receive this message, please delete it and send a=20
>message to seguridad@ceinpet.cupet.cu

 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Amanti del digitale è arrivato il prodotto che aspettavate! Per ricevere i fax sul PC!
* Scoprite come cliccando qui
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=1567&d=14-6-bin/foclick.cgi?mid=1568&d=14-6
--=====================_417489437==.ALT
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<body>
Hi, if you don't want or can not use the graphical tool, you can edit the
file /etc/sysconfig/network-scripts/route-eth0&nbsp; in case you want to
add a route to eth0 interface. <br>
to add a static route to the ip 192.168.200.5 through the gateway
192.168.100.1:<br><br>
GATEWAY0=3D192.168.100.1<br>
NETMASK0=3D255.255.255.255<br>
ADDRESS0=3D192.168.200.5<br><br>
to add a static route to the network 192.168.200.0/255.255.255.0 through
the gateway 192.168.100.1:<br><br>
GATEWAY0=3D192.168.100.1<br>
NETMASK0=3D255.255.255.0<br>
ADDRESS0=3D192.168.200.0<br><br>
to do both:<br>
GATEWAY0=3D192.168.100.1<br>
NETMASK0=3D255.255.255.255<br>
ADDRESS0=3D192.168.200.5<br>
GATEWAY1=3D192.168.100.1<br>
NETMASK1=3D255.255.255.0<br>
ADDRESS1=3D192.168.200.0<br><br>
or at list it worked for me.<br><br>
Have a nice day<br>
Simone<br><br>
At 20:51 11/06/2004, Jes=FAs Garc=EDa Gonz=E1lez wrote:<br>
<blockquote type=3Dcite class=3Dcite cite=3D""><font face=3D"arial"=
 size=3D2>Hello,<br>
&nbsp;<br>
&nbsp; Is adding a route command </font><font face=3D"verdana" size=3D2>line
in /etc/rc.local the only way to make a route persistent through
boots?<br>
&nbsp;<br>
Thanks,<br>
J.<br>
</font><br><br>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D<br>
*Aviso Legal: <br><br>
Esta informaci=F3n es propiedad exclusiva del Centro de Investigaciones del
Petr=F3leo (Ceinpet) perteneciente a la Uni=F3n Cubapetr=F3leo (Cupet). La
distribuci=F3n o copia de este mensaje est=E1 estrictamente prohibida para
personas no autorizadas. Si usted recibe este mensaje por equivocaci=F3n,
por favor b=F3rrelo y env=EDe un mensaje a seguridad@ceinpet.cupet.cu
<br><br>
*Legal Warning: <br><br>
This information is exclusive property of the Petroleum Research Center
(Ceinpet) which belongs to Cubapetr=F3leo Union (Cupet). The distribution
or copy of this message to non authorized personnel is strictly
forbidden. If by any mistake you receive this message, please delete it
and send a message to seguridad@ceinpet.cupet.cu </blockquote><BR>
<br>
<br><p><font face=3D"Verdana,Arial" size=3D2>----<br>
Email.it, the professional e-mail, gratis per te:<a href=3Dhttp://www.email.it/cgi-bin/start?sid=3D3 target=3D_blank >clicca=
 qui</a><br>
<br>
Sponsor:<br>
Scopri la vetrina della settimana da Oliviero.it! Novit&agrave; ed offerte =
in anteprima scelte per te!<br>
<a href=3Dhttp://adv.email.it/cgi-bin/foclick.cgi?mid=3D2598&d=3D14-6  targ=
et=3D_blank >Clicca qui</a></font><br>

<BR></body>
</html>

--=====================_417489437==.ALT--