Re: How to save route commands

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

 



very cool, but I couldn't add default gateway to this:

etc/sysconfig/network-scripts/route-<interface-name>

  Contains lines that are arguments to "/sbin/ip route add"
  For example:
  
  192.168.2.0/24 dev ppp0
  
  adds a network route to the 192.168.2.0 network through ppp0.

maybe it is, but how could I do?

Thanks for your input,

Zhou Zhen

On 6/16/05, Steffen Kluge <kluge@xxxxxxxxxxxxxx> wrote:
> On Thu, 2005-06-16 at 12:51 +0800, Zhen Zhou wrote:
> > just like route save .... to /etc/....somewhere, then next time the
> > machine boots up the route settings get loaded from it. because now
> > every time I need to setup route settings again and again, whether I
> > manage to use "service network restart"in the normal operation, or the
> > machine reboot.
> 
> This is explained in /usr/share/doc/initscripts-*/sysconfig.txt
> 
> Cheers
> Steffen.
>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux