route add

From: Xin theGreat (xinthegreat@yahoo.com)
Date: Fri Sep 09 2005 - 15:44:34 EDT


All,

I have a question about route add. On our box, we have 4 NIC cards. And somehow, when I ping the second interface, all the packets instead of coming out from the second interface, they all come out from the first interface.

>From the `netstat -rn` I see there is a "Use" flag and is pointing at the first interface. Is there a way to force all incoming packets to go out at/on the same incoming interface? I think a simple route add would do. But still couldn't figure it out how to do this.

Please help.

Thanks!!

--xin

bash-2.05# netstat -rn

Routing Table: IPv4
  Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
10.240.127.128 10.240.127.132 U 1 1 bge0
10.240.127.128 10.240.127.133 U 1 0 bge1
10.240.127.128 10.240.127.134 U 1 0 bge2
10.240.127.128 10.240.127.135 U 1 0 bge3
default 10.240.127.129 UG 1 44
127.0.0.1 127.0.0.1 UH 1 0 lo0
bash-2.05# w

M9-_-M9
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:31:37 EDT