The Dynamic Host Configuration Protocol Port (DHCP)

Revised for CPX 4.7.0.
Terminology
Goal

Configuration of the DHCP port
Statistics of the DHCP port

Configuration of DHCP Server tables
DHCP bindings table

Table of types of hardware addresses


The Dynamic Host Configuration Protocol (DHCP) provides configuration parameters to Internet hosts. DHCP consists of two components: a protocol for delivering host-specific configuration parameters from a DHCP server to a host and a mechanism for allocation of network addresses to hosts.

DHCP is built on a client/server model, where designated DHCP server hosts allocate network addresses and deliver configuration parameters to dynamically configured hosts. Throughout the remainder of this document, the term "server" refers to a host providing initialization parameters through DHCP, and the term "client" refers to a host requesting initialization parameters from a DHCP server.

A host should not act as a DHCP server unless explicitly configured to do so by a system administrator. The diversity of hardware and protocol implementations in the Internet would preclude reliable operation if random hosts were allowed to respond to DHCP requests.
For example, IP requires the setting of many parameters within the protocol implementation software. Because IP can be used on many dissimilar kinds of network hardware, values for those parameters cannot be guessed or assumed to have correct defaults. Also, distributed address allocation schemes depend on a polling/defense mechanism for discovery of addresses that are already in use. IP hosts may not always be able to defend their network addresses, so that such a distributed address allocation scheme cannot be guaranteed to avoid allocation of duplicate network addresses.

DHCP supports three mechanisms for IP address allocation:

A particular network will use one or more of these mechanisms, depending on the policies of the network administrator.

Dynamic allocation is the only one of the three mechanisms that allows automatic reuse of an address that is no longer needed by the client to which it was assigned. Thus, dynamic allocation is particularly useful for assigning an address to a client that will be connected to the network only temporarily or for sharing a limited pool of IP addresses among a group of clients that do not need permanent IP addresses. Dynamic allocation may also be a good choice for assigning an IP address to a new client being permanently connected to a network where IP addresses are sufficiently scarce that it is important to reclaim them when old clients are retired.

Manual allocation allows DHCP to be used to eliminate the error-prone process of manually configuring hosts with IP addresses in environments where (for whatever reasons) it is desirable to manage IP address assignment outside of the DHCP mechanisms.

Terminology top

DHCP client
A DHCP client is an Internet host using DHCP to obtain configuration parameters such as a network address.
DHCP server
A DHCP server is an Internet host that returns configuration parameters to DHCP clients.
BOOTP relay agent
A BOOTP relay agent or relay agent is an Internet host or router that passes DHCP messages between DHCP clients and DHCP servers. DHCP is designed to use the same relay agent behavior as specified in the BOOTP protocol specification.
Binding
A binding is a collection of configuration parameters, including at least an IP address, associated with or "bound to" a DHCP client. Bindings are managed by DHCP servers.

Goal top

The following list gives general design goals for DHCP.

The following list gives design goals specific to the transmission of the network layer parameters. DHCP must:

Configuration of the DHCP port top

The Dynamic Host Configuration Protocol port is labelled within the Abilis CPX with the acronym "DHCP" and it is provided with the parameters described in this section.

Here is an example on how to display the DHCP port parameters. Shown values are the default ones.

[11:56:24] ABILIS_CPX: D P PO:DHCP

PO:912 ------------------------------------------------------------------------
DHCP   LOG:DS          lowpo:902    ACT:NO            srvport:67   cliport:68    
       msg-len:1472    mode:RELAY   MAX-HOPS:4        SRV:#    
       LOCIPADD:R-ID (192.168.000.060)   
       WDIR:C:\APP\DHCP\                     

The parameters set changes on the base of the type of the DHCP port behaviour, i.e. on the base of the current value of the mode: parameter. By default it is set to "RELAY".

Here is an example of DHCP port parameters, when the mode: parameter is set to "SERVER"

[11:56:24] ABILIS_CPX: D P PO:DHCP

PO:912 - Not Saved (SAVE CONF), Not Refreshed (INIT) --------------------------
DHCP   ------------------------------------------------------------------------
       LOG:DS          lowpo:902    ACT:NO            srvport:67   cliport:68    
       msg-len:1472    mode:SERVER  max-clients:300   ICMPCHK:NO      
       MAC-FILTER:YES  MAC-LIST:#                     MAC-RULE:DENY  
       WDIR:C:\APP\DHCP\                     

To activate changes made on the parameters displayed by low case characters, it is needed to restart the system; on the contrary for activating changes made on upper case parameters it is enough to execute the initialization command INIT PO:.
Changes made on LOG: parameter are immediately active.

The "Not Saved (SAVE CONF)" message is displayed every time the port configuration is modified but not saved with the SAVE CONF command.

The "Not Refreshed (INIT)" message is displayed every time the port configuration is modified but not refreshed with the INIT PO: command.

Detail of the DHCP port parameters


LOG: Events logging activation and generation of alarm signals
DS NO, D, S, A, L, T, ALL, +E

Usually this parameter makes possible to activate/deactivate logging functionalities of meaningful events of the port as well as the detection and signalling of alarms in case of critical events.

The following table shows the available options and the related functionalities usable by the parameter:

Option Meaning
D Recording of the driver state changes and/or the meaningful events in Debug Log
S Recording of the driver state changes and/or the meaningful events in the System Log
A Periodic detection of possible alarms. The detected alarms can be displayed the command ALARM VIEW or by the analogous command available on the UTILITY of the LCD display on the front panel
L On alarm detection, acoustic signal generation plus a message on the LCD display. This function depends on activation of alarms detection by the "A" option
T Generation by the Agent SNMP of Abilis CPX of SNMP traps corresponding to any change of the driver state and/or occurring of meaningful events

Beside the already described options the following values are also allowed:

Option Meaning
NO It means that all the logging functionalities, alarms detection and generation, above mentioned, are disabled.
ALL It means that all the logging functionalities, alarms detection and generation, above mentioned, are enabled.
+E This option added to one or more of the previous ones, extends its (their) set of meaningful events.
The value "ALL+E" activates all the options and extends the set of meaningful events.
The value "NO+E" is meaningless so it is ignored.

Options can be combined together.

Some examples:

By using the characters "+" and "-" as prefix of one or more options is possible to add or delete one or more functionalities without setting from the scratch the value of the parameters.

Some examples:

warning! The changes made on this parameter are immediately activated, without the need of initialization commands.


lowpo: Lower CPX port number
NONE NONE, 1 - 999

It sets the lower CPX port number. Only UDP are accepted.


ACT: Runtime activation/deactivation
NO NO, YES

This parameter allows to run-time activate/deactive DHCP functionalities.

When it is set to "NO", DHCP processing is disabled. The port is running but messages processing is disabled.
For BOOTP relay agent mode, it means that any received packet is discarded; for DHCP server mode any received packet is discarded but "leases timers" are not stopped.

When it is set to "YES", DHCP processing is enabled. The port is running and forwarding is enabled.


srvport: DHCP server port number
67 67

This is a read-only parameter, it shows the DHCP Server port number, that is currently fixed to 67.


cliport: DHCP Client port number
68 68

This is a read-only parameter, it shows the DHCP Client port number, that is currently fixed to 68.


msg-len: Maximum length of a DHCP messages
1472 548 - 2048 (bytes)

This parameter specifies specifies the maximum length of a DHCP messages (in bytes), which is actually the UDP payload.


mode: Working mode of DHCP port driver
SERVER SERVER, RELAY

This parameter specifies the mode of DHCP port working.

When it is set to "SERVER", the port behaves as DHCP server.

When it is set to "RELAY", the port behaves as BOOTP relay agent.


MAX-HOPS: Maximum DHCP relay agent hops
4 1 - 16

This parameter specifies the maximum number of DHCP relay agent hops, i.e. the maximum acceptable value for "hops" field in received BOOTREQUEST messages. Higher values causes the discard of the request, which in any case occours for "hops" field value greater then 16. Note that the "hops" field value is increased by each relay agent at forwarding time.

This parameter is available only when the port behaves as BOOTP relay agent, i.e. mode: is set to "RELAY".


SRV: DHCP Server to which requests must be forwarded
# #, ListName, 1-126.x.x.x, 128-223.x.x.x

This parameter specifies the DHCP Server to which requests must be forwarded. It can be set to an IP address, in Dotted Decimal Notation, or the the name of an IP list.

The value "#", stands for "no DHCP Server" and it means that the request cannot be forwarded and must be discarded.

Acceptable IP adresses are shown in the following table:

HEX: 01000000 - 7EFFFFFF 80000000 - DFFFFFFF
DDN: 1.0.0.0 - 126.255.255.255 128.0.0.0 - 223.255.255.255

IP addresses of class D and E are not currently supported.

The name of the IP list must be a string of up to 20 characters in the range [0..9, a..z, A..Z, _] and it must correspond to the name of a list already defined in the Elements Lists service.

This parameter is available only when the port behaves as BOOTP relay agent, i.e. mode: is set to "RELAY".


LOCIPADD: Source IP address used for the requests relayed to DHCP Server(s)
R-ID R-ID, OUT-IPP, 1-126.x.x.x, 128-223.x.x.x

This parameter specifies the IP address that DHCP relay agent will use as "source address" in the requests relayed to the server(s).

In multiple interface systems, like a router is, it is necessary to have the possibility of choosing which of the IP addresses assigned to the system have to be used. These "system addresses" are the IP addresses of each interface and the R-ID (i.e an IP address elected as router identifier).

When the parameter is set to "R-ID", the router identifier will be used.

When the parameter is set to "OUT-IPP", the IP addresses of the interface from which the data is forwarded will be used.

An IP address in dotted decimal notaticon can also be set. Acceptable IP adresses are shown in the following table:

HEX: 01000000 - 7EFFFFFF 80000000 - DFFFFFFF
DDN: 1.0.0.0 - 126.255.255.255 128.0.0.0 - 223.255.255.255

IP addresses of class D and E are not currently supported.

This parameter is available only when the port behaves as BOOTP relay agent, i.e. mode: is set to "RELAY".


max-clients: Maximum number of supported DHCP clients
300 100 - 1000

This parameter specifies the maximum number of supported DHCP clients. It actually determines the size of the binding database on disk and in memory. It is important that changes to this value do not cause inconsistencies in the database.
If the new size is greater then the previous one, please check the amount of available memory and disk space.
If the new size is lower then the previous one, you should take into consideration that some information will be discarded. Anyway only discardable bindings will be discarded, all the others will be preserved.

This parameter is available only when the port behaves as DHCP server, i.e. mode: is set to "SERVER".


ICMPCHK: ICMP check for incoming requests activation
NO NO, YES

This parameter enables ICMP checking of IP address.

When it is set to "NO", ICMP checking is disabled.

When it is set to "YES", ICMP checking is enabled. Before the server sends the DHCPOFFER message it sends two (with 500 msec and 1500 msec timeouts) ICMP ping requests to check the IP address which was allocated. If both timeouts expire, then the server will send the DHCP offer message, otherwise it will mark this IP address as abandoned and will not send response.

This parameter is available only when the port behaves as DHCP server, i.e. mode: is set to "SERVER".


MAC-FILTER: Enable/disable the selection of serviceable clients based on their MAC address
NO YES, NO

This parameter enables/disables the selection of serviceable clients based on their MAC address.

When it is set to "NO", MAC filtering is disabled. i.e. requests from any MAC address is served.

When it is set to "YES", MAC filtering is enabled. When DHCP receives an incoming request and before processing it, the DHCP verifies that the sender's MAC address is allowed by using MAC-LIST: and MAC-RULE: parameters current setting.

This parameter is available only when the port behaves as DHCP server, i.e. mode: is set to "SERVER".


MAC-LIST: MAC addresses filtering list
# #, ListName

This parameter allow to select a list of MAC addresses that must be used for the selection of serviceable clients based on their MAC address.

The name of the selected list must be a string of up to 20 characters in the range [0..9, a..z, A..Z, _]; it must be the name of a MAC or a RU or a MR list already defined in the Elements Lists.

The value '#', stands for "no MAC addresses list" and if the MAC-RULE: parameter is currently set to "PERMIT", the result is that any request is ignored, because, by default, every MAC is denied and there is no list specifying permitted MAC addresses.

This parameter is available only when the port behaves as DHCP server, i.e. mode: is set to "SERVER", and when the MAC-FILTER: parameter is set to "YES".


MAC-RULE: MAC addresses filtering type
DENY DENY, PERMIT

This parameter selects how to use the MAC addresses filtering list defined in MAC-LIST:.

When it is set to "DENY", MAC addresses specified in the list MAC-LIST: are denied only; all the others are permitted.

When it is set to "PERMIT", MAC addresses specified in the list MAC-LIST: are permitted only; all the others are denied.

This parameter is available only when the port behaves as DHCP server, i.e. mode: is set to "SERVER", and when the MAC-FILTER: parameter is set to "YES".


WDIR: Directory where DHCP.BND file is located
C:\APP\DHCP\ from 1 up to 128 ASCII extended characters [32..255]

This parameter selects the directory where DHCP.BND file is saved. It cannot be empty. It must be a physical full path in DOS notation, i.e. starting with a drive letter in the range ['A'..'Z'] and ending with the '\' character. The maximum accepted working directory string length is 128 characters. Case is preserved and spaces are allowed, but strings holding spaces must be written between quotation marks (E.g.: "C:\My dir\").

Statistics of the DHCP port top

Example on how to show state and statistics of the DHCP port through the command D S:

[11:40:35] ABILIS_CPX: D S PO:DHCP

PO:912 ------------------------------------------------------------------------
DHCP   MODE:RELAY     STATE:INACT     
       ------------------------------------------------------------------------
       Server mode
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       REQUESTS   |          0|           |RESPONSES  |           |          0|
       CHAR       |          0|          0|PCK        |          0|          0|
       LONG       |          0|          0|BAD-FORMAT |          0|           |
       UNK-IPP    |          0|           |           |           |           |
       DISCOVER   |          0|           |OFFER      |           |          0|
       REQUEST    |          0|           |ACK        |           |          0|
       DECLINE    |          0|           |NAK        |           |          0|
       RELEASE    |          0|           |           |           |           |
       INFORM     |          0|           |
       ------------------------------------------------------------------------
       Relay mode
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       REQUESTS   |          0|          0|RESPONSES  |          0|          0|
       HOP-EXCEED |          0|           |BAD-GW     |          0|           |
       ------------------------------------------------------------------------

Example on how to show extended statistics of the DHCP port through the command D SE:

[17:12:45] ABILIS_CPX: D SE PO:DHCP

PO:912 ------------------------------------------------------------------------
DHCP   --- Cleared 000:00:07:09 ago, on 02/04/2004 at 17:05:39 ----------------
       ------------------------------------------------------------------------
       Server mode
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       REQUESTS   |          0|           |RESPONSES  |           |          0|
       CHAR       |          0|          0|PCK        |          0|          0|
       LONG       |          0|          0|BAD-FORMAT |          0|           |
       UNK-IPP    |          0|           |           |           |           |
       DISCOVER   |          0|           |OFFER      |           |          0|
       REQUEST    |          0|           |ACK        |           |          0|
       DECLINE    |          0|           |NAK        |           |          0|
       RELEASE    |          0|           |           |           |           |
       INFORM     |          0|           |
       ------------------------------------------------------------------------
       Relay mode
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       REQUESTS   |          0|          0|RESPONSES  |          0|          0|
       HOP-EXCEED |          0|           |BAD-GW     |          0|           |
       ------------------------------------------------------------------------

The information "Cleared DDD:HH:MM:SS ago, at DD/MM/YYYY HH:MM:SS", referred by the extended statistics, shows the elapsed time from the last reset of the statistics (by the format "days:hours:minutes:seconds") and date/time of its execution (by the format "day/month/year" and "hours:minutes:seconds").

Details of the state fields and statistics of the DHCP port


MODE: Current behaviour of the DHCP port
SERVER, RELAY

It shows the current behaviour of the DHCP port driver.

When it is set to "SERVER", the port behaves as DHCP server.

When it is set to "RELAY", the port behaves as BOOTP relay agent.


STATE: Current state of DHCP port driver
DOWN, INACT, STOP, ACTIVE, ERR

It shows the current state of the DHCP port driver.

Driver States Description Values shown in:
System Log Events Log Display LCD
DHCP DOWN State set when registration to lower UDP port fail.     dn
INACT DHCP port is running, but the ACT: parameter is set to "NO".
All the incoming requests/responses will be silently dropped at their arrival, without requiring CPU time for their verification.
    in
STOP Server mode only. The driver is fully ready to work but it cannot create/write the bindings file "DHCP.BND". Possible causes:
  • the file is corrupted;
  • the disk is corrupted;
  • the disk is write protected.
Try to remove the cause of stopped state and execute the INIT PO: command.
    st
ACTIVE The driver is fully ready to work: no errors with UDP service and ACT: parameter is set to "YES".     RD
ERR Software error. Contact Abilis CPX assistance.     NA


Server mode - REQUESTS Total number of packets sent from DHCP client to DHCP server
0 - 4294967295

It shows the total number of packets sent from DHCP client to DHCP server.


Server mode - RESPONSES Total number of packets sent from DHCP server to DHCP client
0 - 4294967295

It shows the total number of packets sent from DHCP server to DHCP client.


Server mode - CHAR Number of received and sent characters
0 - 4294967295

It shows the total number of received (INPUT) and sent (OUTPUT) characters. UDP interface overhead excluded.


Server mode - PCK Number of received and sent packets
0 - 4294967295

It shows the total number of received (INPUT) and sent (OUTPUT) packets.


Server mode - LONG Number of lost too long received incoming and not sent outgoing DHCP packets
0 - 4294967295

It shows the total number of lost received (INPUT) and number of not sent (OUTPUT) DHCP packets which are too long for the configured msg-len value from configuration.

Actually no packets are sent with too long length.


Server mode - BAD-FORMAT Number of lost received DHCP packets with bad format
0 - 4294967295

It shows the total number of lost recieved DHCP packets with bad format.


Server mode - UNK-IPP Number received packets with "unkwon" IP interface
0 - 4294967295

It shows the total number of received packets with "unkwon" IP interface (IP port). This situation can occour only for software bugs.


Server mode - DISCOVER Number of received DHCPDISCOVER packets
0 - 4294967295

It shows the number of received DHCPDISCOVER packets from the DHCP client.


Server mode - OFFER Number of sent DHCPOFFER packets
0 - 4294967295

It shows the number of sent DHCPOFFER packets to the DHCP client.


Server mode - REQUEST Number of received DHCPREQUEST packets
0 - 4294967295

It shows the number of received DHCPDISCOVER packets from the DHCP client.


Server mode - ACK Number of sent DHCPACK packets
0 - 4294967295

It shows the number of sent DHCPACK packets to the DHCP client.


Server mode - DECLINE Number of received DHCPDECLINE packets
0 - 4294967295

It shows the number of received DHCPDECLINE packets from the DHCP client.


Server mode - NAK Number of sent DHCPNAK packets
0 - 4294967295

It shows the number of sent DHCPNAK packets to the DHCP client.


Server mode - RELEASE Number of received DHCPRELEASE packets
0 - 4294967295

It shows the number of received DHCPRELEASE packets from the DHCP client.


Server mode - INFORM Number of received DHCPINFORM packets
0 - 4294967295

It shows the number of received DHCPINFORM packets from the DHCP client. Actually this type of packet is not handled.


Relay mode - REQUESTS Number of requests received from client and relayed to the servers
0 - 4294967295

It shows the total number of good incoming requests received from client which are suitable for relaying (INPUT) and the total number of requests actually relayed to the servers (OUTPUT). In the case of multiple servers the counter is increased for each of them.


Relay mode - RESPONSES Number of responses received from server(s) and relayed to the client
0 - 4294967295

It shows the total number of good incoming responses received from server(s) which are suitable for relaying to the client (INPUT) and the total number of responses actually relayed to the client (OUTPUT).


Relay mode - HOP-EXCEED Number of discarded requests with  exceeded "hops number" value in the packet
0 - 4294967295

Number of discarded requests because the "hops number" value in the DHCP packet exceeded the threshold.
Incremented for client's request that was already relayed by several agents and their count, present in 'hops' field of the recived packet, exceeds the threshold configured in MAX-HOPS.


Relay mode - BAD-GW Number of discarded responses for "not matching" gateway address
0 - 4294967295

It shows the total number of discarded responses for "not matching" gateway address ('giaddr' field in DHCP packet).
Incremented for every server's response packet whose 'giaddr' field value does not match any address of the router's interfaces.

DHCP bindings table top

A bindings table is the memory data base which stores bindings allocated for DHCP clients.

A binding record includes the information about allocated IP address, start time and end time of lease, profile which is currently used by a DHCP client and some other information.

The Table of DHCP bindings is used in server mode only.

It is stored in the "DHCP.BND" file in the location defined by the WDIR: parameter, that is by default the "C:\APP\DHCP\" directory, and it allows storage of up to max-clients: bindings, one per each record.
Every one minute the DHCP server checks the bindings table in the memory and, if the table was changed since the last time it was updated, the DHCP server saves all bindings to the file.

During Abilis CPX DHCP port start-up the DHCP driver tries to read the bindings table from the disk.
If the DHCP server finds the bindings file, it check wheter the file is can be updated, making a write operation try.
If the writing attempt is successful the DHCP server goes to the ACTIVE state.
If writing attempt fails the DHCP server goes to the STOP state; it writes a warning message into the System Log (i.e. "W: DHCP STOPPED") and it doesn't load the bindings "DHCP.BND" file content.
If the DHCP server doesn't find the bindings file, it tries to create it. If it is not possible the server goes to the STOP state and it writes a warning message into the System Log (i.e. "W: DHCP STOPPED").

If the server is in the STOP state you must check the disk (remove protection, etc.), try to remove the cause of stopped state and execute the INIT PO: command. The server will retry to check and load the binding file.

After loading the bindings from the "DHCP.BND" file, the DHCP server checks the bindings according to the current configuration of the DHCP driver and binding record that don't conform to the current configuration will be marked as "not valid" and they will not be used by the DHCP server.

The DHCP server makes the next checks of the loading bindings and marks the binding as "invalid" in all the following cases:

If the binding is static (i.e. allocated from the hosts):

if the binding is dynamic (i.e. allocated from the pools):

warning! Be careful when you change the configuration parameters.


Commands for handling Table of DHCP bindings are described in the DHCP bindings section of the document Commands relating to DHCP.

The available commands are the following:

C DHCP BIND
D DHCP BIND
D DHCP BINDE

In the following example are displayed all the entries of the table of Table of DHCP bindings. Displayed values are samples.

[19:07:12] ABILIS_CPX: D DHCP BIND

------------------+----------------+------+-----------------+------------------
MAC:              |IP              |PROF: |Last request(GMT)|Expiry on(GMT)   
------------------+----------------+------+-----------------+------------------
11-11-23-11-11-11  192.168.000.123    128  20/12/2002 10:10  29/12/2002 10:10     
11-11-23-11-11-11  010.010.010.005     21  20/12/2002 10:16  21/11/2002 10:16 E
11-11-23-11-11-15  192.168.000.150   NONE  20/12/2002 10:20  23/12/2002 10:10     
11-11-23-11-11-12  192.168.000.124      5  20/12/2002 10:30  21/11/2002 10:30 E
11-11-23-11-11-12  192.168.000.124      5  20/12/2002 10:40  23/12/2002 10:10

In the following example are displayed all the entries of the table of Table of DHCP bindings in extended format. Displayed values are samples.

[19:07:12] ABILIS_CPX: D DHCP BINDE

----+-----+-------------------+-----------------+-------+----------------------
 O: | ST: | MAC:              | IP:             | PROF: | Last request(GMT)   
                                                        | Expiry on(GMT)   
----+-----+-------------------+-----------------+-------+----------------------
 H    EXP   11-11-23-11-11-11   192.168.000.123     128   21/12/2002 10:10:10
                                                          21/12/2002 11:10:10
-------------------------------------------------------------------------------
 P    ACT   11-11-23-11-11-11   010.010.010.005     128   21/12/2002 10:10:10
                                                          29/12/2002 12:10:00
-------------------------------------------------------------------------------
 H    REL   11-11-23-11-11-15   192.168.000.150     128   21/12/2002 10:10:10
                                                          24/12/2002 11:10:10
-------------------------------------------------------------------------------
 H    ABD   11-11-23-11-11-30   000.000.000.000      10   21/12/2002 10:10:10
                                                          23/12/2002 11:10:10
-------------------------------------------------------------------------------
 P    ACT   11-11-23-11-11-12   192.168.000.124    NONE   21/12/2002 10:10:10
                                                          25/12/2002 11:10:10
-------------------------------------------------------------------------------
 P    EXP   11-11-23-11-11-18   192.168.000.100       5   21/12/2002 10:10:10
                                                          21/12/2002 11:10:10
-------------------------------------------------------------------------------

Binding records can also be cleared, however this action is very dangerous and it should carefully evaluated by the user.

The current user interface allows the clear all the records currently present in the database in memory and/or to clear a specific record by specifying the IP address binded to the client. In both cases the user confirmation is requested before the command execution.

Here there are few samples of bindings clear commands:

[15:00:45] ABILIS_CPX: C DHCP BIND IP:A

YOU ARE GOING TO DELETE THE WHOLE CONTENT OF THE DHCP BINDINGS DATA BASE IN MEMORY.
DO YOU WANT TO PROCEES (Y/N)? Y

COMMAND EXECUTED
[15:00:45] ABILIS_CPX: C DHCP BIND IP:192.168.0.60

YOU ARE GOING TO DELETE THE SPECIFIED DHCP BINDING ENTRY FROM THE DATA BASE IN MEMORY.
DO YOU WANT TO PROCEES (Y/N)? Y

COMMAND EXECUTED

Details of Binding record's parameters


O: Origin of the binding
H, P, ?

Specifies the origin of the binding:


ST: State of the binding
see below

Specifies state of the binding at current time.

State Description
REL Released: DHCP client released IP address and cancelling remaining lease.
ACT Active: Value of expiry time greate than current time and bind is not abandoned or released.
EXP Expiried: Value of expiry time less than current time.
ABD Abandoned: DHCP client indicated to server that network address is already in use.
UNK Unknown state. Error.


MAC: Binded MAC address of client
00:00:00:00:00:00-FF:FF:FF:FF:FF:FF

Specifies the binded MAC address of the DHCP client.


IP: IP address binded to the client
1.0.0.0-126.255.255.255
128.0.0.0-223.255.255.255

Specify the IP address assigned to the DHCP client with the MAC address.


PROF: DHCP profile identifier
NONE, 1-128

Specifies the identifier of DHCP profile from profiles table used at binding time.


Last request: GMT Date and time value when the lease was assigned/renewed last time
dd/mm/yyyy hh:mm:ss

Specifies the GMT date and time value when the lease was assigned/renewed the last time.


Expiry on: GMT Date and time value when the lease will expire
dd/mm/yyyy hh:mm:ss

Specifies the GMT date and time value when the lease will expire.


Table of types of hardware addresses top

Number Hardware type
1 Ethernet (10Mb)
2 Experimental Ethernet (3Mb)
3 Amateur Radio AX.25
4 Proteon ProNET Token Ring
5 Chaos
6 IEEE 802 Networks
7 ARCNET
8 Hyperchannel
9 Lanstar
10 Autonet Short Address
11 LocalTalk
12 LocalNet (IBM PCNet or SYTEK LocalNET)
13 Ultra link
14 SMDS
15 Frame Relay
16 Asynchronous Transmission Mode (ATM)
17 HDLC
18 Fibre Channel
19 Asynchronous Transmission Mode (ATM)
20 Serial Line
21 Asynchronous Transmission Mode (ATM)
22 MIL-STD-188-220
23 Metricom
24 IEEE 1394.1995
25 MAPOS

warning! NOTE: Current version of DHCP server supports only 1 and 6 types.

printPrint this page