Reference11r2:IP4/ETH/DHCP: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 6: | Line 6: | ||
|- | |- | ||
|valign=top nowrap=true|'''Server:''' | |valign=top nowrap=true|'''Server:''' | ||
| The IP parameters are configured manually in DHCP Server mode. The DHCP server is on and should be configured accordingly as described in "[[ | | The IP parameters are configured manually in DHCP Server mode. The DHCP server is on and should be configured accordingly as described in "[[{{NAMESPACE}}:IP4/ETH/DHCP-Server|IP4/ETH/DHCP-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 | | '''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 | ||
Line 12: | Line 12: | ||
| '''Server Identifier''' || The server will send this string as DHCP vendor option 250 to the client | | '''Server Identifier''' || The server will send this string as DHCP vendor option 250 to the client | ||
|- | |- | ||
| '''Probe Address before dynamic Assignment''' || The server will probe each IP address before it is offered to a client. The probe method can be selected | | '''Probe Address before dynamic Assignment''' || The server will probe each IP address before it is offered to a client. The probe method (''ARP'' or ''PING'', which is ICMP) can be selected or it can be disabled. If the address is found to be in use, it is reported as ''stolen'' in the [[{{NAMESPACE}}:IP4/ETH/DHCP-Leases | IP4/ETH/Leases]] and not offered to clients | ||
|} | |} | ||
|- | |- |
Latest revision as of 15:23, 23 January 2020
The DHCP function can either be disabled or operated in DHCP Client 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. | ||||||||
Server: | The IP parameters are configured manually in DHCP Server mode. The DHCP server is on and should be configured accordingly as described in "IP4/ETH/DHCP-Server".
| ||||||||
Client: | In DHCP Client mode, the device receives its IP configuration from a DHCP server to whose network the device is connected.
| ||||||||
Automatic: | The automatic mode is configured as factory setting on ETH0. It is useful only to get the first connection to the device. If automatic mode is configured the device operates with DHCP mode client after power up, if the device is restarted by pressing the reset button it operates in mode DHCP Disabled. As factory setting the IP address 192.168.0.1 is configured. This way a connection can be established to the device in a network without DHCP server by restarting the device with the reset button an then connect to 192.168.0.1 (this requires the PC to be configured to an IP address in the 192.168.0.0/255.255.255.0 network). |
Caution: DHCP Automatic mode should not be used for normal operation, since an accidental restart may switch the operating mode from DHCP client to a fixed IP address, so the device may not be available anymore.
- Disable NETBIOS Name Server
- if ticked, the device will not listen for or answer NETBIOS requests
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).