Knowledgebase
How to customise option in DHCP
Posted by on 09 December 2011 03:05 PM

Below are the ways to use "srv dhcp custom" for your reference.

Vigor can allow at most two additional dhcp options.

-If we only need one dhcp option, we can type command below:

Take option 67 for example:

srv dhcp custom_option -e 1 -t 1 -q 67 -n vivian.txt

 

-If we need two dhcp options, we can type command below:

Take option 67 and option 150 for example:

> srv dhcp custom_option -f

> srv dhcp custom_option -e 1

> srv dhcp custom_option -t 0

> srv dhcp custom_option -o 150 -l 10.0.0.236

> srv dhcp custom_option -p 67 -m viviantest.txt

 

We can use "srv dhcp custom_option -v" to view current settings.

 

Custom DHCP option settings:

-----------------------------------------------

    enable this feature: Yes

    option type: two options, each with 32B data, please see (a),(b) below

 

    (a) Custom DHCP option 1 [status: ACTIVE]:

    code: 150

    len: 10

    data: 10.0.0.236

 

    (b) Custom DHCP option 2 [status: ACTIVE]:

    code: 67

    len: 14

    data: viviantest.txt

 

The total data length cannot be over 64bytes.

If we set up two options, each one can have 32bytes at most.

 

(1 vote(s))
Helpful
Not helpful

Comments (0)