[K12OSN] dhcpd.conf trouble

Eric Harrison eharrison at mail.mesd.k12.or.us
Fri Nov 4 19:25:12 UTC 2005


On Fri, 4 Nov 2005, Julius Szelagiewicz wrote:

> Dear Folks,
> 	I'm installing a Mitel 3340 IP phone system that needs to co-exist
> with k12ltsp. The Mitel docs tell me to run the phones on their own VLAN.
> Fine, dhcp is served on eth0 - 192.168.30.0/24, the Mitel box goes on this
> segment too, the VLAN for phones will be 192.168.31.0/24. According to the
> docs I need to add the following lines to dhcpd.conf:
>
> #option option-03 code 03 = string;
> #option option-130 code 130 = text;
> #option option-132 code 132 = string;
> #option option-133 code 133 = string;
> #option option-03  = "192.168.30.254";
> #option option-128 = "192.168.31.254";
> #option option-129 = "192.168.31.254";
> #option option-130 = "MITEL IP PHONE";
> #option option-132 = 2;
> #option option-133 = 6;
>
> When I add them uncommented and restart dhcpd, the PCs on the 192.168.30.0
> segment get addresses all right, but default gateway and DNS are not set.
> I seem to be missing something obvious. Thanks, julius
>
> P.S. If you know of a good tutorial on VLANs, please send me a link, I
> must have been dozing off when that was covered :-)


One of the school districts I support happens to have the same setup as
you do ;-)

Here is the solution I came up with for them....


 	option option-130 code 130 = text;
 	option option-132 code 132 = string;
 	option option-133 code 133 = string;

         subnet 10.20.0.0 netmask 255.255.128.0 {
                 default-lease-time 86400;
                 max-lease-time 864000;
                 range 10.20.2.1 10.20.3.254;
                 option routers 10.20.1.1;
                 option subnet-mask 255.255.128.0;
                 if (option vendor-class-identifier = null) {
                         option option-130 "MITEL IP PHONE";
                         option option-132 0000:0000:0000:0002;
                         option option-133 0000:0000:0000:0005;
                 }
         }



The big trick is zero-padding options 132 & 133.

-Eric




More information about the K12OSN mailing list