Unix administration - How to add a route on Linux

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > November 2005 > How to add a route on Linux





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How to add a route on Linux
jingchenzhou@yahoo.com

2005-11-01, 6:11 pm

How can I add a route on a RHEL3 Linux machine:
for example, I like to route to host CDIOC1 (134.79.185.200) via
RTR-SLCCP2 (172.19.55.6)?

I am doing right in the following:

On command line:
route add -host 134.79.185.200 gw 172.19.55.6 dev eth0

To activate at reboot:
Create a file /etc/sysconfig/static-routes that contains one line in
the form
eth0 host 134.79.185.200 gw 172.19.55.6 eth0

Thanks,
Jingchen

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com