Introduction

To use auto provisioning, the Gigaset device has to know the provisioning server. Behind the Hybird 120, the provisioning server URL is provided by the DHCP server option 114, this is default configured in the Hybird 120.

But in situations that the DHCP server of the customer is used, DHCP option 114 has to be configured in the Router of the customer. Below are examples how to do this, the answers can often be found searching the internet.

Draytek Vigor 2820

The option is not available in the web-interface, therefore it has to be done using the command line. We connected to the router using SSH tool.

Command Line Vigor 2820

DraytekEric> srv dhcp custom_option
Usage:
-e: enable/disable custom option feature, 1:enable, 0:disable
-t: custom option type, 1:one custom option with 64B data, 0:two options,each with 32B data
-o: option 1 code
-p: option 2 code
-q: option 64B code
-l: option 1 data
-m: option 2 data
-n: option 64B data
-h: display usage
-v: show the current settings
-f: clear all the settings

DraytekEric> srv dhcp custom_option -v

Custom DHCP option settings:
-----------------------------------------------
enable this feature: No
option type: two options, each with 32B data, please see (a),(b) below


(a) Custom DHCP option 1 [status: INACTIVE]:
code: 0
len: 0
data:

(b) Custom DHCP option 2 [status: INACTIVE]:
code: 0
len: 0
data:


First enable the usage of custom options

DraytekEric> srv dhcp custom_option -e 1


DraytekEric> srv dhcp custom_option -v

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: 0
len: 0
data:

(b) Custom DHCP option 2 [status: ACTIVE]:
code: 0
len: 0
data:

Customer option 1 will be used to configure the DHCP option 114


DraytekEric> srv dhcp custom_option -o 114

DraytekEric> srv dhcp custom_option -v

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: 114
len: 0
data:

(b) Custom DHCP option 2 [status: ACTIVE]:
code: 0
len: 0
data:

Configure the provisioning server URL for this option, the IP address can be different dependent on your network configuration.

DraytekEric> srv dhcp custom_option -l http://192.168.0.250/eg_prov/

DraytekEric> srv dhcp custom_option -v

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: 114
len: 29
data: http://192.168.0.250/eg_prov/

(b) Custom DHCP option 2 [status: ACTIVE]:
code: 0
len: 0
data:

 

 

If you use the Gigaset T640/T440 then you need to upgrade to the latest Draytek software, this because the older draytek software does not allow the needed number of characters.

 

Command Line Vigor 2820

DraytekEric> srv dhcp option

Usage:
srv dhcp option [-h|l]
srv dhcp option [-d [idx]]
srv dhcp option [-c [option number] -v [option value]]
EX: srv dhcp option -c 18 -v v2920_361.all
srv dhcp option [-c [option number] -x "[option value]"]
EX: srv dhcp option -c 121 -x "0x18 0xc0 0xa8 0x01 0xc0 0xa8 0x00 0x07"
-c: set option number: 0~255
-d: delete custom dhcp option by index number
-e: enable/disable option feature, 1:enable, 0:disable
-h: display usage
-l: list all custom set DHCP options
-r: remove all custom DHCP options
-v: set option value
-x: set option value in hex

DraytekEric> srv dhcp option -c 114 -v http://192.168.178.164/gigaset-prov/

DraytekEric> srv dhcp option -l
% idx opt hex data
% 1 114 n http://192.168.178.164/gigaset-prov/

DraytekEric> srv dhcp option -e 1
% Set DHCP Option Setting: Enable

Draytek Vigor 2860

The option is not available in the web-interface, therefore it has to be done using the command line. We connected to the router using SSH tool.

For this router there is on command to activate the DHCP option 114 on the LAN 1. If you are other LAN than you need to change the command.

srv dhcp option -e 1 -i 1 -c 114 -v http://192.168.2.5/eg_prov/

With the command below you can check the setting.

srv dhcp option -l

 

  • No labels