Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Dec 2002 16:36:40 +0100
From:      =?iso-8859-1?Q?Sten_Daniel_S=F8rsdal?= <sten.daniel.sorsdal@wan.no>
To:        "Rostislav Krasny" <rosti_bsd@yahoo.com>, <stacey@vickiandstacey.com>
Cc:        <freebsd-net@freebsd.org>, "FreeBSD Questions" <freebsd-questions@FreeBSD.ORG>
Subject:   RE: PPPoE and troubles with TCP
Message-ID:  <0AF1BBDF1218F14E9B4CCE414744E70F07DE19@exchange.wanglobal.net>

next in thread | raw e-mail | index | archive | help

  Have you remembered to setup anything to fix the MSS in TCP packets =
going through?
  You have disabled encryption and compression right?

-----Original Message-----
From: Rostislav Krasny [mailto:rosti_bsd@yahoo.com]=20
Sent: 26. desember 2002 15:42
To: stacey@vickiandstacey.com
Cc: freebsd-net@freebsd.org; FreeBSD Questions
Subject: Re: PPPoE and troubles with TCP


--- Stacey Roberts <stacey@vickiandstacey.com> wrote:
> On Thu, 2002-12-26 at 13:16, Rostislav Krasny wrote:
> > --- Stacey Roberts <stacey@vickiandstacey.com> wrote:
> > > On Thu, 2002-12-26 at 12:26, Rostislav Krasny wrote:
> > > > Hello
> > > >=20
> > > > I have Alcatel Speedtouch Home ADSL modem. I use PPPoE protocol=20
> > > > for connection with my Internet Service Provider (ISP) through=20
> > > > this
> ADSL
> > > > modem. I use FreeBSD 4.7-RELEASE and ppp (a.k.a. user-ppp) for
> this. In
> > > > the /etc/ppp/ppp.conf file I have ' set MRU 1492' and ' set MTU
> 1492'
> > > > options. This is because the maximum MTU one can use with PPPoE=20
> > > > is
> 1492
> > > > according to RFC 2516. I have no problems with "dialing" to my=20
> > > > ISP.
> But
> > > > after the PPPoE connection is established I have troubles with=20
> > > > TCP connections to some hosts. For example I can't go to=20
> > > > hhtp://www.ssh.com/  but to http://www.freebsd.org/ or=20
> > > > http://www.gnu.org/ I can. If I run 'telnet www.ssh.com 80' and
> enter
> > > > HTTP request according to HTTP 1.1 or 1.0 protocol I don't get=20
> > > > any answer. If I enter just 'GET /' I get some short answer.=20
> > > > 'GET /' is
> an
> > > > HTTP request according to the old HTTP 0.9 version of the=20
> > > > protocol
> and
> > > > it is rarely used today. But the problem is not HTTP, I think.=20
> > > > If I
> do
> > > > HTTP request according to HTTP 1.1 from my friends' computer I=20
> > > > do
> have
> > > > some long answer. Furthermore if I change the MRU and MTU to=20
> > > > 1484
> or
> > > > smaller I have no problem with www.ssh.com. So it looks like TCP
> packet
> > > > overflow or something like that.
> > > > Besides FreeBSD I have Windows 98 Second Edition in my computer. =

> > > > I
> use
> > > > PPPoE with Win98SE too. I use RASPPPOE driver fo it, go to=20
> > > > http://www.raspppoe.com/  for more information. I have no=20
> > > > problems
> with
> > > > www.ssh.com when I use Win98SE with this impimentation of PPPoE=20
> > > > protocol. I have MTU =3D=3D 1492 set by default in RASPPPOE. I =
don't
> get
> > > > error messages about fragmentation when I run 'ping -f -l 1464=20
> > > > www.ssh.com' in my Win98SE (ICMP+IP=3D1464+28=3D1492). Why in=20
> > > > FreeBSD I cannot use MTU =3D=3D 1492 without problems with some=20
> > > > hosts like www.ssh.com ? How to fix it in FreeBSD?
> > > >=20
> > > > P.S. ping have different syntax in Windows, so don't be wondered
> about
> > > > -f flag. -f sets "no fragmentation" flag in IP headers of all
> outgoing
> > > > packets.
> > >=20
> > > I use ADSL here on my site, but not that modem. How do you connect =

> > > to that device from the FBSD box?
> >=20
> > I configured my ADSL modem to work with PPPoE. Then I changed the=20
> > /etc/ppp/ppp.conf file to this one:
> >=20
> > =3D=3D=3D=3D /etc/ppp/ppp.conf =3D=3D=3D=3D
> > default:
> >         set log Phase Chat LCP IPCP CCP tun command
> >         ident user-ppp VERSION (built COMPILATIONDATE)
> >=20
> >         set device      PPPoE:ed0
> >         set speed       sync
> > #       set MRU         1484
> > #       set MTU         1484
> >         set MRU         maximum 1492
> >         set MTU         maximum 1492
> >         set timeout     0
> >         set urgent      none            # no priorities
> >         enable          dns             # request DNS info (for
> > resolv.conf)
> >         disable         ipv6 ipv6cp
> >         disable         shortseq protocomp acfcomp vjcomp deflate =
pred1
> > mppe
> >         deny            shortseq protocomp acfcomp vjcomp deflate =
pred1
> > mppe
> >=20
> > myisp:
> >         set authname    username@ISPstring
> >         set authkey     password
> >         add default     HISADDR         # Add a (sticky) default =
route
> > =3D=3D=3D=3D /etc/ppp/ppp.conf =3D=3D=3D=3D
> >=20
> > The hostname of my box can be resolved through /ets/hosts , so I=20
> > don't need any kind of 'set ifaddr' in /etc/ppp/ppp.conf file. ed0=20
> > is the ethernet NIC my ADSL modem is connected to.
> >=20
> > Many lines of the "default:" section of the ppp.conf file are not
> critical.
> > The only ones you need are these:
> >=20
> >         set device      PPPoE:ed0
> >         set MRU         maximum 1492
> >         set MTU         maximum 1492
> >         enable          dns
> >=20
> > See `man 8 ppp` for more information.
> >=20
>=20
> Dude,
>     I wasn't asking for assistance.., rather I was hoping to provide=20
> some help in response to your post.. :-)
>=20
> The reason why I asked about how you connect to your ADSL modem is=20
> because if its ethernet, then there is no need to use ppp.
>=20
> But if there's a case-requirement why you need to use ppp, then fair=20
> enough.
>=20
> Let me know either way, okay?

Yes, my computer is connected to my ADSL modem by Ethernet. What is the =
way to connect with the ISP without PPP? Is it ethernet bridging with =
DHCP? My ADSL Service Provider (Bezeq) does not support this. Moreover, =
the use of ethernet bridging is inconvenient for me because I can't =
switch the ISP by myself. When I use PPP, over Ethernet or over whatever =
else, I have ISP string, so it is very easy to switch the ISP I'd like =
to use at the moment.

P.S. What about my main question?

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now. =
http://mailplus.yahoo.com

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

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?0AF1BBDF1218F14E9B4CCE414744E70F07DE19>