Subject: Re: Routing issue
To: None <netbsd-help@netbsd.org>
From: Soren Jacobsen <devsoren@attbi.com>
List: netbsd-help
Date: 02/01/2003 15:29:28
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?
route add default 10.17.44.244 should do it.
--
Soren Jacobsen