problème avec dhcp routeur cisco

problème avec dhcp routeur cisco - Réseaux - Systèmes & Réseaux Pro

Marsh Posté le 26-01-2011 à 13:04:43    

Salut à tous
 
Je voudrais mettre des pool range sur mon routeur dhcp cisco.
J'ai donc fait comme ça :
 

Code :
  1. router(dhcp-config)#network 192.168.100.0 255.255.255.0
  2. router(dhcp-config)#default-router 192.168.100.254
  3. router(dhcp-config)#dns-server 192.168.100.100
  4. router(dhcp-config)#lease infinite
  5. router(dhcp-config)#class dyn_range
  6. router(config-dhcp-pool-class)#address range 192.168.100.30 192.168.100.50


 
Mais mon routeur ne me distribue pas d'ip.
Alors qu'avec cette config :
 

Code :
  1. router(dhcp-config)#network 192.168.100.0 255.255.255.0
  2. router(dhcp-config)#default-router 192.168.100.254
  3. router(dhcp-config)#dns-server 192.168.100.100
  4. router(dhcp-config)#lease infinite


 
Avez vous une idée de pourquoi il aime pas la première config, Merci

Reply

Marsh Posté le 26-01-2011 à 13:04:43   

Reply

Marsh Posté le 26-01-2011 à 21:27:20    

Et si tu fonctionnais plutôt par exclusion :
ip dhcp excluded-address 192.168.100.1 192.168.100.29
ip dhcp excluded-address 192.168.100.51 192.168.100.254

Reply

Marsh Posté le 27-01-2011 à 18:55:30    

C'est ce que je vais faire je pense car je ne trouve pas d'autres solutions. Merci

Reply

Marsh Posté le 28-01-2011 à 14:49:03    

recupéré de la docs Cisco à l'adresse suivante :
http://www.cisco.com/en/US/docs/io [...] fdhcp.html
 
Ton pool d'adresse est définit par le submask, donc obligé de passer par des exclusions. Voir les exemples fournis par Cisco sur le lien ci-dessus.
 
 
 
Configuring the DHCP Address Pool Subnet and Mask
 
To configure a subnet and mask for the newly created DHCP address pool, which contains the range of available IP addresses that the DHCP Server may assign to clients, use the following command in DHCP pool configuration mode:
 
Command
 
Purpose
 
Router(dhcp-config)# network network-number [mask | /prefix-length]
 
 
Specifies the subnet network number and mask of the DHCP address pool.
 
The prefix length specifies the number of bits that comprise the address prefix. The prefix is an alternative way of specifying the network mask of the client. The prefix length must be preceded by a forward slash (/).

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed