Subject: Re: how to set a link-level gateway?
To: Timo Schoeler <timo.schoeler@macfinity.net>
From: Chuck Swiger <cswiger@mac.com>
List: netbsd-help
Date: 08/29/2005 16:32:54
Timo Schoeler wrote:
> i have a customers' machine located in a huge german hosting company,
> and there's a little howto [1] for installing NetBSD there (the machine
> has console access :)
> 
> however, i just can't get the network set up (from within sysint or on
> the shell) to get it connect to the outside world (TM).

If dhclient is handy, try running that.  Otherwise, can you ping anything on 
your local subnet, such as the router?

If no, what does ifconfig say?  Try:

    ifconfig __en0__ inet 1.2.3.4 netmask 0xffffff00

If yes, consider:

    route add default 1.2.3.1

[ Substitute appropriate values for your local network & router IP. ]

-- 
-Chuck