« Cisco DHCP » : différence entre les versions

De NCad Wiki
Aller à la navigation Aller à la recherche
(Page créée avec « == 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) # dom... »)
 
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
== Configuration de base ==
== Configuration de base ==


(config) # ip dhcp pool dhcp-private-pool
{{ Box Console | objet=(config) # ip dhcp pool dhcp-private-pool<br />
(dhcp-config) # network 10.0.0.0/24
(dhcp-config) # network 10.0.0.0/24<br />
(dhcp-config) # dns-server 10.0.0.46 8.8.8.8
(dhcp-config) # dns-server 10.0.0.46 8.8.8.8<br />
(dhcp-config) # domain-name net.ncad.fr
(dhcp-config) # domain-name net.ncad.fr<br />
(dhcp-config) # netbios-name-server 10.0.0.45
(dhcp-config) # netbios-name-server 10.0.0.45<br />
(dhcp-config) # default-router 10.0.0.254
(dhcp-config) # default-router 10.0.0.254<br />
(dhcp-config) # lease 7
(dhcp-config) # lease 7 }}


== Exclure IP du pool ==
== Exclure IP du pool ==


(config) # ip dhcp excluded-address 10.0.0.24
{{ Box Console | objet=(config) # ip dhcp excluded-address 10.0.0.24 }}


== Adresse IP rattachée à MAC ==
== Adresse IP rattachée à MAC ==


(config) # ip dhcp pool dhcp-private-pool-romain
{{ Box Console | objet=(config) # ip dhcp pool dhcp-private-pool-romain<br />
(dhcp-config) # host 10.0.0.24 !/24
(dhcp-config) # host 10.0.0.24 !/24<br />
(dhcp-config) # client-identifier 1234.5678.9ABC
(dhcp-config) # client-identifier 1234.5678.9ABC }}
(dhcp-config) # exit


== Baux DHCP ==
== Baux DHCP ==


show ip dhcp binding
{{ Box Console | objet=show ip dhcp binding<br />
clear ip dhcp binding 10.0.0.25
clear ip dhcp binding 10.0.0.25 }}


== Statistiques ==
== Statistiques ==


show ip dhcp server statistics
{{ Box Console | objet=show ip dhcp server statistics }}

Version du 5 avril 2014 à 01:22

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