From owner-freebsd-net@FreeBSD.ORG Wed Jan 24 02:18:39 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 0062E16A404 for ; Wed, 24 Jan 2007 02:18:38 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: from mail4out.barnet.com.au (mail4.barnet.com.au [202.83.178.125]) by mx1.freebsd.org (Postfix) with ESMTP id 8F1BB13C44B for ; Wed, 24 Jan 2007 02:18:38 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: by mail4out.barnet.com.au (Postfix, from userid 1001) id 7377E37B92A; Wed, 24 Jan 2007 13:00:28 +1100 (EST) X-Viruscan-Id: <45B6BDBC0000CA8E3A6A24@BarNet> Received: from mail4auth.barnet.com.au (mail4.barnet.com.au [202.83.178.125]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mail4.barnet.com.au (Postfix) with ESMTP id 41E5D423B1E; Wed, 24 Jan 2007 13:00:28 +1100 (EST) Received: from k7.mavetju (k7.mavetju.org [10.251.1.18]) by mail4auth.barnet.com.au (Postfix) with ESMTP id F30AE37B913; Wed, 24 Jan 2007 13:00:27 +1100 (EST) Received: by k7.mavetju (Postfix, from userid 1001) id DA095190; Wed, 24 Jan 2007 13:00:27 +1100 (EST) Date: Wed, 24 Jan 2007 13:00:27 +1100 From: Edwin Groothuis To: jhall@vandaliamo.net Message-ID: <20070124020027.GC90167@k7.mavetju> References: <1729.65.117.48.154.1169568902.squirrel@admintool.trueband.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1729.65.117.48.154.1169568902.squirrel@admintool.trueband.net> User-Agent: Mutt/1.4.2.1i 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 02:18:39 -0000 On Tue, Jan 23, 2007 at 04:15:02PM -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. Sounds like you're using Cisco phones and the isc-dhcp server (or relay-agent)... Try net/dhcprelay from the ports collection. Let it forward the DHCP requests to a central server, and all will be fine. The isc-dhcrelay is euhm... quite noisy. Edwin -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://weblog.barnet.com.au/edwin/