Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DHCP 43 on a cisco router 1

Status
Not open for further replies.

TeleLion

Technical User
Jan 4, 2006
326
US
Can some one give me an example of how to create a set DHCP option 43 for IP phones on a Cisco router to get the IP adress of teh SW and domain, lets say SW = 192.168.5.5 and domain = EDT

To MD or not to MD that is the question
 
Yep, get yourself a HEX-ASCII converter:


Then covert your various options and note the number of octets each uses:

SW=192.168.5.5 - HEX=31:39:32:2e:31:36:38:2e:35:2e:35 - 11 octets

TDN=EDT - HEX=45:44:54 - 3 octets

Then combine them with the Vendor String & Length (17, Ericsson IP-Phone) and preceed the Option Tag Strings & Lengths with the HEX codes:

11:45:72:69:63:73:73:6f:6e:20:49:50:2d:50:68:6f:6e:65:01:0b:31:39:32:2e:31:36:38:2e:35:2e:35:04:03:45:44:54

You need to add this to a Cisco router like this:

ip dhcp pool DHCP-VLAN-2
network 192.168.2.0 255.255.255.0
default-router 192.168.2.254
option 43 hex 1145.7269.6373.736f.6e20.4950.2d50.686f.6e65.010b.3139.322e.3136.382e.352e.3504.0345.4454

HTH

Andy
 
Thanks ADB100, worked like a charm

To MD or not to MD that is the question
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top