Dynamic Host Configuration Protocol
17-4
17
CLI
– This example enables the DHCP and sets an excluded address range.
Configuring Address Pools
You must configure IP address pools for each IP interface that will provide
addresses to attached clients via the DHCP server.
Command Usage
• First configure address pools for the network interfaces. Then you can manually
bind an address to a specific client if required. However, note that any static host
address must fall within the range of an existing network address pool. You can
configure up to 8 network address pools, and up to 32 manually bound host
address pools (i.e., one address per host pool).
• When a client request is received, the switch first checks for a network address
pool matching the gateway where the request originated (i.e., if the request was
forwarded by a relay server). If there is no gateway in the client request (i.e., the
request was not forwarded by a relay server), the switch searches for a network
pool matching the interface through which the client request was received. It then
searches for a manually configured host address that falls within the matching
network pool. If no manually configured host address is found, it assigns an
address from the matching network address pool. However, if no matching address
pool is found the request is ignored.
• When searching for a manual binding, the switch compares the client identifier and
then the hardware address for DHCP clients. Since BOOTP clients cannot transmit
a client identifier, you must configure a hardware address for this host type. If no
manual binding has been specified for a host entry with a hardware address or
client identifier, the switch will assign an address from the first matching network
pool.
• If the subnet mask is not specified for network or host address pools, the class A,
B, or C natural mask is used (see page 20-5). The DHCP server assumes that all
host addresses are available. You can exclude subsets of the address space by
using the IP Excluded Address field on the DHCP Server General configuration
page.
Command Attributes
Creating a New Address Pool
•
Pool Name
– A string or integer. (Range: 1-8 characters)
•
Type
– Shows is address pool type is Network or Host.
•
IP Address
– The IP address upon which the pool is based.
•
Mask
– Shows the network (or subnet) and the host portion of the address pool.
•
Active Pool
– The addresses provided by this pool, including those specified by
the IP address and network mask, but minus those excluded on the DHCP server’s
General Configuration page.
Console(config)#service dhcp
39-5
Console(config)#ip dhcp excluded-address 10.1.0.250 10.1.0.254
39-6
Console#
Summary of Contents for ES4626F
Page 2: ......
Page 4: ...ES4626F ES4650F F1 1 0 2 E062009 R01 ST 149100000013A...
Page 6: ...ii...
Page 34: ...Getting Started...
Page 44: ...Introduction 1 10 1...
Page 62: ...Initial Configuration 2 18 2...
Page 64: ...Switch Management...
Page 76: ...Configuring the Switch 3 12 3...
Page 118: ...Basic Management Tasks 4 42 4...
Page 164: ...User Authentication 6 28 6...
Page 176: ...Access Control Lists 7 12 7...
Page 284: ...Quality of Service 14 8 14...
Page 294: ...Multicast Filtering 15 10 15...
Page 300: ...Domain Name Service 16 6 16...
Page 310: ...Dynamic Host Configuration Protocol 17 10 17...
Page 320: ...Configuring Router Redundancy 18 10 18...
Page 344: ...IP Routing 19 24 19...
Page 356: ...Unicast Routing 20 12 20 Web Click Routing Protocol RIP Statistics Figure 20 5 RIP Statistics...
Page 386: ...Unicast Routing 20 42 20...
Page 388: ...Command Line Interface...
Page 400: ...Overview of the Command Line Interface 21 12 21...
Page 466: ...SNMP Commands 24 16 24...
Page 520: ...Access Control List Commands 26 18 26...
Page 546: ...Rate Limit Commands 30 2 30...
Page 612: ...VLAN Commands 34 24 34...
Page 626: ...Class of Service Commands 35 14 35...
Page 670: ...DHCP Commands 39 16 39...
Page 716: ...IP Interface Commands 41 36 41...
Page 768: ...IP Routing Commands 42 52 42...
Page 770: ...Appendices...
Page 791: ......
Page 792: ...ES4626F ES4650F E062009 R01 ST 149100000013A...