Subject: Re: PPPoE and web redirect (Newbie question)
To: None <port-mac68k@netbsd.org>
From: Randy Beaudreault <maccult@pacbell.net>
List: port-mac68k
Date: 06/17/2002 09:58:27
>ae0 is probably not the correct interface. Since it is connected to
>the ADSL-Modem it runs the "PPP over Ethernet" protocol, which is not
>IP. The pppoe daemon (in-kernel or userland) encapsulates IP packets
>into the pppoe protocol and creates a new network interface, which is
>the appropriate IP interface. For the userland daemon it is called
>ppp0, for the in-kernel it is pppoe0.
>
>You can check by doing a "ifconfig -a" that the ae0 interface does not
>have an IP address (no "inet" line), but that pppoe0 (or ppp0) has.
>
>so use:
>
>   rdr pppoe0 0/0 port 80 -> 192.168.1.10 port 80 tcp

Or ppp0 if you're not using in-kernel PPPoE but rp-pppoe.
-- 
Randy Beaudreault

"Spam in a can" - a description of the first astronauts

"Love is like solving the perfect murder.  It's good to be good,
but better to be lucky" - Det. Frank Pembleton
 From the show, "Homicide: Life On The Street"