Hi All,
Anyone did has experience to configure CENTOS DHCP option 242 to integrate with Avaya IP phones with VLANs setting and HTTPS server ?
Thanks in million..!
Rgs
Andrew
Hi All,
Anyone did has experience to configure CENTOS DHCP option 242 to integrate with Avaya IP phones with VLANs setting and HTTPS server ?
Thanks in million..!
Rgs
Andrew
you are on the right track, and ’s sample shows the basic idea. A couple gotchas that make Avaya sets much happier: use exact token names (HTTPSRVR, HTTPDIR, MCIPADD, L2Q, L2QVLAN) with no spaces in the string; put the VLAN hint in the data VLAN, and the call/file servers in the voice VLAN; and remember phones may ignore DHCP VLAN values if LLDP is already advertising a voice VLAN on the switch. Also, you generally do not need HTTPDIR when files live in the web root. (support.avaya.com)
If you want to target only Avaya handsets from ISC dhcpd, match the vendor class (option 60 is typically ccp.avaya.com) and hand them Option 242 like this:
# /etc/dhcp/dhcpd.conf
option avaya-242 code 242 = string;
class "avaya-phones" {
match if substring(option vendor-class-identifier, 0, 13) = "ccp.avaya.com";
}
# Data VLAN scope (tell phones to jump to voice VLAN 190)
subnet 10.10.0.0 netmask 255.255.255.0 {
option routers 10.10.0.1;
pool {
allow members of "avaya-phones";
option avaya-242 "L2Q=1,L2QVLAN=190,VLANTEST=0";
range 10.10.0.200 10.10.0.220;
}
}
# Voice VLAN scope (give call server + HTTPS file server)
subnet 10.10.190.0 netmask 255.255.255.0 {
option routers 10.10.190.1;
pool {
allow members of "avaya-phones";
option avaya-242 "MCIPADD=10.10.190.10,MCPORT=1719,HTTPSRVR=10.10.190.20,HTTPDIR=/";
range 10.10.190.100 10.10.190.199;
}
} Notes:
Troubleshoot with tcpdump to confirm phones request 242 and present vendor class 60, then adjust scopes accordingly. (manualzz.com)
As far as I can tell from my friend Google, this is what you need to do. In the file dhcp.conf (somewhere under /etc) you need to do this (or something like it):
------------------------------ CUT HERE ------------------------------
option domain-name "your.domain";
option option-242 code 242 = string;
ddns-update-style none;
default-lease-time 14400;
#Data VLAN
subnet 192.168.0.0 netmask 255.255.255.0 {
option domain-name-servers 192.168.0.15, 192.168.0.5;
option routers 192.168.0.9;
option option-242 "L2QVLAN=190,L2Q=1";
range 192.168.0.240 192.168.0.249;
default-lease-time 86400;
max-lease-time 345600;
}
# Voice VLAN
subnet 192.168.190.0 netmask 255.255.255.0 {
option routers 192.168.190.254;
option option-242 "MCIPADD=192.168.190.1,HTTPSRVR=192.168.190.4,HTTP DIR=/,L2QVLAN=190,L2Q=1";
range 192.168.190.201 192.168.190.215;
}
------------------------------ CUT HERE ------------------------------
This is just something I got from the internet - no guarantees since I don't use avaya gear. You will have to alter the IP addresses to suit your network settings. No guarantees, and just my "best effort" to get you going.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.