Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Routing information

From: Barry Brimer <lists(at)brimer.org>
Date: Thu Oct 18 2007 - 10:14:04 EDT


> Is routing information in linux is stored in any file?
> Your reply will be appreciated.

The kernel stores this information in /proc/net/route although it is in hexadecimal.

If you just want to list the routing table you can use 'route' for the routing table with name resolution or 'route -n' for the routing table without resolution.

If you are referring to static routes, that depends on which version of RHEL you are using. Back in the old days, static routes were stored in /etc/sysconfig/static-routes or
/etc/sysconfig/network-scripts/static-routes and now I believe they are stored on an interface by interface basis in
/etc/sysconfig/network-scripts/route-<interface>.

Barry

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
Received on Thu Oct 18 10:14:31 2007

This archive was generated by hypermail 2.1.8 : Fri May 30 2008 - 14:21:37 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library