Re: How To setup a static route without X?

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

 



----- Original Message ----- 
From: "Chris Funderburg" <Chris@Funderburg.com>

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


The /etc/sysconfig/network-scripts/ifup-routes script use
    /etc/sysconfig/networking/devices/$1.route.

The /etc/sysconfig/network-scripts/route-$1 is the
old style format, like the script say:

...

# Older format
while read line; do
    /sbin/ip route add $line
done < "/etc/sysconfig/network-scripts/route-$1"

???????????

Which is the exact file to use?

Thanks

Dario Lesca



-- 
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