ProSafe 7000 Managed Switch Software Administration Manual, Release 8.0.3
DHCP L3 Relay
28-2
v1.0, June 2010
Configure a DHCP Server
CLI: Configuring a DHCP Server
Enable routing on the switch.
(Netgear Switch) #config
(Netgear Switch) (Config)#ip routing
(Netgear Switch) (Config)#
Create a routing interface and enable rip on it so that DHCP server learns the route 10.200.1.0/24 from
DHCP L3 Relay.
(Netgear Switch) (Config)#interface 1/0/3
(Netgear Switch) (Interface 1/0/3)#routing
(Netgear Switch) (Interface 1/0/3)#ip address 10.100.1.1 255.255.255.0
(Netgear Switch) (Interface 1/0/3)#ip rip
(Netgear Switch) (Interface 1/0/3)#exit
Create a DHCP pool.
(Netgear Switch) (Config)#ip dhcp pool dhcp_server
(Netgear Switch) (Config-dhcp-pool)#network 10.200.1.0 255.255.255.0
(Netgear Switch) (Config-dhcp-pool)#exit
(Netgear Switch) (Config)#service dhcp
(Netgear Switch) (Config)#exit
Exclude the IP address 10.200.1.1 from DHCP pool because it has been used on DHCP L3 Relay.
(Netgear Switch) (Config)#ip dhcp excluded-address 10.200.1.1
(Netgear Switch) #
Web Interface: Configuring a DHCP Server
1.
Enable routing mode on the switch.