--- You shouldn't need to *add* a route, as one should already be there from the interface configuration. You'll find an entry like: 172.12.0.0 255.255.255.0 1 ee1 Which will direct all traffic destined for a 172.12.0.x host to the appropriate interface. HTH. Regards, Martin Burton --- You can, but you should not have to. As soon as you up the interface with the netmask of 255.255.255.0, everything in that subnet should automagically route through that interface. You should be able to see this with the results of the command "netstat -rn". Regards, Mandell Degerness --- I believe it should just be "route add -host 172.12.0.2 -dev ee1", but i don't believe that should be necessary. However, if you want traffic destined for 10.1.0.2 to go through 172.12.0.2 (assuming they're the 2 interfaces on the same box) then you would need something like: route add -host 10.1.0.2 172.12.0.2 -dev ee1 that should solve your problems. -Charlie RichGlazier_at_netscape.net (Rich Glazier) wrote: >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 > __________________________________________________________________ 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=380455Received on Thu Oct 02 2003 - 18:56:40 NZST
This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:44 NZDT