From owner-freebsd-net Wed Sep 27 23:32:55 2000 Delivered-To: freebsd-net@freebsd.org Received: from osku.suutari.iki.fi (osku.syncrontech.com [213.28.98.4]) by hub.freebsd.org (Postfix) with ESMTP id E519837B43C for ; Wed, 27 Sep 2000 23:32:47 -0700 (PDT) Received: from coffee (adsl-nat.syncrontech.com [213.28.98.3]) by osku.suutari.iki.fi (8.9.3/8.9.3) with SMTP id JAA18772; Thu, 28 Sep 2000 09:32:24 +0300 (EEST) (envelope-from ari@suutari.iki.fi) Message-ID: <004d01c02915$e0656f90$0e05a8c0@intranet.syncrontech.com> From: "Ari Suutari" To: "Julian Elischer" , "Patrick Bihan-Faou" Cc: References: Subject: Re: natd and userland ppp Date: Thu, 28 Sep 2000 09:32:23 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, > One good reason is that the PPP IP address is dynamically assigned and > NATD doesn't work so well in such a dynamic environment. > They are both running the same NAT library, but is you use NATD then the > packet is diverted to userland TWICE, with it's > attendant reduction in throughput and increase in latency.. > > PPP diverts packet out of the kernel once. Once it's diverted you might as > well do the NAT on the packet. (and as I said, you'd have a lot of fun > getting NATD synchronised with ppp. (You'd have to use all sorts of > link-up and link-down scripts. I think that this is not true. Just use -dynamic flag in natd and it will automatically track down address changes on ppp interface. Ari S. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message