- Enterasys Security Router User's Guide

DHCP Server Configuration Examples
XSR User’s Guide 15-11
8. Add to the host scope by specifying the NetBIOS-node-type for this particular host:
XSR(config-dhcp-host)#netbios-node-type h-node
9. Specify any numbered options. For example, setting DHCP option 28 specifies the broadcast
address in use on the client's subnet:
XSR(config)#ip dhcp pool local_clients
XSR(config-dhcp-pool)#option 28 ip 255.255.255.255
DHCP Server Configuration Examples
The following examples configure DHCP with different options. For DHCP implementations with
firewall configured, refer to “Configuring Security on the XSR” on page 16-1.
Pool with Hybrid Servers Example
In the following example, the single DHCP pool dpool is created and two default routers defined:
168.16.22.100 (higher preference) and 168.16.22.101 (lower preference). The domain name
enterasys.com is specified and a list of two DNS servers defined - 168.16.33.102 (higher) and
168.16.33.103 (lower). NetBIOS servers are specified as type hybrid - 168.16.44.103 (higher) and
168.16.44.104 (lower). Finally, the lease time for all clients is limited to 10 days.
XSR(config)#ip local pool dpool 168.16.22.0/24
XSR(config)#ip dhcp pool dpool
XSR(config-dhcp-pool)#default-router 168.16.22.100 168.16.22.101
XSR(config-dhcp-pool)#domain-name enterasys.com
XSR(config-dhcp-pool)#dns-server 168.16.33.102 168.16.33.103
XSR(config-dhcp-pool)#netbios-name-server 168.16.44.103 168.16.44.104
XSR(config-dhcp-pool)#netbios-node-type h-node
XSR(config-dhcp-pool)#lease 10
Manual Binding Example
In this example, the single DHCP pool dpool is created with a domain name enterasys.com. A host is
defined with MAC address 00:f0:12:11:22:a1 in dotted decimal format and a manual binding is
specified by IP address 1.1.1.20 and mask 255.255.255.0. The domain name for this host is specified
as ent.com (this will override enterasys.com specified for this pool).
XSR(config)#ip local pool dpool 1.1.1.0/24
XSR(config)#ip dhcp pool dpool
XSR(config-dhcp-pool)#domain-name enterasys.com
XSR(config-dhcp-pool)#hardware-address 00f0.1211.22a1
XSR(config-dhcp-host)#host 1.1.1.20 255.255.255.0
XSR(config-dhcp-host)#domain-name ent.com
Manual Binding with Class Example
In the following example, the single DHCP pool dpool is created with the domain name
enterasys.com. A class engineering is defined. The domain name for all hosts is ent.com. A host is
defined with a MAC address in dotted decimal format. A manual binding is specified by IP
address 1.1.1.20 and mask 255.255.255.0.