Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2007 17:21:10 -0800
From:      Doug Barton <dougb@FreeBSD.org>
To:        jhall@vandaliamo.net
Cc:        freebsd-net@freebsd.org
Subject:   Re: VLANs and DHCP
Message-ID:  <45B6B486.6030708@FreeBSD.org>
In-Reply-To: <1729.65.117.48.154.1169568902.squirrel@admintool.trueband.net>
References:  <1729.65.117.48.154.1169568902.squirrel@admintool.trueband.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45B6B486.6030708>