On 8/18/07, steve <[EMAIL PROTECTED]> wrote: > It must have been too long ago since I built routers under BSD. I got three > subnets in a series below the internet connection and cannot add a proper > route between subnet 1 and 3. > I've tried numerous route commands but it never results in routing it down to > 198.168.0. My last routing commands looks like this: > > route add 192.168.0 192.168.1.253 > route add 192.168.0.254 192.168.1.253 > > What is the route command supposed to look like to route down to 192.168.0?
One way is with an explicit CIDR mask on the network: # route add 192.168.0.0/24 10.0.1.1 add net 192.168.0.0/24: gateway 10.0.1.1 # route -n show | grep ^192 192.168.0/24 10.0.1.1 UGS 0 0 - fxp0 DS

