Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jan 1998 14:02:33 +0000 (GMT)
From:      Lists <lists@mrvid.demon.co.uk>
To:        Rhett Karr <rhett2@bbcc.ctc.edu>
Cc:        "freebsd-isp@FreeBSD.ORG" <freebsd-isp@FreeBSD.ORG>
Subject:   Re: DHCPD through tun/ppp?
Message-ID:  <Pine.BSF.3.95q.980112140048.1761C-100000@millennium.net>
In-Reply-To: <34B971B1.F99C333@bbcc.ctc.edu>

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


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.980112140048.1761C-100000>