PAMSPAN501x G.SHDSL.bis EFM Gateway
-
45
The following option sets the IP address of an IRC (Internet Relay Chat) server
:
#> dhcpserver subnet LAN add option irc-server 10.5.7.20
The following option allows the use of address auto-configuration by clients on the
network.
This is applicable when the DHCP server is unable to supply a lease to clients. If
this option is set to 1, an IP address is automatically configured for the client:
#> dhcpserver subnet LAN add option auto-configure 1
You can prompt the DHCP server to issue a DHCPFORCERENEW message to the
DHCP client at a given IP address. Note that the server will only do this if the
DHCP client is on one of the subnets that the DHCP server has been configured to
serve. The client must also be configured to respond to DHCPFORCERENEW
requests as described in
Configuring DHCP Client
. Enter the following:
#> dhcpserver forcerenew 192.168.1.10
You can also add a fixed host mapping to the DHCP server configuration. This
allows you to configure the DHCP server to assign a specific IP address to a
specific DHCP client based on the client’s MAC address. Enter:
#> dhcpserver add fixedhost myhost 192.168.1.20 00:20:2b:01:02:03
This adds a fixed mapping of the IP address 192.168.1.20 to a host whose Ethernet
MAC address is 00:20:2b:01:02:03. If your fixed IP mapping overlaps with an IP
address in a dynamic address range, then the fixed mapping will always supersede
the dynamic address, and so that IP address will only ever be assigned to the given
host. You will still need to have a suitable subnet declaration – for example, a
subnet 192.168.1.20 with netmask 255.255.255.0, as shown earlier. Any
configuration options you define in this subnet will also be offered to any fixed host
you have added which is also on the given subnet. You can also assign a
maximum lease duration to fixed DHCP clients as follows:
#> dhcpserver set fixedhost myhost maxleasetime 7200
In this context, a fixed lease duration would usually be used to allow DHCP clients
to quickly see changes in the offered options. The IP address itself is always
guaranteed to be available for assignment to the specific host (unless there are
other DHCP servers on the same network that are deliberately configured to