dhcp

NAME
SYNOPSIS
DESCRIPTION
LIMITATIONS
SEE ALSO
AUTHOR
COPYRIGHT

NAME

dhcp - Manage the DHCP server

SYNOPSIS

[1] dhcp [range [raz | (add | del) <ip1> <ip2>]]

[2] dhcp [fixed [raz | add <hostname> <mac-address> <ip> | del <hostname>]]

[3] dhcp [peer (master | slave) [raz | (add | del) <peer-ip>]]

[4] dhcp report

DESCRIPTION

CacheGuard integrates a built-in DHCP (Dynamic Host Configuration Protocol) server. This command allows you to configure the DHCP server. See the command mode to activate the DHCP server.

Without any argument, this command displays the DHCP configuration. To display only a specific DHCP feature give the DHCP feature name (range, fixed or peer).

The first usage form allows you to add or delete an IP range. To add a DHCP IP range use the keywords range add followed by the lowest and highest IP addresses in a range. To delete a DHCP IP range use the keywords range del followed by the lowest and highest IP addresses in a range. To erase all ranges, use the keywords range raz.

Note that the DHCP server supports a limited number of IP address leases. The maximum number of supported IP address leases is the number of users configured during the installation phase.

The second usage form allows you to associate a fixed IP address to a client. To associate a fixed IP address to a client use the keywords fixed add followed by the host name of the client, its MAC address and the fixed IP address. A valid MAC address is a sequence of 6 hexadecimal values between 00 and FF separated by the colon (":") character (for instance 00:01:02:03:04:05). To disassociate a fixed IP address from a client use the keywords fixed del followed by the host name of the client. To erase the list of fixed IP address use keywords fixed raz.

The third usage form allows you to define a remote DHCP server as a failover peer for the local DHCP server. When using the DHCP failover feature, two CacheGuards must be configured as DHCP peer servers each for other (one must be configured as master and the other as slave).

To define a remote CacheGuard as a DHCP peer server for the local CacheGuard, use the keywords peer add followed by the role and the internal IP address of the remote CacheGuard (when using VLANs, give the IP address configured for the peer VLAN on the remote CacheGuard). The role is defined using the keywords master or slave.

To delete a DHCP peer server use the keywords peer del followed by the role and IP address of the remote CacheGuard. To erase all DHCP peer servers use the keywords peer raz.

The fourth usage form allows you to display a report on active DHCP leases managed by the system.

LIMITATIONS

Please note that only one unique DHCP peer server may be configured.

SEE ALSO

apply (1) mode (1)

AUTHOR

CacheGuard Technologies Ltd <www.cacheguard.com>

Send bug reports or comments to the above author.

COPYRIGHT

Copyright (C) 2009-2024 CacheGuard - All rights reserved