From owner-freebsd-net@FreeBSD.ORG Thu Jul 15 15:53:07 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF4B816A4CE; Thu, 15 Jul 2004 15:53:07 +0000 (GMT) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8665443D45; Thu, 15 Jul 2004 15:53:07 +0000 (GMT) (envelope-from garycor@comcast.net) Received: from [10.56.78.111] (pcp09118143pcs.union01.nj.comcast.net[69.142.234.88]) by comcast.net (sccrmhc13) with ESMTP id <2004071515530601600bicdte> (Authid: garycor); Thu, 15 Jul 2004 15:53:07 +0000 Message-ID: <40F6A878.9090407@comcast.net> Date: Thu, 15 Jul 2004 11:53:28 -0400 From: Gary Corcoran User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gleb Smirnoff References: <40F5C880.3090206@comcast.net> <20040715085219.GA17358@cell.sick.ru> In-Reply-To: <20040715085219.GA17358@cell.sick.ru> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-net@freebsd.org Subject: Re: DHCP server over PPPoE server X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jul 2004 15:53:08 -0000 Gleb Smirnoff wrote: > On Wed, Jul 14, 2004 at 07:57:52PM -0400, Gary Corcoran wrote: > G> I shutdown my regular DHCP server over the em0 ethernet interface, > G> and tried starting up dhcpd to use the ng0 interface that gets > G> created by mpd. It complains a little about em0 and ng0 using > G> the same subnet, but starts up and sits there, in debug mode > G> (so I can see all messages on the console). > > DHCP protocol is designed for broadcast networks, not for PPP. It > will not work on ppp interface. If you want your server to assing > address to its clients, you should use LCP. To configure the latter > read mpd docs. Thanks for the reply - but I'm trying to do something a little bit advanced, that I thought some of you might have already known about... Yes, I am having PPPoE/PPP assign the IP address to my client. The problem is that I need more - specifically vendor-specific configuration parameters, that can be obtained via DHCP. That's why I need to run DHCP over PPPoE. My research indicates that rather than doing the usual DHCP DISCOVER to start things off, I should be able to send a DHCP INFORM message, which includes my already-assigned IP address. The DHCP server should see this, it then MUST NOT (according to the RFC) lookup the address in its lease database, but it then should respond, sending the all the configuration parameters *except* an IP address, back to the IP address that was included in the message. Thus my desire to get dhcpd running with mpd pppoe... Any suggestions? Thanks, Gary