Question on Network Routing

From: Koonz, Jay (jKoonz@USCO.com)
Date: Mon Jun 09 2003 - 14:29:01 EDT


I have a Solaris-8 server with it's primary interface on 63.82.26.10 and I
want most traffic to use the router on 63.82.26.1
but I want to add a route for 172.31.37 using another router 63.82.26.200.
Here's my current "netstat -rn"
 Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
172.31.34.0 172.31.34.10 U 1 0 qfe0
63.0.0.0 63.82.26.10 U 1 8 hme0
224.0.0.0 63.82.26.10 U 1 0 hme0
default 63.82.26.1 UG 1 6
127.0.0.1 127.0.0.1 UH 3 56 lo0

I do a "route add 172.31.37.0 63.82.26.200"

 Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
172.31.37.0 63.82.26.200 UGH 1 0
172.31.34.0 172.31.34.10 U 1 0 qfe0
63.0.0.0 63.82.26.10 U 1 8 hme0
224.0.0.0 63.82.26.10 U 1 0 hme0
default 63.82.26.1 UG 1 8
127.0.0.1 127.0.0.1 UH 3 56 lo0

But when I try to "ping 172.31.37.xx", it uses the 63.82.26.10 gateway.
How can I change my routes, so the 172.31.37 traffic (and only that traffic)
uses 63.82.26.200. And the rest uses 63.82.26.1

Jay Koonz
Sr. Systems Engineer
USCO Logistics
Member, Kuehne & Nagel Group
22 Spencer Street
Naugatuck, CT 06770
Ph +1 203 597-5317
mailto:jkoonz@usco.com
_______________________________________________
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:26:33 EDT