Chapter 29. DHCP L2 Relay and L3 Relay | 495
ProSafe M4100 and M7100 Managed Switches
2. Create a routing interface and enable RIP on it so that the DHCP server learns the route
10.200.1.0/24 from the 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
3. 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)#ip dhcp pool dhcp_server_second
(Netgear Switch) (Config-dhcp-pool)#network 10.200.2.0 255.255.255.0
(Netgear Switch) (Config-dhcp-pool)#exit
(Netgear Switch) (Config)#service dhcp
(Netgear Switch) (Config)#exit
4. Exclude the IP address 10.200.1.1 and 10.200.2.1 from the DHCP pool because it has been
used on the DHCP L3 relay.
(Netgear Switch) (Config)#ip dhcp excluded-address 10.200.1.1
(Netgear Switch) (Config)#ip dhcp excluded-address 10.200.2.1
Web Interface: Configure a DHCP Server
1. Enable routing mode on the switch.
a. Select Routing > IP > Basic > IP Configuration.
A screen similar to the following displays.
b. For Routing Mode, select the Enable radio button.
c. Click Apply.