25 network-address, 25 network-address -62 – PLANET WGSW-52040 User Manual

Page 451

Advertising
background image

28-62

If client node type is to be specified, it is recommended to set the client node type to h-node that broadcasts after

point-to-point communication.

Example:

Setting the node type for client of pool 1 to broadcasting node.

Switch(dhcp-1-config)#netbios-node-type b-node

28.1.25 network-address

Command:

network-address <network-number> [<mask> | <prefix-length>]

no network-address

Function:

Sets the scope for assignment for addresses in the pool; the “no network-address” command cancels the setting.

Parameters:

<network-number> is the network number; <mask> is the subnet mask in the decimal format; <prefix-length>

stands for mask in prefix form. For example, mask 255.255.255.0 in prefix is “24”, and mask 255.255.255.252 in

prefix is “30”. Note: When using DHCP server, the pool mask should be longer or equal to that of layer 3 interface IP

address in the corresponding segment.

Default:

If no mask is specified, default mask will be assigned according to the address class.

Command Mode:

DHCP Address Pool Mode

Usage Guide:

This command sets the scope of addresses that can be used for dynamic assignment by the DHCP server; one

address pool can only have one corresponding segment. This command is exclusive with the manual address

binding command “hardware address” and “host”.

Example:

Configuring the assignable address in pool 1 to be 10.1.128.0/24.

Switch(dhcp-1-config)#network-address 10.1.128.0 24

Advertising