Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 May 2000 01:38:47 +0800
From:      Victor Tsang <victor.tsang@ieee.org>
To:        Jahanur R Subedar <jahanur@jjsoft.com>
Cc:        questions@freebsd.org
Subject:   Re: PPPoE and nat
Message-ID:  <393159A7.29F373C8@ieee.org>
References:  <Pine.BSF.3.96.1000528110227.5481B-100000@ns2.jjsoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I know ppp -nat (ppp -alias) and that's what I used to establish PPPoE. I'm
not using natd.

As I configured it to start upon boot up, I enable it in rc.conf by setting
ppp_nat="YES" as mentioned in my previous message.

A fellow in this list reminded me about the MTU size... and I will try it
later. However, I'd experienced something strange regarding nat which let me
think the mtu is not the sole issue.

I telnet to a BBS using the testing Mac machine and the bbs supports 2 kinds
of languages: traditional Chinese and simplified Chinese. When I login as a
traditional Chinese user, after I key in the password, there is nothing to
show me and the telnet eventually timeout. However, if I login as a
simplified Chinese user, the telnet session works fine and I can read and
write messages in the bbs for an hour without any problem.

Maybe the pppoe nat works from time to time, and it happens to work when I
telnet as a simplified Chinese user.



Jahanur R Subedar wrote:

> do you know about ppp -alias.
> that works great. you dont need nat at all.
>
> On Sun, 28 May 2000, Victor Tsang wrote:
>
> > I am new to FreeBSD and it is my first time to install FreeBSD.
> >
> > I installed FreeBSD 4.0 and am going to configure PPPoE and NAT. I
> > followed the instructions found in FreeBSD.org web site and man pages
> > and easily get PPPoE work. However, NAT don't work and its behavior is
> > strange.
> >
> > My environment is one FreeBSD running as gateway, connecting my LAN and
> > ISP using PPPoE and there is a Macintosh running Darwin in the LAN for
> > my testing purpose.
> >
> > Either I don't enable NAT in rc.conf, or set ppp_nat="YES" , the
> > behaviors are the same:
> >
> > In Macintosh, when I telnet to outside world, I can see the login screen
> > and login prompt. Once I key in the user name and password, there is
> > nothing to show on screen and eventually the telnet timeout and
> > disconnected.
> >
> > Similarly in ftp: I can login ftp server but get no response after
> > playing a very short while.
> > ftp> user anonymous 123@123
> > ftp> dir
> > (show something)
> > ftp> cd pub
> > (OK.)
> > ftp> dir
> > (no response! I tested for about 4-5 sites. All are "die" in dir the
> > /pub directory.)
> >
> > I suspect two possibilities:
> > 1. only the first packet (mtu or mur?) are transmitted successful but
> > the subsequent packets are failed.
> > 2. Something wrong in telnet and ftp packet translation.
> >
> > However, I have no clue on how to proceed futher. The /var/log/alias.log
> > shows nothing helpful.
> >
> >
> >
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> >
>
> Jahanur R Subedar
> WWW.JJSOFT.COM

--
Victor Tsang
victor.tsang@ieee.org
                                                            FreeBSD + AfterStep





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?393159A7.29F373C8>