Dell Networking OS9 Configuration d’une liaison DHCP manuelle ou DHCP statique

Summary: Cet article explique comment configurer une liaison DHCP (Manual Dynamic Host Control Protocol) ou DHCP statique dans Dell Networking OS9.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

Index

Qu’est-ce que la liaison
DHCP manuelle ?Configuration
Vérifier
Points à retenir

 

Qu’est-ce qu’une liaison DHCP manuelle ou DHCP statique ?

Le serveur DHCP attribue automatiquement une adresse IP disponible au client, puis crée une entrée dans la table de liaison. Toutefois, l’administrateur peut créer manuellement une entrée pour un client. Les liaisons manuelles sont utiles lorsque vous souhaitez garantir qu’un périphérique réseau reçoit une adresse IP spécifique.

 


Configuration

 

Configuration de pool dynamique

Commande

Explication

DELL# configure

Passer en mode configuration

DELL(conf)# ip dhcp server

Passer en mode DHCP

DELL(config-dhcp)# pool <POOL NAME>

Créer le pool DHCP

DELL(config-dhcp-D-POOL)# network <Network/subnet mask>

Spécifiez l’adresse IP

DELL(config-dhcp-D-POOL)# default-router <Default Router IP>

Spécifier le routeur par défaut

DELL(config-dhcp-D-POOL)# dns-server <DNS server IP>

Spécifiez le serveur DNS


Configuration du pool statique

Commande

Explication

DELL# configure

Passer en mode configuration

DELL(conf)# ip dhcp server

Passer en mode DHCP

DELL(config-dhcp)# pool <POOL NAME>

Créer un pool DHCP

DELL(config-dhcp-S-POOL)# host-address <IP address>

Spécifiez une adresse IP

DELL(config-dhcp-S-POOL)# hardware-address <Mac address>

Spécifier l’adresse du matériel client

DELLconfig-dhcp-S-POOL)# default-router <Default Router IP>

Spécifier le routeur par défaut (facultatif)

DELL(config-dhcp-S-POOL)# dns-server <DNS server IP>

Spécifier le serveur DNS (facultatif)

 

Activer le SERVEUR DHCP

Commande

Explication

DELL# configure

Passer en mode configuration

DELL(conf)# ip dhcp server

Passer en mode DHCP

DELL(config-dhcp)# no disable

Activer le serveur DHCP

 

Exemple de configuration

Prenons l’exemple ci-dessous où un client avec l’adresse MAC 11:22:33:44:55:66 doit recevoir l’adresse IP 10.0.0.100 du serveur DHCP.

image.pngimage.png

Exemple de configuration

DELL# configure
DELL(conf)# ip dhcp server
DELL(config-dhcp)# pool DYNAMICPOOL                 
DELL(config-dhcp-DYNAMICPOOL)# network 10.0.0.0/24
DELL(config-dhcp-DYNAMICPOOL)# default-router 10.0.0.1
DELL(config-dhcp-DYNAMICPOOL)# dns-server 8.8.8.8
DELL(config-dhcp-DYNAMICPOOL)# exit
DELL(config-dhcp)#

DELL(config-dhcp)# pool STATICPOOL
DELL(config-dhcp-STATICPOOL)# host-address 10.0.0.100
DELL(config-dhcp-STATICPOOL)# hardware-address 10:22:33:44:55:66
DELL(config-dhcp-DYNAMICPOOL)# exit
DELL(config-dhcp)#

DELL(config-dhcp)# no disable

 

 

Vérifier

 

CONFIGURATION
DHCPPour vérifier la configuration du serveur DHCP et les détails du pool, utilisez la commande ci-dessous :
 

DELL# show ip dhcp configuration  pool

 


Exemple de sortie
 

DELL# show ip dhcp configuration  pool

Pool Name            : DYNAMICPOOL
Pool Type            : Dynamic
Domain Name          :
Lease Time           : 1Day 0Hrs 0Mins
DNS Servers          : 8.8.8.8
Default Routers      : 10.0.0.1
Network              : 10.0.0.0 255.255.255.0

Pool Name            : STATICPOOL
Pool Type            : Manual
Domain Name          :
Lease Time           : 1Day 0Hrs 0Mins
DNS Servers          :
Default Routers      :
Hardware Address     : 10:22:33:44:55:66
Hardware Address Type: Ethernet
Host                 : 10.0.0.100 0.0.0.0



Reliure

Pour vérifier l’adresse IP fournie par le serveur DHCP, utilisez la commande ci-dessous :

DELL# show ip dhcp binding

Sample output
DELLEMC#show ip dhcp binding
 IP address      Hardware address   Lease expiration     Type
10.0.0.100      10:22:33:44:55:66    infinite             Manual
Total number of entries in the table: 1

 


                                        

Points à retenir

  • Vous devez disposer d’une plage de pools dynamiques dans ce réseau pour que le pool statique fonctionne
  • Les liaisons manuelles peuvent être considérées comme des pools d’adresses à hôte unique. Il n’y a pas de limite au nombre de reliures manuelles,
  • Nous ne pouvons configurer qu’une seule liaison manuelle par hôte.
  • Assurez-vous que nous utilisons une adresse IP d’hôte valide dans la plage de sous-réseau comme IP d’hôte.
 

Affected Products

OS9, PowerSwitch S3048-ON, PowerSwitch S4048-ON, PowerSwitch S4810P, PowerSwitch S4810-ON, PowerSwitch S4820T, PowerSwitch S5000, Dell Networking S3100 Series, PowerSwitch S4048T-ON, PowerSwitch S5048F-ON

Products

PowerSwitch S6000, PowerSwitch S6000 ON, PowerSwitch S6010-ON, PowerSwitch S6100-ON, PowerSwitch Z9100-ON, PowerSwitch Z9264F-ON, PowerSwitch Z9332F-ON
Article Properties
Article Number: 000312772
Article Type: How To
Last Modified: 25 Apr 2025
Version:  1
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.