From LedHed's Wiki
(→Exclude IP Range) |
|||
(One intermediate revision by the same user not shown) | |||
Line 26: | Line 26: | ||
== Exclude IP Range == | == Exclude IP Range == | ||
− | + | ip dhcp excluded-address 10.1.1.200 10.1.1.240 | |
− | + | ||
== Create Address Reservation == | == Create Address Reservation == | ||
config term | config term | ||
+ | |||
ip dhcp pool Server_static | ip dhcp pool Server_static | ||
host 10.1.1.100 255.255.255.0 | host 10.1.1.100 255.255.255.0 |
Latest revision as of 21:12, 15 March 2010
Creating a DHCP Pool
Switch to configure mode
config term
Create an address pool
ip dhcp pool <POOLNAME>
Specify the network to provide address for
network 10.1.1.0 /24
Set the clients default gateway
default-router 10.1.1.254
Set the clients DNS Servers
dns-server 10.1.1.1 10.1.1.2
Set the clients lease timeout in hours
lease 8
Exclude IP Range
ip dhcp excluded-address 10.1.1.200 10.1.1.240
Create Address Reservation
config term
ip dhcp pool Server_static host 10.1.1.100 255.255.255.0 client-identifier 001E.0C1F.A1E5
Client-Identifier is the MAC address