Netgear M4100-50G (GSM7248v2h2) - 46‐port GE + 4 GE Combo L2 Managed Switch Guía De Administador
DHCP Server
305
ProSAFE M4100 Managed Switches
DHCP Server Concepts
When a client sends a request to a DHCP server, the DHCP server assigns the IP address
from address pools that are specified on the switch. The network in the DHCP pool must
belong to the same subnet.
from address pools that are specified on the switch. The network in the DHCP pool must
belong to the same subnet.
DHCP server allows the switch to dynamically assign an IP address to a DHCP client that is
attached to the switch. It also enables the IP address to be assigned based on the client’s
MAC address. The following are examples of how the DHCP Server feature is used.
attached to the switch. It also enables the IP address to be assigned based on the client’s
MAC address. The following are examples of how the DHCP Server feature is used.
Configure a DHCP Server in Dynamic Mode
The following example shows how to create a DHCP server with a dynamic pool. The
example is shown as CLI commands and as a Web interface procedure.
example is shown as CLI commands and as a Web interface procedure.
CLI: Configure a DHCP Server in Dynamic Mode
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 as the DHCP
dynamic pool’s subnet.
there must be an active route whose subnet is the same as the DHCP
dynamic pool’s subnet.
(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