Re: static routes after reboot

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

 





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?
Thanks in advance,

/etc/sysconfig/static-routes


Easy enough to find out using grep.


# grep static /etc/init.d/network


# Add non interface-specific static-routes.
if [ -f /etc/sysconfig/static-routes ]; then
grep "^any" /etc/sysconfig/static-routes | while read ignore args ; do




Ben Halicki
Information Technology Officer
Macquarie Textiles Group Ltd
Phone: 02 6043 0235
Fax: 02 60411 321
E-mail ben.halicki@xxxxxxxxxxxxxxxxxxxxxxxx <mailto:ben.halicki@xxxxxxxxxxxxxxxxxxxxxxxx>





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

  Powered by Linux