From owner-freebsd-questions Thu Aug 8 23:42:42 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D85737B400 for ; Thu, 8 Aug 2002 23:42:39 -0700 (PDT) Received: from lightning.adam.com.au (lightning.adam.com.au [203.2.124.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 2E2F043E7B for ; Thu, 8 Aug 2002 23:42:38 -0700 (PDT) (envelope-from james@adam.com.au) Received: (qmail 46115 invoked from network); 9 Aug 2002 06:42:36 -0000 Received: from 203-6-132-250.adam.com.au (HELO james) (203.6.132.250) by eden.adam.com.au with SMTP; 9 Aug 2002 06:42:36 -0000 Date: Fri, 9 Aug 2002 16:12:35 +0930 From: James Mclean To: FreeBSD-Questions@FreeBSD.Org Subject: PPPoE Server and Bind. Message-Id: <20020809161235.22bea0ce.james@adam.com.au> Organization: Adam Internet X-Mailer: Sylpheed version 0.8.1 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi All, I have successfully built a PPPoE server, based on FreeBSD 4.5. The clients can connect, and ping IP's no troubles. The problem being, the clients are assigned an address 172.16.xxx.xxx, once the first one connects he cannot use any DNS, but restarting bind with named.reload, fixes the problem. The server is basically set up like this... Inet Iface. fxp0 +---------------+ ================>| FreeBSD PPPoE | | Server | | | Ethernet Iface fxp1 (10.0.0.1) | |<============================ +---------------+ When a Client authenticateds via PPPoE, they are assigned an address 172.16.xxx.xxx. I think that this is where the problem lies, bind does not know about the interface 172.16.xxx.xxx, until it is present (via the tunX Iface) and when bind is restarted, it knows the address and then allows it. What is the best way around this problem (short of calling named.reload with each client connection), is there a bind option to allow any IP that comes along requesting DNS? The firewall is currently set to open. TIA James Mclean To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message