From owner-freebsd-isp Sun Jan 11 23:42:59 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA11515 for isp-outgoing; Sun, 11 Jan 1998 23:42:59 -0800 (PST) (envelope-from owner-freebsd-isp) Received: from onyx.atipa.com (user24148@ns.atipa.com [208.128.22.10]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id XAA11510 for ; Sun, 11 Jan 1998 23:42:53 -0800 (PST) (envelope-from freebsd@atipa.com) Received: (qmail-queue invoked by uid 1018); 12 Jan 1998 07:49:46 -0000 Date: Mon, 12 Jan 1998 00:49:45 -0700 (MST) From: Atipa X-Sender: freebsd@dot.ishiboo.com To: Rhett Karr cc: "freebsd-isp@FreeBSD.ORG" Subject: Re: DHCPD through tun/ppp? In-Reply-To: <34B971B1.F99C333@bbcc.ctc.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk If you associate a serial device (/dev/cuaa0 for instance) with an IP, whoever connects with that device is assigned that IP. Check out the ppp.conf.sample file in /etc/ppp. You don't need DHCP since PPP tells the other side what IP to use. If the "client" does not specify what IP to use, it will use whatever IP it is given. DHCP would be redundant. You can set up a simple file with a list of devices and IP's, and use a login script to find out what modem the user connected to and what IP to assign it, or simply use a ijppp. The "client-server" (in quotes since it is actually point to point) IP negotiation is built-in to PPP (for all systems I have used, including Win95, NT, FreeBSD, Linux, etc.). Kevin On Sun, 11 Jan 1998, Rhett Karr wrote: > I have had alot of success with using the latest stable port of DHCPD on > a small LAN, but attempts to get it to serve IP addresses dynamically > through a tun/ppp link have always failed. I suspect it has something > to do with tun being a pseudo-device. DHCPD works just fine with real > devices like a network card. Has anyone had any success with using > DHCPD to dynamically assign IP addresses to dialup users? If not, has > anyone found any other way to dynamically assign addresses to dialup > users on FreeBSD? I am currently using FreeBSD 2.2.5 > >