Create a corresponding dhcp pool, Configure dhcp network parameters, Enable the dhcp server – Enterasys Networks Security Router X-PeditionTM User Manual

Page 384: Optional: set up a dhcp nested scope, Optional: configure a dhcp manual binding

Advertising
background image

Configuration Steps

15-10 Configuring DHCP

XSR User’s Guide

1.

Add global pool local_clients including the starting IP address of the range and addresses that
are unreachable to network clients:

XSR(config)#ip local pool local_clients 1.1.1.0/24
XSR(ip-local-pool)#exclude 1.1.1.249 6

Create a Corresponding DHCP Pool

2.

Map this local pool to a DHCP pool by specifying the correct name:

XSR(config)#ip dhcp pool local_clients

Configure DHCP Network Parameters

3.

On the pool just supplied to DHCP, define some attributes for network clients. They include
the lease duration (dynamic leases) of two hours and 30 minutes, IP addresses of the default
router and DNS server (these IP addresses derive from the excluded address range on the IP
local pool), and the Enterasys.com domain name.

XSR(config-dhcp-pool)#lease 0 2 30
XSR(config-dhcp-pool)#default-router 1.1.1.249 1.1.1.250
XSR(config-dhcp-pool)#dns-server 1.1.1.254
XSR(config-dhcp-pool)#domain-name ets.enterasys.com

Enable the DHCP Server

4.

Initialize the DHCP Server on FastEthernet interface 2:

XSR(config)#interface fastethernet 2
XSR(config-if<F2>#ip dhcp server

Optional: Set Up a DHCP Nested Scope

5.

Continue configuring local_clients by creating a named client-class and using it to override the
lease time. Clients presenting this name in DHCP messages will get the shorter lease time but
will continue to receive dns-server and other values defined in the pool.

XSR(config)#ip dhcp pool local_clients
XSR(config-dhcp-pool)#client-class class1
XSR(config-dhcp-class)#lease 0 0 30

6.

Extend the client-class attributes to include the address of a NetBIOS-name-server:

XSR(config-dhcp-class)#netbios-name-server 1.1.1.253

Optional: Configure a DHCP Manual Binding

7.

Add a manual binding in the local_client pool:

XSR(config-dhcp-class)#host 1.1.1.7 255.255.255.0
XSR(config-dhcp-host)#hardware-address 1111.2222.3333 1

Note: Some values can also be configured for a Client-Class or Host scope.

Advertising