route question

Ben Pfaff pfaffben@msu.edu
21 Aug 2001 10:40:40 -0400


Paul_Melson@keykertusa.com writes:

> I'm having problems with `route` on my secondary (internal) interface. The 
> internal interface's IP address is 10.0.1.155 with a broadcast address of 
> 10.0.255.255.  The default gateway is on the other interface.  I'm trying 
> to construct a static route to another internal subnet (10.20.0.0/16) 
> using the following commands:
> 
> route add -net 10.0.0.0 netmask 255.255.0.0 dev eth1
> route add -net 10.20.0.0 netmask 255.255.0.0 10.0.11.2

I'm unsure what you're trying to do with the second command.  If
you're trying to establish 10.0.11.2 as a gateway then you need
to add the `gw' keyword in front of it.
                                              
-- 
"The USA has no monopoly on stupidity. 
 They just work longer hours."
--Richard Heathfield