Re: How To setup a static route without X?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tony Nugent wrote:

> On Wed Nov 06 2002 at 13:37, "Dario Lesca" wrote:
>
>
> >Hi, in which file they can be insert the static routes for a
> >interface?
> >
> >The file /etc/sysconfig/static-routes seem not work.
>
>
> That is exactly the place to put them.
>
> Check /usr/share/doc/initscripts-*/sysconfig.txt and
> /etc/sysconfig/network-scripts/ifup-routes for the exact format.
>
>
> >Many Thanks
>
>
> >Dario Lesca (d.lesca@ivrea.osra.it)
>
>
> Cheers
> Tony
>
>
>
Are you sure?

That didn't work for me.  When I used the X tool it setup:

/etc/sysconfig/network-scripts/route-eth0  and
/etc/sysconfig/network-scripts/route-eth1

Which have entries like this:

192.168.161.0/24 via 10.54.2.254
10.64.1.0/24 via 10.54.2.254
10.66.1.0/24 via 10.54.2.252
10.66.2.0/24 via 10.54.2.252

That seems to work.

Looking at the networking scripts it seems that the old
/etc/sysconfig/static-routes script is now only used for aliases
and IP6...




-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux