Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Dec 2002 06:41:47 -0800 (PST)
From:      Rostislav Krasny <rosti_bsd@yahoo.com>
To:        stacey@vickiandstacey.com
Cc:        freebsd-net@freebsd.org, FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: PPPoE and troubles with TCP
Message-ID:  <20021226144147.8282.qmail@web14806.mail.yahoo.com>
In-Reply-To: <1040908941.68500.47.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
--- 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
> > > > 
> > > > I have Alcatel Speedtouch Home ADSL modem. I use PPPoE protocol for
> > > > connection with my Internet Service Provider (ISP) through 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 is
> 1492
> > > > according to RFC 2516. I have no problems with "dialing" to my ISP.
> But
> > > > after the PPPoE connection is established I have troubles with TCP
> > > > connections to some hosts. For example I can't go to
> > > > hhtp://www.ssh.com/  but to http://www.freebsd.org/ or
> > > > 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 any
> > > > answer. If I enter just 'GET /' I get some short answer. 'GET /' is
> an
> > > > HTTP request according to the old HTTP 0.9 version of the protocol
> and
> > > > it is rarely used today. But the problem is not HTTP, I think. If I
> do
> > > > HTTP request according to HTTP 1.1 from my friends' computer I do
> have
> > > > some long answer. Furthermore if I change the MRU and MTU to 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
> > > > http://www.raspppoe.com/  for more information. I have no problems
> with
> > > > www.ssh.com when I use Win98SE with this impimentation of PPPoE
> > > > protocol. I have MTU == 1492 set by default in RASPPPOE. I don't
> get
> > > > error messages about fragmentation when I run 'ping -f -l 1464
> > > > www.ssh.com' in my Win98SE (ICMP+IP=1464+28=1492). Why in FreeBSD I
> > > > cannot use MTU == 1492 without problems with some hosts like
> > > > www.ssh.com ? How to fix it in FreeBSD?
> > > > 
> > > > 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.
> > > 
> > > I use ADSL here on my site, but not that modem. How do you connect to
> > > that device from the FBSD box?
> > 
> > I configured my ADSL modem to work with PPPoE. Then I changed the
> > /etc/ppp/ppp.conf file to this one:
> > 
> > ==== /etc/ppp/ppp.conf ====
> > default:
> >         set log Phase Chat LCP IPCP CCP tun command
> >         ident user-ppp VERSION (built COMPILATIONDATE)
> > 
> >         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
> > 
> > myisp:
> >         set authname    username@ISPstring
> >         set authkey     password
> >         add default     HISADDR         # Add a (sticky) default route
> > ==== /etc/ppp/ppp.conf ====
> > 
> > The hostname of my box can be resolved through /ets/hosts , so I don't
> > need any kind of 'set ifaddr' in /etc/ppp/ppp.conf file. ed0 is the
> > ethernet NIC my ADSL modem is connected to.
> > 
> > Many lines of the "default:" section of the ppp.conf file are not
> critical.
> > The only ones you need are these:
> > 
> >         set device      PPPoE:ed0
> >         set MRU         maximum 1492
> >         set MTU         maximum 1492
> >         enable          dns
> > 
> > See `man 8 ppp` for more information.
> > 
> 
> Dude,
>     I wasn't asking for assistance.., rather I was hoping to provide
> some help in response to your post.. :-)
> 
> The reason why I asked about how you connect to your ADSL modem is
> because if its ethernet, then there is no need to use ppp.
> 
> But if there's a case-requirement why you need to use ppp, then fair
> enough.
> 
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021226144147.8282.qmail>