From owner-freebsd-net@FreeBSD.ORG Wed Jan 24 01:47:56 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9FF9216A400 for ; Wed, 24 Jan 2007 01:47:56 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with SMTP id 2447513C4C7 for ; Wed, 24 Jan 2007 01:47:55 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 10936 invoked by uid 399); 24 Jan 2007 01:21:13 -0000 Received: from localhost (HELO ?192.168.0.5?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 24 Jan 2007 01:21:13 -0000 X-Originating-IP: 127.0.0.1 Message-ID: <45B6B486.6030708@FreeBSD.org> Date: Tue, 23 Jan 2007 17:21:10 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0b2 (Windows/20070116) MIME-Version: 1.0 To: jhall@vandaliamo.net References: <1729.65.117.48.154.1169568902.squirrel@admintool.trueband.net> In-Reply-To: <1729.65.117.48.154.1169568902.squirrel@admintool.trueband.net> X-Enigmail-Version: 0.94.2.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: VLANs and DHCP X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jan 2007 01:47:56 -0000 jhall@vandaliamo.net wrote: > I currently administer a system which has two DHCP servers on two > different VLANs. Unfortunately, the two servers are not playing together > well and some comptuers are receiving IP addresses on the wrong network. > So, with our phone vendor's blessing, I am trying to move all of the DHCP > services to the FreeBSD server. > > The computers on the network are supposed to receive an IP address on the > default vlan and the phones are supposed to receive an IP address on their > vlan. > > Essentially what happens when a phone is booted, the phone receives an IP > address on the default VLAN, releases that address and then requests an IP > address on the appropriate VLAN. > > How do I specify to FreeBSD which VLAN should be the default? I have read > some information which seems to be conflicting. One article indicated > vlan0 is the default vlan, and another seemed to indicate vlan1 was the > default vlan. > > Or, have I just overcomplicated this? You have a DHCP configuration problem, not a FreeBSD problem. You'd be better off posting to a DHCP list. What you want to investigate between now and then is whether the phones are sending a client identifier that you could ignore in your computer dhcp conf file, and/or explicitly listing the MAC addresses of whichever set of devices has the fewest members, and then giving every other client an address on the vlan that you configure in dhcp to be the default. hth, Doug -- This .signature sanitized for your protection