On Thu, 2002-12-26 at 14:41, Rostislav Krasny wrote:
> --- Stacey Roberts <[EMAIL PROTECTED]> wrote:
> > On Thu, 2002-12-26 at 13:16, Rostislav Krasny wrote:
> > > --- Stacey Roberts <[EMAIL PROTECTED]> 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. 

> <snipped>

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

Hi,
  I didn't really have to configure *anything* as such to establish
connectivity on FreeBSD. The router I have holds the configurations
requried in order to authenticate to the ISP's upstream router.

All I have to do from FreeBSD's view is configure the external interface
to use the router as the default route (using ifconfig or
/stand/sysinstall). That's it.

As your initial problems, what happens if you set mtu to 1500 (or *not*
define this?)? Here's what man ppp says:
 set mtu [max[imum]] [value]
             The default MTU is 1500.  At negotiation time, ppp will
accept
             whatever MRU the peer requests (assuming it's not less than
296
             bytes or greater than the assigned maximum).  If the MTU is
set,
             ppp will not accept MRU values less than value.  When
negotia-
             tions are complete, the MTU is used when writing to the
inter-
             face, even if the peer requested a higher value MRU.  This
can be
             useful for limiting your packet size (giving better
bandwidth
             sharing at the expense of more header data).

             If the ``maximum'' keyword is used, ppp will refuse to
negotiate
             a higher value.  The maximum MTU can be set to 2048 at
most.

             If no value is given, 1500, or whatever the peer asks for
is
             used.  A value must be given when ``maximum'' is specified.


 What does ifconfig ed0 return? Please post that output here.


Regards,

Stacey

> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
-- 
Stacey Roberts
B.Sc (HONS) Computer Science

Web: www.vickiandstacey.com



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to