IP Route Management

 Posted by at 11:27 pm  Linux, Linux Research  Comments Off on IP Route Management
Jul 312009
 

I was searching for something regarding IP Addresses, looking for a database of IP networks by country and stumbled on a nice page about “IP Route Management.”� I started looking at the manu pages on the ‘ip’ and ‘route’ command for unix and linux, and discovering the wealth of feature and possibilities. There is a file in /etc/iproute2 called ‘rt_tables’ that specifies the names of the routing tables.� In the narative, an example routing table is called special, and of course my righ had named that, but a quick cat of rt_tables revealed ‘local’, ‘main’, and ‘default’.� More interesting was the use of ‘ip route add’ and ‘ip route add prohibit ###.###.###.### from ###.###.###.###’ to block access to a particular host “from” a specific host.� I don’t have specific cause to need this at this tiime, but its agood read and I’d like to research some of the reasons why that might be done.� ‘ip route add nat’ is another item that is use full and deserved additional scrutiny.