Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Aug 2002 16:12:35 +0930
From:      James Mclean <james@adam.com.au>
To:        FreeBSD-Questions@FreeBSD.Org
Subject:   PPPoE Server and Bind.
Message-ID:  <20020809161235.22bea0ce.james@adam.com.au>

next in thread | raw e-mail | index | archive | help


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020809161235.22bea0ce.james>