H3C设备的DHCP配置
时间: 2024-06-04 07:12:40 浏览: 147
H3C_DHCP_配置
H3C设备的DHCP配置步骤如下:
1. 配置DHCP地址池
[H3C] dhcp enable
[H3C] interface vlanif 10
[H3C-Vlanif10] dhcp server ip-pool test
[H3C-Vlanif10] dhcp server excluded-ip-address 192.168.1.1 192.168.1.10
2. 配置DHCP选项
[H3C] ip dhcp option 3 router 192.168.1.1
[H3C] ip dhcp option 6 dns-server 192.168.1.2
3. 配置DHCP绑定
[H3C] dhcp snooping enable
[H3C] dhcp snooping binding static ip-address 192.168.1.100 mac-address 0011-2233-4455 vlan 10
4. 配置DHCP中继
[H3C] dhcp enable
[H3C] interface gigabitethernet 1/0/1
[H3C-GigabitEthernet1/0/1] dhcp relay server-group test
[H3C-GigabitEthernet1/0/1] dhcp relay information option
注意:以上配置仅供参考,具体配置需要根据实际情况进行调整。
阅读全文