From: Koonz, Jay (jKoonz@USCO.com)
Date: Wed Jun 11 2003 - 10:54:15 EDT
A whole bunch of people quickly pointed out my problem.
I had added the route for a Host (not the H under "flags", and not for a
complete subnet.
The correct statement would have been "route add net 172.31.37.0
63.82.26.200"
Thanks to: Chang, Johnny Graham, Chad
Williams, Shawn Derek Olsen
Stephen Nesman Darren
Dunham
Jon Godfrey Shaw, Matthew
Karyn Williams Hans
Jacobsen
Aaron M. Hirsch Peters,
Michael D.
Florendo, Jay Jay Marcos Assis Silva
Crist Clark Hichael Morton
Alexei Kotelnikov James Noyes
Jason Grove Mike Demarco
bmyster admin Michael Schneider
-----Original Message-----
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
_______________________________________________
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:34 EDT