DHCP subnet with two different IP phones

Simon Hobson dhcp1 at thehobsons.co.uk
Mon Sep 29 06:57:30 UTC 2014

Mike Diggins <mike.diggins at mcmaster.ca> wrote:

> I want to add the following new class and options for the 96xx series phones but I'm not sure how best to merge the two? Do I add the Avaya option statement into the subnet pool declaration above or move the Nortel option statement out of the pool declaration and into the class "iphones". I want DHCP to respond with only the correct option matched to the phone. 
> option space AVAYA_PHONE;
>     option AVAYA_PHONE.242 code 242 = text; #Used by 96xx and newer hardware
> class "avaya-phones" {
>     match if substring (option vendor-class-identifier, 0, 13) = "ccp.avaya.com" ;
> }

Looks to me like you've already got it there. Just set the options in the class statement and they'll automatically be applied to the right clients. It gets harder where you need different options for different subnets, but I don't think that's the issue here ?

More information about the dhcp-users mailing list