Cisco DHCP

De NCad Wiki
Aller à la navigation Aller à la recherche

Configuration de base

(config) # ip dhcp pool dhcp-private-pool
(dhcp-config) # network 10.0.0.0/24
(dhcp-config) # dns-server 10.0.0.46 8.8.8.8
(dhcp-config) # domain-name net.ncad.fr
(dhcp-config) # netbios-name-server 10.0.0.45
(dhcp-config) # default-router 10.0.0.254
(dhcp-config) # lease 7

Exclure IP du pool

(config) # ip dhcp excluded-address 10.0.0.24

Adresse IP rattachée à MAC

(config) # ip dhcp pool dhcp-private-pool-romain
(dhcp-config) # host 10.0.0.24 !/24
(dhcp-config) # client-identifier 1234.5678.9ABC

Baux DHCP

show ip dhcp binding
clear ip dhcp binding 10.0.0.25

Statistiques

show ip dhcp server statistics