Reference12r2:IP6/ETH/DHCP6

From innovaphone wiki
Jump to navigation Jump to search

The DHCP function can either be disabled or operated in DHCP Client, DHCP Inform or in DHCP Server mode. The DHCP function of the Ethernet interface has four operating modes:

Disabled: The IP-Adresse and other parameters are configured manually.
Inform: The IP-Adresse are configured manually. Additional Configurations like DNS, NTP e.g. are received via a DHCP lease.
Server: The IP parameters are configured manually in DHCP Server mode. The DHCP server is on and should be configured accordingly as described in "IP6/ETH/Server".
Reserved and same Vendor Clients only The server will issue leases to reserved clients and to clients with Vendor class identifier = 1.3.6.1.4.1.6666 (i.e. innovaphone devices) only
Server Identifier The server will send this string as DHCP vendor option 250 to the client
Client: In DHCP Client mode, the device receives its IP configuration from a DHCP server to whose network the device is connected.
Selected Server only The client will wait for a lease from an innovaphone DHCP server (see above) forever
Wait for selected Server The number of seconds the client will wait for a lease from an innovaphone DHCP server (that is, until a lease is received that has a vendor option 250 with proper value).
Server Identifier The expected value for the DHCP vendor option 250 (see above) expected in the lease offer received. This can normally be left blank.
Hostname By default the hostname sent in DHCP client requests is the catenation of the short device name and the last 3 bytes of the mac address, for example IP241-2a-00-c6.

At least the Microsoft DHCP server can be configured to create a DNS entry from the received hostname and the assigned IP address.

To meet existing naming conventions another hostname for the device can be configured here. The name must be unique and is restricted to 63 alphanumeric ascii characters (case independent) and dashes.

Running an innovaphone DHCP server when there is already one

It might be pretty convenient to run an innovaphone DHCP server in addition to an existing one in a network. This simplifies deployment of vendor specific configuration options. To make sure such leases are only sent to innovaphone (and explicitly reserved) clients, you would turn on Serve Vendor Clients Only on the innovaphone DHCP server. This will not send offers to other requesters and will include a server identifier within any offer sent. By default, an innovaphone DHCP client will wait for a lease with matching Server Identifier for 8 seconds. Also by default, the vendor identifier is empty.

As a result, to have clients with factory settings run with the innovaphone's DHCP offer, you should turn on Serve Vendor Clients Only mode on the server and leave the Server Identifier empty. If so, an out-of-the-box innovaphone DHCP client will prefer the offer sent by the innovaphone server (provided it appears 8 seconds after the first offer the latest).