Re: Routing information

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

 



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@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux