If a DHCP server based on a VLANIF interface address pool is configured, all the users going online through this interface obtain IP addresses from the VLANIF interface address pool.
Context
Enable the DHCP service before configuring an address pool on a VLANIF interface.
You can configure an address pool on a VLANIF interface when a device supports switched Ethernet interfaces. IP addresses cannot be configured on switched Ethernet interfaces directly; therefore, you need to create a VLANIF interface and configure a DHCP address pool on the VLANIF interface.
Procedure
Query information about a VLANIF interface address pool.
Choose Service Management > DHCP > Configure VLANIF Interface Address Pool in the navigation tree to open the Configure VLANIF Interface Address Pool page.
Set the search criteria.
Click Query to display all the matching records.
Create a VLANIF address pool.
Choose Service Management > DHCP > Configure VLANIF Interface Address Pool in the navigation tree to open the Configure VLANIF Interface Address Pool page.
Click New to open the Create a VLANIF Address Pool page.
Table 1 describes the parameters on the Create a VLANIF Address Pool page.
Table 1 Create a VLANIF Address Pool
Parameter
Description
Basic Settings
VLANIF Name
Indicates the name of a VLNAIF interface. Select a name from the drop-down list box.
NOTE:
The VLANIF interfaces in the drop-down list box are created in the Interface Management module.
Address Pool type
Indicates the address pool type of a VLNAIF interface.
global: The interface works in the global address pool mode.
interface: The interface works in the interface address pool mode.
Interface IP
Indicates the IP address of the selected VLANIF interface. The value is displayed automatically after you select a VLANIF interface.
Mask
Indicates the subnet mask of the selected VLANIF interface. The value is displayed automatically after you select a VLANIF interface.
Expired
Indicates the lease of dynamic IP addresses. The default lease is one day. The value range is as follows:
day: an integer ranging from 0 to 999
hour: an integer ranging from 0 to 23
minute: an integer ranging from 0 to 59
NOTE:
This parameter can be configured only when the address pool type is interface. Different address pools can have different IP address leases, but addresses in one pool have the same lease.
Forbidden IP
Indicates the IP address that will not be dynamically allocated to users.
Some IP addresses are allocated to applications such as the DNS server and cannot be allocated to users. You can specify these IP addresses as forbidden IP addresses.
NOTE:
This parameter can be configured only when the address pool type is interface.
Configure DNS for the Address Pool
Client Domain Name
Indicates the domain name allocated by the DHCP server to the client.
NOTE:
This parameter can be configured only when the address pool type is interface.
DNS Server IP
Indicates the IP address of a DNS server. You can configure a maximum of eight DNS server addresses.
NOTE:
This parameter can be configured only when the address pool type is interface.
Configure NetBIOS for the Address Pool
NetBIOS Node Type
Indicates the type of a NetBIOS node. The options are:
unspecified
The NetBIOS node type is not specified.
b-node
The NetBIOS node obtains the mapping between the host name and IP address in broadcast mode. b represents broadcast.
p-node
The NetBIOS node obtains the mapping between the host name and IP address by communicating with the NetBIOS server. p represents peer to peer.
m-node
The NetBIOS node is a p-type node with some broadcast features. m represents mixed.
h-node
The NetBIOS node is a b-type node using the peer-to-peer communication mechanism. h represents hybrid.
The default value is unspecified.
NOTE:
This parameter can be configured only when the address pool type is interface.
NetBIOS Server IP
Indicates the IP address of a NetBIOS server. You can configure a maximum of eight NetBIOS server addresses.
NOTE:
This parameter can be configured only when the address pool type is interface.
Set the parameters.
Click OK.
Modify VLANIF Address Pool
Choose Service Management > DHCP > Configure VLANIF Interface Address Pool in the navigation tree to open the Configure VLANIF Interface Address Pool page.
Click to open the Modify VLANIF Address Pool page .
NOTE:
Table 1 describes the parameters on the Modify VLANIF Address Pool page.
The name, IP address, subnet mask of the selected VLANIF interface cannot be modified.
Set the parameters.
Click OK.
Delete a VLANIF Address Pool
Choose Service Management > DHCP > Configure VLANIF Interface Address Pool in the navigation tree to open the Configure VLANIF Interface Address Pool page.
Select a record that you want to delete and click Delete. The system asks you whether to delete the record.