From owner-freebsd-isdn Tue Jan 11 3:30:32 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from news.IAEhv.nl (news.IAE.nl [194.151.64.4]) by hub.freebsd.org (Postfix) with ESMTP id 6B58F15469 for ; Tue, 11 Jan 2000 03:30:24 -0800 (PST) (envelope-from marc@bowtie.nl) Received: (from uucp@localhost) by news.IAEhv.nl (8.9.1/8.9.1) with IAEhv.nl id MAA03944; Tue, 11 Jan 2000 12:30:06 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by bowtie.nl (8.8.8/8.8.8) with ESMTP id MAA16896; Tue, 11 Jan 2000 12:25:46 +0100 (CET) (envelope-from marc@bowtie.nl) Message-Id: <200001111125.MAA16896@bowtie.nl> X-Mailer: exmh version 2.1.1 10/15/1999 To: Brian Somers Cc: Martin Welk , Christoph Kukulies , freebsd-isdn@FreeBSD.ORG, brian@hak.lan.Awfulhak.org Subject: Re: one slight glitch in i4bispp In-reply-to: brian's message of Tue, 11 Jan 2000 01:19:03 +0000. <200001110119.BAA07184@hak.lan.Awfulhak.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 11 Jan 2000 12:25:46 +0100 From: Marc van Kempen Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > ppp(8) :-) > > If you enable -nat and -auto, ppp will keep the interface addresses > previously assigned and NAT them for you. This means that the > ``first connection'' will end up being NAT'd from the start (it's > bound to the old address but the peer has only ever seen the new > address). > I'm a bit puzzled as to how this would work, what you say is this: You telnet from your machine to telnet.domain.com: telnet.domain.com <----> [dynamic ip] -- PPP,NAT -- [first ipnr] <---> telnet So the tcp packet going from my machine to telnet.domain.com has as it's source address the dynamic IP address, as NAT'ed by PPP, the first ipnr is only seen on my machine. But when the connection times out and I get another dynamic IP nr, how is my tcp connection going to survive, isn't the socket on telnet.domain.com bound to my old (dynamic) ip nr? Regards, Marc. -- ---------------------------------------------------- Marc van Kempen BowTie Technology Email: marc@bowtie.nl WWW & Databases tel. +31 40 2 43 20 65 fax. +31 40 2 44 21 86 http://www.bowtie.nl ---------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message