Dell Networking OS9 如何配置手动 DHCP 绑定或静态 DHCP 绑定
Summary: 本文介绍如何在 Dell Networking OS9 中配置手动动态主机控制协议 (DHCP) 绑定或静态 DHCP 绑定。
Ez a cikk a következő(k)re vonatkozik:
Ez a cikk nem vonatkozik a következő(k)re:
Ez a cikk nem kapcsolódik egyetlen konkrét termékhez sem.
Ez a cikk nem azonosítja az összes termékverziót.
Instructions
索引
什么是手动DHCP绑定或静态DHCP绑定?
DHCP 服务器自动为客户端分配一个可用的 IP 地址,然后在绑定表中创建条目。但是,管理员可以手动为客户端创建条目。当您想要保证网络设备收到特定的 IP 地址时,手动绑定非常有用。
配置
动态池配置
|
命令 |
说明 |
|---|---|
DELL# configure |
进入配置模式 |
DELL(conf)# ip dhcp server |
进入 DHCP 模式 |
DELL(config-dhcp)# pool <POOL NAME> |
创建 DHCP 池 |
DELL(config-dhcp-D-POOL)# network <Network/subnet mask> |
指定 IP 地址 |
DELL(config-dhcp-D-POOL)# default-router <Default Router IP> |
指定默认路由器 |
DELL(config-dhcp-D-POOL)# dns-server <DNS server IP> |
指定 DNS 服务器 |
静态池配置
|
命令 |
说明 |
|---|---|
DELL# configure |
进入配置模式 |
DELL(conf)# ip dhcp server |
进入 DHCP 模式 |
DELL(config-dhcp)# pool <POOL NAME> |
创建 DHCP 池 |
DELL(config-dhcp-S-POOL)# host-address <IP address> |
指定 IP 地址 |
DELL(config-dhcp-S-POOL)# hardware-address <Mac address> |
指定客户端硬件地址 |
DELLconfig-dhcp-S-POOL)# default-router <Default Router IP> |
指定默认路由器(可选) |
DELL(config-dhcp-S-POOL)# dns-server <DNS server IP> |
指定 DNS 服务器(可选) |
激活 DHCP 服务器
|
命令 |
说明 |
|---|---|
DELL# configure |
进入配置模式 |
DELL(conf)# ip dhcp server |
进入 DHCP 模式 |
DELL(config-dhcp)# no disable |
激活 DHCP 服务器 |
示例配置
请考虑以下示例,其中 MAC 地址为 11:22:33:44:55:66 的客户端必须从 DHCP 服务器接收 IP 地址 10.0.0.100。
示例配置
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
验证
DHCP 配置
要验证 DHCP 服务器配置和池详细信息,请使用以下命令:
DELL# show ip dhcp configuration pool
输出示例
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
捆绑
要验证 DHCP 服务器提供的 IP 地址,请使用以下命令:
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
需要记住的要点
- 该网络中必须有一个动态池范围,静态池才能正常工作
- 手动绑定可被视为单主机地址池。手动绑定的数量没有限制,
- 我们只能为每个主机配置一个手动绑定。
- 确保我们在子网范围内使用有效的主机 IP 作为主机 IP。
Érintett termékek
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-ONTermékek
PowerSwitch S6000, PowerSwitch S6000 ON, PowerSwitch S6010-ON, PowerSwitch S6100-ON, PowerSwitch Z9100-ON, PowerSwitch Z9264F-ON, PowerSwitch Z9332F-ONTermék tulajdonságai
Article Number: 000312772
Article Type: How To
Utoljára módosítva: 25 ápr. 2025
Version: 1
Választ kaphat kérdéseire más Dell-felhasználóktól
Támogatási szolgáltatások
Ellenőrizze, hogy a készüléke rendelkezik-e támogatási szolgáltatással.

