DHCP Server Option 122

Hi,

I need to configure DHCP server with Option 122 and suboptions 1, 2, 3 y 6. Anybody can say me how to configure suboptions?

Thank You

Please, anybody can help me?

Thank you

Option specifics are exlained in RFC
http://www.networksorcery.com/enp/rfc/rfc3495.txt
From RFC
±-----±-------±---------------±---------------±–±---------------+
| 122 | Length | Sub-option 1 | Sub-option 2 |-----| Sub-option n |
±-----±-------±---------------±---------------±–±---------------+

±------------------±-------±-----------------------+
| Sub-option Code | Length | Sub-option information |
±------------------±-------±-----------------------+

You need to write this information as hexadecimal value into dhcp options configuration

Could you say me if this is correct?

For Option 122 with suboption 1, I know that:

Code Len Address
±----±----±----±----±----±----+
| 1/2 | 4 | a1 | a2 | a3 | a4 |
±----±----±----±----±----±----+
where a1,a2,a3,a4 are an ip address, 192.168.10.10

Is correct if I write in suboption: 0x014c0a80a0a ?

Regards

Sub option 1 for 192.168.10.10
should look like this:

0x060104C0a80a0a

Hi,

What is the me meaning from the first two digits 06?

total length.