Reference:Configuration/ETH/DHCP: Difference between revisions

From innovaphone wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The '''DHCP''' function can either be disabled in DHCP Disabled mode or operated in DHCP Client or in DHCP Server mode. The DHCP function of the Ethernet interface has four operating modes in total:
The '''DHCP''' function can either be disabled in DHCP Disabled mode 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 (standard IP-Adresse 192.168.0.1). The DHCP server is on and should be configured accordingly as described in chapter "[[ETH_DHCP-Server|Configuration/ETH0-1/DHCP Server]]".
|valign=top nowrap=true|'''Disabled:'''
* '''Client:''' In DHCP Client mode, the device receives its IP configuration from a DHCP server to whose network the device is connected.
| The IP-Adresse and other parameters are configured manually.
* '''Automatic:''' The first time the device is switched on (powered up), ETH0 works as a DHCP client. After a restart through briefly pressing the Reset button, the ETH0 interface is allocated the configured IP-Adresse. If an IP address was not explicitly configured (see chapter "[[ETH_IP|Configuration/ETH0-1/IP]]"), the IP address 192.168.0.1 is specified as standard.
|-
|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 "[[Reference:Configuration/ETH/DHCP-Server|Configuration/ETH/DHCP-Server]]".
|-
|valign=top nowrap=true|'''Client:'''
| In DHCP Client mode, the device receives its IP configuration from a DHCP server to whose network the device is connected.
|-
|valign=top nowrap=true|'''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).
|}


In the as-shipped state, ETH0 is configured in DHCP Automatic mode with the IP address 192.168.0.1 and ETH1 is configured in DHCP Disabled mode with the IP address 192.168.1.1.
   '''Caution:'''
<font color="red">
   DHCP Automatic mode should not be used for ''normal'' operation,  
   '''Caution'''
  since an accidental restart may switch the operating mode from DHCP client to a fixed IP address,
   DHCP Automatic mode should not be used for ''normal'' operation, since an accidental restart switches the operating mode.
  so the device may not be available anymore.
</font>

Latest revision as of 09:30, 30 June 2008

The DHCP function can either be disabled in DHCP Disabled mode 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 "Configuration/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.