Subject: Re: Routing issue
To: Anthony Lieuallen <arantius@yahoo.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 02/02/2003 15:50:41
On Sat, Feb 01, 2003 at 02:50:44PM -0800, Anthony Lieuallen wrote:
> Short story is that I have moved back in with my parents for the time
> being after college.  The cable modem here is asyncrhonus (cable
> downlink, analog phone uplink).  The default router seems to be a
> device within the cable modem itself, and is in the 10.x.x.x subnet,
> while the IP address it assigns to me is in the 209.122.138.x subnet. 
> I am unable to set the default route to the appropriate IP address.  I
> managed to solve this in linux by executing these commands:
> 
>   ip route add 10.17.44.244 dev eth0
>   ip route add default via 10.17.44.244
> 
> But I cannot find the equivalent commands to run in NetBSD.  Any suggestions?

This should do it:
route add -host 10.17.44.244 209.122.138.x -iface
(209.122.138.x is your IP address)
route add default 10.17.44.244

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 24 ans d'experience feront toujours la difference
--