Cisco Catalyst 3750 DHCP server options for TERADICI

To make a PCoIP / Thin client is automatically registering to TERADICI Management Console server would be great way of management random access client(PC environment).

TERADICI’ technical document explained well enough to setup Window Server System as DHCP server in order to push Management Console Server’s IP address. (ex, 192.168.1.1)

 

How to setup on Cisco  Catalyst 3750 switch with the required DHCP options for TERADICI Management Console Server.

It uses option 60 and 43 as you expected.

DHCP option 60 = Vendor Class Identifier(VCI)
DHCP option 43 = Sub-option code

 

DHCP Option 60

– VCI of Teradici = PCoIP Endpoint, Hex value =  50 43 6F 49 50 20 45 6E 64 70 6F 69 6E 74

 

DHCP Option 43

You could use Ascii or hex, but in this case we will use HEX value.

Key factor is will be understanding about syntex, TLV strings.

 

TLV = Type + Lengh + Value

Type = sub-option codes

Code 1 : MC Address
Code 2 : MC AutoConfig Group
Code 3 : MC AutoConfig Behaviour

Lengh = # of decimals
Hex Value = it could be number or text

 

Example 1> Single IP address : 192.168.1.1 as String (not Decimal)

Type = 1, HEX vlaue  =01
HEX Value = HEX Value of 192.168.1.1(String) = 31 39 32 2e 31 36 38 2e 31 2e 31
Lengh = 11. Convert to HEX = 0b.

So final value = 01 + 0b + 31 39 32 2e 31 36 38 2e 31 2e 31 = 010b3139322e3136382e312e31

* To convert Ascii, HEX and Dicimal = http://www.asciitohex.com/ 

 

Example 2> Two IP addresses : 192.168.1.1 and 192.168.1.2

So final value = 01 + 16 + 31 39 32 2e 31 36 38 2e 31 2e 31 + 31 39 32 2e 31 36 38 2e 31 2e 32 = 01163139322e3136382e312e313139322e3136382e312e32

 

On Cisco Catalyst 3750 Switch

 

Cisco3750# conf t
Cisco3750(config)# ip dhcp pool PCoIP
Cisco3750(dhcp-config)# network 10.10.10.1 255.255.255.0
Cisco3750(dhcp-config)# dns-server 4.2.2.1
Cisco3750(dhcp-config)# default-router 10.10.10.1
Cisco3750(dhcp-config)# option 60 hex 50 43 6F 49 50 20 45 6E 64 70 6F 69 6E 74
Cisco3750(dhcp-config)# option 43 hex 010b3139322e3136382e312e31
 
 

Extra Tips

Sub-option type for Cisco Lightweight AIRONET Access Point : f1

 

 

 

Leave a Reply