Subject: Re: NetBSD 1.6 as a gateway (duplicated)
To: software <software@polin.it>
From: Oliver Tonnhofer <olt@bogosoft.com>
List: netbsd-users
Date: 01/09/2003 16:07:09
Hallo software,

"software" <software@polin.it> wrote:
I guess thats not your realname.

>Well I used, for the past month, FreeBSD as a gateway.
>Yesterday I wanted to install NetBSD so I downloaded the 1.6 iso,
>burned a CD and installed it: all is ok.
>
>What I wanted to do is to setup my NetBSD machine as a gateway for a
>multi-home network:
[...]
>***  /etc/ifconfig.ep1 ***
>inet 10.0.0.1 netmask 0xffffff00

You shouldn't assign ep1 an ip address. You can remove /etc/ifconfig.ep1
'! /sbin/ifconfig ep1 up' in ifconfig.pppoe0 is sufficient.

[...]
>From the laptop I have some problems,
>because I can use only ftp.

FTP traffic goes through the ipnat ftp proxy.

>So FTP works, while I can't navigate and I can't use the email.
>In particular when I launch the email program (outlook express) it
>tells me Downloading Message 1 of 30
>and it locks there (after some seconds he says me "error" )
[...]
>I'm desperate because yesterday night I spent 4 hours,
>and I have no idea what to do.
>
>Have I done something wrong ?

Read http://www.netbsd.org/Documentation/network/pppoe/#clamping

~
Oliver