Networking Forums

Networking Forums > Computer Networking > Linux Networking > config file for route

Reply
Thread Tools Display Modes

config file for route

 
 
tibo
Guest
Posts: n/a

 
      07-16-2004, 07:37 AM
Hello.

Does anyone knows if there are config files where routes are stored and
enabled at start ?

Thanks for your answer !


 
Reply With Quote
 
 
 
 
Michael Heiming
Guest
Posts: n/a

 
      07-16-2004, 07:41 AM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message

[ Followup-To comp.os.linux.networking ]

In comp.os.linux.networking tibo <(E-Mail Removed)> suggested:
> Hello.


> Does anyone knows if there are config files where routes are stored and
> enabled at start ?


Depends on your distro, check the docs of yours, it should be
mentioned in the networking documentation.

--
Michael Heiming (GPG-Key ID: 0xEDD27B94)
mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFA94a5AkPEju3Se5QRAgRfAJ0e9PTezSwnzYh/ISXCkWN0Hp17AwCfWT8K
SyXMzqhh6veI24gM5z1aJ3Y=
=UREs
-----END PGP SIGNATURE-----
 
Reply With Quote
 
Abdullah Ramazanoglu
Guest
Posts: n/a

 
      07-16-2004, 04:24 PM
Fri, 16 Jul 2004 09:37:29 +0200 tarihinde, tibo dedi ki:

> Hello.
>
> Does anyone knows if there are config files where routes are stored and
> enabled at start ?
>
> Thanks for your answer !


Interfaces and routes are usually brought up in the startup init scripts
(/etc/rc* and /etc/init.d). Typically the script scans some config
files in /etc hierarchy and then brings up the interface according to the
settings. Both init scripts and the place and name of config files may
change from a distro to another. For rpm based distros they are typically
stored in /etc/sysconfig/network and /etc/sysconfig/network-interfaces/*
and in deb based distros they are in /etc/network/*

An alternative is issuing "grep -r ifconfig /etc/rc* /etc/init.d" and grep
-r ifup /etc/rc* /etc/init.d" and looking into the init scripts revealed.
Directly or indirectly, they should lead you to the actual config files
used. This method requires more toil, but it works regardless of the
distro at hand, and it could be quite an enlightening experience.

--
Abdullah | aramazan@ |
Ramazanoglu | myrealbox |
________________| D O T cöm |

 
Reply With Quote
 
Abdullah Ramazanoglu
Guest
Posts: n/a

 
      07-16-2004, 04:41 PM
Fri, 16 Jul 2004 19:24:27 +0300 tarihinde, Abdullah Ramazanoglu dedi ki:

> change from a distro to another. For rpm based distros they are typically
> stored in /etc/sysconfig/network and /etc/sysconfig/network-interfaces/*


Oops, that should be /etc/sysconfig/network-scripts/*

--
Abdullah | aramazan@ |
Ramazanoglu | myrealbox |
________________| D O T cöm |

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
config. file to add a static route to on RHEL / CentOS. Rahul Linux Networking 7 10-07-2010 07:37 PM
Static Route to Access Modem Config? BigAl.NZ@gmail.com Windows Networking 6 07-19-2008 11:14 PM
Static Route to Access Modem Config? BigAl.NZ@gmail.com Wireless Internet 6 07-19-2008 11:14 PM
How Do I Config Static Route Permanent On Fedora mpanlop Linux Networking 3 04-15-2004 03:03 PM
What route does a DL'ed file take? Oliver Haslam Home Networking 6 10-06-2003 01:19 AM



1 2 3 4 5 6 7 8 9 10 11