Chapter 24 dhcp server, Overview, Examples – NETGEAR 7000 Series Managed Switch User Manual

Page 189: Example 1#: configure dhcp server in dynamic mode, Cli commands

Advertising
background image

NETGEAR 7000 Series Managed Switch Administration Guide Version 7.2

DHCP Server

24-1

v1.0, May 2008

Chapter 24

DHCP Server

This section describes the DHCP server configuration. 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.

Overview

DHCP Server:

Allows the switch to dynamically assign an IP address to a DHCP client that is attached to the
switch

Enables the IP address to be assigned based on the client’s MAC address

Examples

The following are examples of how the DHCP Server feature is used.

Example 1#: Configure 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 Commands

To use the CLI to create a DHCP server with a dynamic pool, enter the following CLI commands:

(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

Advertising