Re: PPPoE and troubles with TCP
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? 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
Re: PPPoE and troubles with TCP
--- 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. 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 denyshortseq protocomp acfcomp vjcomp deflate pred1 mppe myisp: set authnameusername@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. __ 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
Re: PPPoE and troubles with TCP
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. 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 denyshortseq protocomp acfcomp vjcomp deflate pred1 mppe myisp: set authnameusername@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? 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
Re: PPPoE and troubles with TCP
--- 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. 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 denyshortseq protocomp acfcomp vjcomp deflate pred1 mppe myisp: set authnameusername@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 [EMAIL PROTECTED] with unsubscribe freebsd-questions in the
Re: PPPoE and troubles with TCP
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
RE: PPPoE and troubles with TCP
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:[EMAIL PROTECTED]] Sent: 26. desember 2002 15:42 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; FreeBSD Questions Subject: Re: PPPoE and troubles with TCP --- 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. 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 denyshortseq protocomp acfcomp vjcomp deflate pred1 mppe myisp: set authnameusername@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
Re: PPPoE and troubles with TCP
--- Stacey Roberts [EMAIL PROTECTED] wrote: 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. So, your FreeBSD box is within your LAN and have do dial with ADSL at all, only your router have. Your box have internal LAN's IP 192.168.1.8 and your router configured to do network address and port translation. This network configuration is completely different from my one. I have a modem, not a router. 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. This is a copy/paste of just 'ifconfig', so you can see all the interfaces: ed0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet6 fe80::200:21ff:fe82:2503%ed0 prefixlen 64 scopeid 0x1 ether 00:00:21:82:25:03 faith0: flags=8002BROADCAST,MULTICAST mtu 1500 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff00 ppp0: flags=8010POINTOPOINT,MULTICAST mtu 1500 tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1492 inet 192.117.108.59
RE: PPPoE and troubles with TCP
--- Sten_Daniel_Sørsdal [EMAIL PROTECTED] wrote: Have you remembered to setup anything to fix the MSS in TCP packets going through? RASPPPOE in my Win98SE have such option enabled by default. It's described there to solve problem with ICS (Internet Connection Sharing). I don't see any difference when it is disabled or enabled. RASPPPOE works just good with MTU == 1492 in my Win98SE. However my FreeBSD in the same box have troubles with TCP when I use PPPoE with MTU == 1492. The configuration of TCP MSS in my FreeBSD is default, I didn't change it. You have disabled encryption and compression right? Yes, all types of compression and encryption are disabled, see my previous post with /etc/ppp/ppp.conf there. P.S. PPPoE use 8 bytes in each ethernet packet this is the reason why 1492 is the maximum MTU with PPPoE. I found that MTU == 1484 solve my problem, read my previous posts. But, 1484 = 1492 - 8 ! It looks like double PPPoE usage or lack of correspondence to the standard of PPPoE protocol described in RFC 2516. Maybe PPPoE implementation in FreeBSD have a bug? __ 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