ProSafe 7000 Managed Switch Software Administration Manual, Release 8.0.3
20-2
DHCP Server
v1.0, June 2010
CLI: Configuring a DHCP Server in Dynamic Mode
To use the CLI to create a DHCP server with a dynamic pool, enter the following CLI commands:
(Netgear Switch) #vlan database
(Netgear Switch) (Vlan)#vlan 200
(Netgear Switch) (Vlan)#vlan routing 200
(Netgear Switch) (Vlan)#exit
(Netgear Switch) (Config)#interface 1/0/1
(Netgear Switch) (Interface 1/0/1)#vlan participation include 200
(Netgear Switch) (Interface 1/0/1)#vlan pvid 200
(Netgear Switch) (Interface 1/0/1)#exit
(Netgear Switch) (Config)#interface vlan 200
(Netgear Switch) (Interface-vlan 200)#routing
(Netgear Switch) (Interface-vlan 200)#ip address 192.168.100.1 255.255.255.0
(Netgear Switch) #config
(Netgear Switch) (Config)#service dhcp
(Netgear Switch) (Config)#ip dhcp pool pool_dynamic
(Netgear Switch) (Config)#network 192.168.100.0 255.255.255.0
Note:
If there is no DHCP L3 relay between Client PC and DHCP Server, there must be an active route
whose subnet is the same with the DHCP dynamic pool’s subnet.
Web Interface: Configuring a DHCP Server in Dynamic Mode
To use the Web interface to create a DHCP server with a dynamic pool, proceed as follows:
1.
Create a VLAN 200.
a.
From the main menu, select Switching > VLAN >Basic > VLAN configuration. A screen similar to
the following displays.
Figure
20-2