Changin default dev route on the fly

From: Tru64 User (tru64user@yahoo.com)
Date: Mon Mar 10 2003 - 16:29:58 EST


Hi ALL,

I have a node with DUAL NICs, same LAN.

say:: NICONE(tu0, 10Mbps) and NICONE-NFS(tu1, 100Mbps)

I have to assign NICONE IP address to a new machine,
and leave this host accessible thru NICONE-NFS.

Current default route device is tu0. Should this be
doable thru route command?
I tried couple combinations of "route change" in vain.

Problem is that as it is, when i unplug cable for tu0,
tu1 looses connection to the outside as well!! so I am
thinking it is because of the default route going thru
tu0. Adding another route to the net thru device tu1
adds the route, but still does not resolve the
problem.

"route add -net OUR_LAN_NET_IP -dev NICONE-NFS"
....didn't help.

_thanks

=====

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/



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