dhcp add network lan
¡
dhcp add subnet <name> <network> <address>
<netmask>
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 <name> <MAC address> <IP address>
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 <start address> <end address>
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 <option> <value>
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
10
11
¡
dhcp add relay <address> [<port>]
Adds a DHCP server address to which the DHCP requests are
forwarded, when the Relay Agent mode is enabled. The <port>
parameter is optional - its default value is 67:
dhcp add relay 192.168.0.3
3.3.7.5. dhcp del
The command deletes a network, subnet, address range, etc.
¡
dhcp del network <name>
¡
dhcp del subnet <name>
¡
dhcp del host <name>
The commands above delete, respectively, a network, an IP
subnet or a host (a static IP-MAC connection) with given name.
¡
dhcp del relay <address>
Deletes a DHCP server address used in the Relay Agent mode.
¡
dhcp del range <start address> <end address>
Deletes an IP address range assigned to the network stations.
¡
dhcp del option <name> <value>
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.).
3.3.7.6. dhcp rename
The command changes the name of a network, subnet or host:
¡
dhcp rename network <old name> <new name>
¡
dhcp rename subnet <old name> <new name>
¡
dhcp rename host <old name> <new name>
3.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:
Содержание 1701
Страница 1: ...G 703 Ethernet Routers series TAHOE 1700 FREEDOM OF COMMUNICATION USER MANUAL ...
Страница 2: ......
Страница 28: ...24 ...
Страница 31: ......
Страница 32: ... TAHOE Uniwersytecka 1 50951 Wroc aw Poland phone 48 50 100 7362 fax 48 71 344 2642 http www tahoe group com ...