Cisco Systems 32369 Manual Bindings Configuration Example, Manual Bindings Configuration Example

Models: 32369

1 52
Download 52 pages 12.05 Kb
Page 11
Image 11
Manual Bindings Configuration Example

Manual Bindings Configuration Example

ip dhcp database ftp://user:password@172.16.4.253/router-dhcp write-delay 120 ip dhcp excluded-address 172.16.1.100 172.16.1.103

ip dhcp excluded-address 172.16.2.100 172.16.2.103

!

ip dhcp pool 0

network 172.16.0.0 /16 domain-name cisco.com

dns-server 172.16.1.102 172.16.2.102 netbios-name-server 172.16.1.103 172.16.2.103 netbios-node-type h-node

!

ip dhcp pool 1

network 172.16.1.0 /24 default-router 172.16.1.100 172.16.1.101 lease 30

!

ip dhcp pool 2

network 172.16.2.0 /24 default-router 172.16.2.100 172.16.2.101 lease 30

Manual Bindings Configuration Example

The following example creates a manual binding for a client named Mars.cisco.com. The MAC address of the client is 02c7.f800.0422 and the IP address of the client is 172.16.2.254.

ip dhcp pool Mars host 172.16.2.254

hardware-address 02c7.f800.0422 ieee802 client-name Mars

Because attributes are inherited, the previous configuration is equivalent to the following:

ip dhcp pool Mars

host 172.16.2.254 mask 255.255.255.0 hardware-address 02c7.f800.0422 ieee802 client-name Mars

default-router 172.16.2.100 172.16.2.101 domain-name cisco.com

dns-server 172.16.1.102 172.16.2.102 netbios-name-server 172.16.1.103 172.16.2.103 netbios-node-type h-node

Cisco IOS DHCP Server 11

Page 11
Image 11
Cisco Systems 32369 manual Manual Bindings Configuration Example, Manual Bindings Configuration Example