From owner-freebsd-isp Mon Jan 12 09:57:33 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA04427 for isp-outgoing; Mon, 12 Jan 1998 09:57:33 -0800 (PST) (envelope-from owner-freebsd-isp) Received: from millennium.net (mrvid.demon.co.uk [194.222.140.15]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id JAA04180 for ; Mon, 12 Jan 1998 09:54:21 -0800 (PST) (envelope-from lists@mrvid.demon.co.uk) Received: from localhost (localhost [127.0.0.1]) by millennium.net (8.8.5/8.8.5) with SMTP id OAA03269; Mon, 12 Jan 1998 14:02:33 GMT Date: Mon, 12 Jan 1998 14:02:33 +0000 (GMT) From: Lists X-Sender: lists@millennium.net 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 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 If your using kernel-level pppd for your dialup users, pppd will allow you to manually set the IP they get (at your end) by using something along the lines of: pppd [other arguments..] 123.123.123.1:123.123.123.10 Where 123.123.123.1 is the address of your dial-in gateway server, and 10 is the address the user will get. You can do this automatically using the secrets file as well. Try a man pppd ;^) L8rz KrOnUs