|
Cisco Config Cookbook
Simple DHCP Server
Pretty simple stuff... assume this router is 10.0.0.1
ip dhcp excluded-address 10.0.0.1
ip dhcp pool ssi-test1
network 10.0.0.0 255.255.255.240
domain-name ssimicro.com
dns-server 192.168.99.1
default-router 10.0.0.1
And to add a static IP address to a given MAC:
ip dhcp pool machine1
host 10.10.10.10 255.255.255.0
hardware-address 0000.0000.0001
client-name machine1
ip dhcp pool machine2
host 10.10.10.11 255.255.255.0
hardware-address 0000.0000.0002
client-name machine2
|