Summary - Question on Network Routing

From: Koonz, Jay <>
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"

Thanks to:	Chang, Johnny  				Graham, Chad  
		Williams, Shawn  				Derek Olsen

		Stephen Nesman  				Darren
		Jon Godfrey  				Shaw, Matthew  
		Karyn Williams  				Hans
		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 and I
want most traffic to use the router on
but I want to add a route for 172.31.37 using another router 
Here's my current "netstat -rn"
 Destination           Gateway           Flags  Ref   Use   Interface
-------------------- -------------------- ----- ----- ------ ---------          U        1      0  qfe0              U        1      8  hme0             U        1      0  hme0
default                UG       1      6               UH       3     56  lo0

I do a  "route add"

 Destination           Gateway           Flags  Ref   Use   Interface
-------------------- -------------------- ----- ----- ------ ---------          UGH      1      0          U        1      0  qfe0              U        1      8  hme0             U        1      0  hme0
default                UG       1      8               UH       3     56  lo0

But when I try to "ping 172.31.37.xx", it uses the gateway. 
How can I change my routes, so the 172.31.37 traffic (and only that traffic)
uses And the rest uses 
sunmanagers mailing list
Received on Wed Jun 11 10:54:48 2003

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:12 EST