adding a statis route (point to point)

From: Rich Glazier (RichGlazier@netscape.net)
Date: Tue Sep 30 2003 - 15:26:48 EDT


I have 2 DS20s each with a single NIC set up on the primary network. it is a 10.1 netowrk with a 255.255.0.0 netmask.

i have added a second NIC (ee1) in each machine. they are to talk to eachother only through these interfaces. i have assigned an IP and netmask to those cards that is totally different than our primary network. it is a 172.12 address with a 255.255.255.0 (class c) subnet.

gated and routed are not running on either machine.

question: how can i ensure that one node's traffic destined for the other node goes via the second nic? can i do a route add or add an entry in the routes file and restart networking?

example: Host As second NIC is 172.12.0.1
          Host Bs second NIC is 172.12.0.2

          I want everythng on Host A destined to 172.12.0.2, to go through host As second NIC (172.12.0.1). can i "route add -host 172.12.0.2 172.12.0.1 -dev ee1", even though 172.12.0.1 isn't a gateway, but the end of the line?

TIA

__________________________________________________________________
McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial today!
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397

Get AOL Instant Messenger 5.1 free of charge. Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:37 EDT