Dynamic Host Configuration Protocol Concepts; Configure A Dhcp Server In Dynamic Mode; Cli: Configure A Dhcp Server In Dynamic Mode - NETGEAR M4200 Software Administration Manual

M4200 and m4300 series prosafe managed switches
Hide thumbs Also See for M4200:
Table of Contents

Advertisement

Dynamic Host Configuration Protocol Concepts

When a client sends a request to a Dynamic Host Configuration Protocol (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.
A 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.

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.

CLI: Configure a DHCP Server in Dynamic Mode

(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 as the DHCP
dynamic pool's subnet.
Managed Switches
DHCP Server
466

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

M4300

Table of Contents