Subject: Re: how to set a link-level gateway?
To: Timo Schoeler <timo.schoeler@macfinity.net>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 08/29/2005 23:14:15
On Mon, Aug 29, 2005 at 10:59:24PM +0200, Timo Schoeler wrote:
> > If no, what does ifconfig say?  Try:
> > 
> >    ifconfig __en0__ inet 1.2.3.4 netmask 0xffffff00
> 
> thanks, i'll have a look at that tomorrow morning; however, the netmask
> is a weird 0xffffffff (see the URL referenced in my first mail). __en0__

Ha, that's a problem. I don't think this can work. You have to get
the right netmask here (if you know your IP and the router's IP, try the
largest netmask that will make the router's IP part of your local net).

> means $interface or MAC address?

$interface

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