From owner-freebsd-hackers Wed Apr 16 14:19:46 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA10388 for hackers-outgoing; Wed, 16 Apr 1997 14:19:46 -0700 (PDT) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA10351 for ; Wed, 16 Apr 1997 14:19:39 -0700 (PDT) Received: from awfulhak.demon.co.uk (localhost.lan.awfulhak.org [127.0.0.1]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id WAA23574; Wed, 16 Apr 1997 22:18:17 +0100 (BST) Message-Id: <199704162118.WAA23574@awfulhak.demon.co.uk> X-Mailer: exmh version 1.6.9 8/22/96 To: "didier@omnix.fr.org" cc: hackers@freebsd.org Subject: Re: ppp / tcp problem with October 14th FreeBSD 2.2 SNAPSHOT In-reply-to: Your message of "Wed, 16 Apr 1997 18:28:20 +0200." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 16 Apr 1997 22:18:17 +0100 From: Brian Somers Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Hi, > > I'm trying to link two networks with user ppp / isdn line. > > I've two networks > > network A 192.168.0 (my client) > network B 192.168.2 (my network) > > I established a ppp link trough 192.168.3.1 (my side) and 192.168.3.2 > (the client side) > > On the client side, I'm using "ppp -auto mysite" and "ppp -direct" on > my side and ppp. > > when the client wants to establish a connection, ppp works fine. > > I'm able to use ping -f on both sides. > It seems that all udp clients works fine. > > but when I want to use a tcp connection (for example telnet) > > It takes more than one minute to get an answer. > > In fact it seems that each time each time an application has to send a lot > of data the tcp connection hangs. > > even with the tcp extension disabled. > > I can reproduce the problem with tcpblast. it hangs each time. > > however ping even with a large packet always works fine. > (7000 packet with 0% packet lost) > > I checked with tcpdump -i tun0 > > without any other connection to the client side. It took more than > one minute for a telnet connection to acces the client side. > without any packet transmited to the tun0 interface. > > The client side is running FreeBSD 2.1.5-RELEASE. > > > Do you have any clue ? > > In the mean time, I'm downloading the last release of FreeBSD > with user ppp on a diallup Internet access (without any problem) In my experience, *all* delay problems I've seen have been due to routing and DNS mis-configurations. Can you DNS look up both machines forwards and backwards from both machines ? Also, your assigned IP number for your clients side seems not to match his network. Also, you may want to try the null-modem example in ppp.conf.sample (it didn't make 2.2.1, but is in the 2.2 and 3.0 branches). This setup works 100% for me. > Thanks for your help > > -- > Didier Derny > didier@omniset.com > > -- Brian , Don't _EVER_ lose your sense of humour....