Re: static routes after reboot

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

 



On Wed, 2004-03-31 at 21:47, Ben Halicki wrote:
> Hi all,
>  
> I used to be able to add static routes to /etc/sysconfig/static_routes
> in redhat 7,8 but fedora seems to ignore this file.  Does anyone know
> how to maintain static routes after a reboot?
>  


Create the file  /etc/sysconfig/network-scripts/routes-ethx
where ethx is your interface

with format like so

ip or network       gateway

12.12.12.0/24 via 192.168.0.1
14.14.14.0/24 via 192.168.2.1

Using full class C address for the example



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

  Powered by Linux