DHCP Hosts, DHCP Profiles and DHCP Subnets Tables

Revised for CPX 4.7.0.
Configuration of DHCP Hosts
Configuration of DHCP Profiles
Configuration of DHCP Subnets



Configuration of DHCP Hosts top

The DHCP Hosts table can hold up to 500 definitions, indexed from 1 up to 500 hosts bindings.

The table of DHCP Hosts can be modified while the Abilis CPX is working without needing to restart it. Changes made on the table can be activated by executing the initialization command INIT PO:xxx, where "xxx" is the DHCP port number.

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

The available commands are the following:

A DHCP HOST MAC:val
A DHCP HOST:val
C DHCP HOST MAC:val
C DHCP HOST:val
D DHCP HOST [MAC:val]
D DHCP HOST:val
S DHCP HOST:val

In the following example are displayed all the entries of the table of DHCP Hosts.

[11:38:42] ABILIS_CPX: D DHCP HOST

- Not Saved (SAVE CONF), Not Refreshed (INIT) ---------------------------------

HOST:|MAC:              |IP:             |PROF:               
-------------------------------------------------------------------------------
  1   00-00-00-00-00-01  001.001.001.001  LAN
  3   00-00-00-00-00-30  001.001.001.003  1
  4   00-00-00-00-00-02  000.000.000.000  LAN
 10   00-00-00-00-00-01  001.001.001.010  2

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

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

Detail of DHCP host's parameters


HOST: Host identifier
no default 1..500

It is the host definition identifier. The identifier is a numeric value in the range [1..500] that is assigned by the system to the DHCP host definition when it is added the first time. It can be used for clearing/displaying and setting operations to reference the host definition.


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

This parameter specifies the MAC address of the client to which assign IP address, when the request arrives from the subnet valid for this IP address.


IP: IP address
0.0.0.0 0.0.0.0, 1.0.0.0-126.255.255.255, 128.0.0.0-223.255.255.255

This parameter specifies the IP address to assgined to requests coming from the subnet valid for this IP and MAC of request is equal to MAC value from this host record.

If the IP address is equal to 0.0.0.0 (unasigned) and MAC of request is equal to MAC: value from this host record DHCP server will use Profile from this host record and IP address will be assigned from subnet pools (POOL5:..POOL5:).


PROF: DHCP Profile identifier
LAN LAN, 1..128

This parameter specifies the identifier of DHCP Profile identifier from the table of DHCP Profiles to be used if MAC of request is equal to MAC of this record.

If profile is set to "LAN", DHCP will use the subnet profile or even none in the case that the subnet have not a valid profile configured.
If profile is ste to a value in the range [1..128], DHCP will use the specified one. If the profile doesn't exist DHCP will not use any profile.

Configuration of DHCP Profiles top

The DHCP Profiles table can hold up to 129 definitions, indexed from 0 up to 128.

The first definition, i.e. the profile identified by the index equal to zero, is a default profile that is always present within the table and that cannot be deleted by the user. Instead the user can arbitrarily add/delete the definitions from the index 1 to 128.

The table of DHCP Profiles can be modified while the Abilis CPX is working without needing to restart it. Changes made on the table can be activated by executing the initialization command INIT PO:xxx, where "xxx" is the DHCP port number.

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

The available commands are the following:

A DHCP PROF:val
C DHCP PROF:val
D DHCP PROF
D DHCP PROF:val
S DHCP PROF:val

In the following example are displayed all the entries of the table of DHCP Profiles. As it can be seen, this command shows synthetically the current content of the table of DHCP Profiles. Displayed values are only samples.

[18:35:50] ABILIS_CPX: D DHCP PROF

- Not Saved (SAVE CONF), Not Refreshed (INIT) ---------------------------------

PROF: |NAME:        
-------------------------------------------------------------------------------
  0    Default_profile
  5    This_is_the_name_of_profile_5

The following sample shows how to display all definitions in details:

[15:00:45] ABILIS_CPX: D DHCP PROF:A

- Not Saved (SAVE CONF), Not Refreshed (INIT) ---------------------------------

Parameter     |Value
-------------------------------------------------------------------------------
PROF:          0
NAME:          Default_profile
-------------------------------------------------------------------------------
PROF:          5
NAME:          This_is_the_name_of_profile_5
GW1:           192.168.000.253
TIME:          001.001.001.001
-------------------------------------------------------------------------------

Because every DHCP profile entry has several parameters, to keep the visualization as short as possible, the command doesn't display information about parameters set to their default values. Such information is displayed only if the parameters are set to not default values.

The following sample shows how to display a single definition:

[15:00:45] ABILIS_CPX: D DHCP PROF:5

- Not Saved (SAVE CONF), Not Refreshed (INIT) ---------------------------------

Parameter     |Value
-------------------------------------------------------------------------------
PROF:          5
NAME:          This_is_the_name_of_profile_5
GW1:           192.168.000.253
TIME:          001.001.001.001
-------------------------------------------------------------------------------

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

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

Detail of DHCP profile's parameters


PROF: DHCP profile identifier
empty 0..128

This parameter specifies the identifier of the profile.


NAME: DHCP profile name
empty from 0 up to 32 ASCII printable characters

This parameter specifies the name of the profile.


TTL: IP time-to-live
0 0, 1..255

This parameter specifies the default time-to-live that the client should use on outgoing datagrams.

The value "0" means "not present".


KEEPALIVE: TCP keepalive interval
0 0, 15..65535 sec.

This parameter specifies the interval (in seconds) that the client should wait before sending a keepalive message on a TCP connection.

The value "0" means "not present".


NB-SCOPE-ID: Netbios scope identifier
empty from 0 up to 32 ASCII printable characters

This parameter specifies the NetBIOS over TCP/IP scope parameter for the client as specified in RFC1001/1002.


NB-NODE-TYPE: Netbios node type
UNK UNK, B, P, M, H

This parameter allows NetBIOS over TCP/IP clients which are configurable to be configured as described in RFC1001/1002.
The value is specified as follows:

Value Node Type
UNK Undefined
B B-node
P P-node
M M-node
H H-node


DOMAIN: IP domain name
empty from 0 up to 32 ASCII printable characters

This parameter specifies the domain name that client should use when resolving hostnames via the Domain Name System.


GW1: First gateway
0.0.0.0 0.0.0.0, 1.0.0.0-126.255.255.255, 128.0.0.0-223.255.255.255

This parameter specifies the first gateway IP address.


GW2: Second (backup) gateway
0.0.0.0 0.0.0.0, 1.0.0.0-126.255.255.255, 128.0.0.0-223.255.255.255

This parameter specifies the second (backup) gateway IP address.


GW3: Third (backup) gateway
0.0.0.0 0.0.0.0, 1.0.0.0-126.255.255.255, 128.0.0.0-223.255.255.255

This parameter specifies the third (backup) gateway IP address.


DNS1: Primary Domain Name server
0.0.0.0 0.0.0.0, 1.0.0.0-126.255.255.255, 128.0.0.0-223.255.255.255

This parameter specifies the Primary Domain Name Server IP address.


DNS2: Secondary Domain Name server
0.0.0.0 0.0.0.0, 1.0.0.0-126.255.255.255, 128.0.0.0-223.255.255.255

This parameter specifies the Secondary Domain Name Server IP address.


SMTP: Simple Mail Transport Protocol (SMTP) server
0.0.0.0 0.0.0.0, 1.0.0.0-126.255.255.255, 128.0.0.0-223.255.255.255

This parameter specifies the Simple Mail Transport Protocol (SMTP) server IP address.


POP3: Post Office Protocol (POP3) server
0.0.0.0 0.0.0.0, 1.0.0.0-126.255.255.255, 128.0.0.0-223.255.255.255

This parameter specifies the Post Office Protocol (POP3) server IP address.


NNTP: Network News Transport Protocol (NNTP) server
0.0.0.0 0.0.0.0, 1.0.0.0-126.255.255.255, 128.0.0.0-223.255.255.255

This parameter specifies the Network News Transport Protocol (NNTP) server IP address.


WWW: World Wide Web (WWW) server
0.0.0.0 0.0.0.0, 1.0.0.0-126.255.255.255, 128.0.0.0-223.255.255.255

This parameter specifies the World Wide Web (WWW) server IP address.


FINGER: Finger server
0.0.0.0 0.0.0.0, 1.0.0.0-126.255.255.255, 128.0.0.0-223.255.255.255

This parameter specifies the Finger server IP address.


IRC: Internet Relay Chat server
0.0.0.0 0.0.0.0, 1.0.0.0-126.255.255.255, 128.0.0.0-223.255.255.255

This parameter specifies the Internet Relay Chat server IP address.


NTP: NTP/SNTP server
0.0.0.0 0.0.0.0, 1.0.0.0-126.255.255.255, 128.0.0.0-223.255.255.255

This parameter specifies the NTP/SNTP server IP address.


TIME: TIME server
0.0.0.0 0.0.0.0, 1.0.0.0-126.255.255.255, 128.0.0.0-223.255.255.255

This parameter specifies the TIME server (RFC868) IP address.


WINS1: First WINS server
0.0.0.0 0.0.0.0, 1.0.0.0-126.255.255.255, 128.0.0.0-223.255.255.255

This parameter specifies the first WINS server IP address.


WINS2: Second WINS server
0.0.0.0 0.0.0.0, 1.0.0.0-126.255.255.255, 128.0.0.0-223.255.255.255

This parameter specifies the second WINS server IP address.

Configuration of DHCP Subnets top

The DHCP Subnets table can hold up to 128 definitions.

The table of DHCP Subnets can be modified while the Abilis CPX is working without needing to restart it. Changes made on the table can be activated by executing the initialization command INIT PO:xxx, where "xxx" is the DHCP port number.

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

The available commands are the following:

A DHCP LAN NET:val
A DHCP LAN:val
C DHCP LAN NET:val
C DHCP LAN:val
D DHCP LAN
D DHCP LAN:val
S DHCP LAN NET:val
S DHCP LAN:val

In the following example are displayed all the entries of the table of DHCP Subnets in a synthetic format.

[15:00:45] ABILIS_CPX: D DHCP LAN

LAN: |NET:            |MASK:     
-------------------------------------------------------------------------------
  1   192.000.123.000  255.255.255.000
  5   192.168.000.000  255.255.255.000

The following sample shows how to display a single definition:

[15:00:45] ABILIS_CPX: D DHCP LAN:5

- Not Saved (SAVE CONF), Not Refreshed (INIT) ---------------------------------

Parameter     |Value
-------------------------------------------------------------------------------
LAN:           5
NAME:          The name of this subnet is LOCAL-LAN
NET:           192.168.0.0/24
MASK:          255.255.255.0
POOL1:         192.168.0.10:192.168.0.254
DEF-LEASE:     36000
MAX-LEASE:     36000
PROF:          5 (Local lan 192.168.0.0/24)  

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

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

Detail of DHCP subnet's parameters


LAN: DHCP subnet identifier
empty 1..128

This parameter specifies the subnet record numeric identifier.


NAME: Name of DHCP subnet
empty [from 0 up to 32 ASCII printable characters

This parameter specifies the name of the subnet.


NET: Network address
0.0.0.0 0.0.0.0
1.0.0.0-126.255.255.255
128.0.0.0-223.255.255.255

This parameter specifies the network IP address of the DHCP subnet.


MASK: Network mask
0.0.0.0 0.0.0.0
128.0.0.0-255.255.255.252

This parameter specifies the mask related to the network (NET:) of the DHCP subnet.


POOL1: First IP pool
0.0.0.0 see below

This parameter specifies the first IP pool of addresses.

A single IP address value, in Dotted Decimal Notation, in the range [1.0.0.0-126.255.255.255, 128.0.0.0-223.255.255.255] is accepted; or two IP addresses, in Dotted Decimal Notation, separated by ':' (colon) can be set (E.g.: 150.200.192.192 or 192.168.0.0:192.168.0.100 ).


POOL2: Second IP pool
0.0.0.0 see below

This parameter specifies the second IP pool of addresses.

A single IP address value, in Dotted Decimal Notation, in the range [1.0.0.0-126.255.255.255, 128.0.0.0-223.255.255.255] is accepted; or two IP addresses, in Dotted Decimal Notation, separated by ':' (colon) can be set (E.g.: 150.200.192.192 or 192.168.0.0:192.168.0.100 ).


POOL3: Third IP pool
0.0.0.0 see below

This parameter specifies the third IP pool of addresses.

A single IP address value, in Dotted Decimal Notation, in the range [1.0.0.0-126.255.255.255, 128.0.0.0-223.255.255.255] is accepted; or two IP addresses, in Dotted Decimal Notation, separated by ':' (colon) can be set (E.g.: 150.200.192.192 or 192.168.0.0:192.168.0.100 ).


POOL4: Fourth IP pool
0.0.0.0 see below

This parameter specifies the fourth IP pool of addresses.

A single IP address value, in Dotted Decimal Notation, in the range [1.0.0.0-126.255.255.255, 128.0.0.0-223.255.255.255] is accepted; or two IP addresses, in Dotted Decimal Notation, separated by ':' (colon) can be set (E.g.: 150.200.192.192 or 192.168.0.0:192.168.0.100 ).


POOL5: Fifth IP pool
0.0.0.0 see below

This parameter specifies the fifth IP pool of addresses.

A single IP address value, in Dotted Decimal Notation, in the range [1.0.0.0-126.255.255.255, 128.0.0.0-223.255.255.255] is accepted; or two IP addresses, in Dotted Decimal Notation, separated by ':' (colon) can be set (E.g.: 150.200.192.192 or 192.168.0.0:192.168.0.100 ).


DEF-LEASE: Default lease time of the IP address
36000 60..1000000 sec.

This parameter specifies the default lease time of the IP address in seconds. This value will be assigned to the client if client doesn't request IP lease.


MAX-LEASE: Maximum lease time of the IP address
36000 60..1000000 sec.

This parameter specifies the maximum value of lease time of the IP address in seconds. This value will be assigned to the client if client requests IP lease more than one.

Maximum lease time of the IP address must be equal or greater than DEF-LEASE: value.


PROF: DHCP Profile identifier
0 NONE, 1..128

This parameter specifies the identifier of DHCP Profile from the table of DHCP Hosts to be used when assigning an IP from the pool, or for static hosts belonging to this subnet has Profile Id equal to NONE.

printPrint this page