From owner-freebsd-hackers Sat Mar 7 16:57:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA07462 for freebsd-hackers-outgoing; Sat, 7 Mar 1998 16:57:22 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA07451 for ; Sat, 7 Mar 1998 16:57:09 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.7/8.8.7) with ESMTP id AAA19541; Sun, 8 Mar 1998 00:56:13 GMT (envelope-from brian@gate.lan.awfulhak.org) Message-Id: <199803080056.AAA19541@awfulhak.org> X-Mailer: exmh version 2.0.1 12/23/97 To: Luigi Rizzo cc: hackers@FreeBSD.ORG Subject: Re: weird problem (lost packets) in iijppp In-reply-to: Your message of "Sat, 07 Mar 1998 18:21:49 +0100." <199803071721.SAA03615@labinfo.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 08 Mar 1998 00:56:12 +0000 From: Brian Somers Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Since i wanted to play with ppp (to implement better compression for > UDP/RTP traffic, and implement "preemption" of long, non real-time > packets), i decided to do some tests using ppp over tcp. > > Setting up everything with two ppp instances on the same machine > (details at the end of this email) i tried some pings and, surprise > surprise: > > # ping 10.0.0.1 > PING 10.0.0.1 (10.0.0.1): 56 data bytes > ... > 64 bytes from 10.0.0.1: icmp_seq=21 ttl=255 time=1.839 ms > 64 bytes from 10.0.0.1: icmp_seq=22 ttl=255 time=1.748 ms > 64 bytes from 10.0.0.1: icmp_seq=24 ttl=255 time=1.786 ms > ... NOTE THE MISSING PKT 23 ... > 64 bytes from 10.0.0.1: icmp_seq=30 ttl=255 time=1.716 ms > 64 bytes from 10.0.0.1: icmp_seq=31 ttl=255 time=1.750 ms > ^C > --- 10.0.0.1 ping statistics --- > 32 packets transmitted, 31 packets received, 3% packet loss > round-trip min/avg/max = 1.716/1.826/3.646 ms [.....] > Protocol in out > client: COMPD : 31, 32 > server: COMPD : 32, 31 Would you be able to try this with the ppp from -current, -stable or http://www.FreeBSD.org/~brian ? [.....] > #server for tcp connection > tcps: > set device 127.0.0.1:-2400 > set ifaddr 10.0.0.1 10.0.0.2 > > tcpc: > set device 127.0.0.1:2400 > set ifaddr 10.0.0.2 10.0.0.1 ppp.conf.sample in the above versions of ppp has a ppp/tcp example (kicking off ppp -direct from inetd). [.....] > cheers > luigi [.....] -- Brian , , Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message