Tahoe 684 User Manual - 4.3.7.6
14
dhcp add network lan
¡
dhcp add subnet
Adds a net IP subnet to a given network. For each IP subnet
connected to the LAN or WAN interface an DHCP subnet should be added
(with the same IP addresses, as configured on each of the interfaces).
Moreover additional IP subnets may be added - those which are not set
up on any of the interfaces, but do exist in the same physical network or
behind a DHCP relay:
dhcp add subnet local lan 10.0.0.0 255.0.0.0
¡
dhcp add host
Adds a static connection between hardware (MAC) and IP
addresses. The IP address must belong to one of the configured subnets.
Only this IP address will be assigned to the given MAC address:
dhcp add host server 00:50:13:2e:15:ca 10.0.0.5
¡
dhcp add range
Adds an IP address range, from which addresses will be assigned
to the network stations. The address range must be contained inside one
of the subnets:
dhcp add range 10.0.0.5 10.0.0.37
¡
dhcp add option
Adds a global DHCP option sent to the requesting station.
Available options are:
- routers - network gateways (usually the gateways should be
separate for each subnet, so they shouldn’t be defined globally)
- domain-name - domain name
- domain-name-servers - DNS addresses
- filename - name of the file containing the operating system
- next-server - server from which the mentioned above file will
be downloaded using TFTP
dhcp add option domain-name tahoe-group.com
15
¡
dhcp add relay [
Adds a DHCP server address to which the DHCP requests are
forwarded, when the Relay Agent mode is enabled. The
parameter is optional - its default value is 67:
dhcp add relay 192.168.0.3
4.3.7.5. dhcp del
The command deletes a network, subnet, address range, etc.
¡
dhcp del network
¡
dhcp del subnet
¡
dhcp del host
The commands above delete, respectively, a network, an IP
subnet or a host (a static IP-MAC connection) with given name.
¡
dhcp del relay
Deletes a DHCP server address used in the Relay Agent mode.
¡
dhcp del range
Deletes an IP address range assigned to the network stations.
¡
dhcp del option
Deletes a global option. Besides the option name, its value should
also be given, because some options may have more than one value
(e.g. domain name servers, routers, etc.).
4.3.7.6. dhcp rename
The command changes the name of a network, subnet or host:
¡
dhcp rename network
¡
dhcp rename subnet
¡
dhcp rename host
4.3.7.7. dhcp network/subnet/host
The command adds or deletes an option within a specified group -
network, subnet or host. It has two forms: