S7506E DHCP不能自动获取地址手动正常
S7506E DHCP不能自动获取地址手动正常
(0)
最佳答案
少配了啊,dhcp select server enable
需要使能dhcp server服务才能作为dhcp服务器,对外分配地址
(0)
默认就是这个吧
(2) 配置DHCP服务 # 开启DHCP服务。 <SwitchA> system-view [SwitchA] dhcp enable # 配置VLAN接口10和VLAN接口20工作在DHCP服务器模式。 [SwitchA] interface vlan-interface 10 [SwitchA-Vlan-interface10] dhcp select server [SwitchA-Vlan-interface10] quit [SwitchA] interface vlan-interface 20 [SwitchA-Vlan-interface20] dhcp select server [SwitchA-Vlan-interface20] quit # 配置不参与自动分配的IP地址(DNS服务器、WINS服务器和网关地址)。 [SwitchA] dhcp server forbidden-ip 10.1.1.2 [SwitchA] dhcp server forbidden-ip 10.1.1.4 [SwitchA] dhcp server forbidden-ip 10.1.1.126 [SwitchA] dhcp server forbidden-ip 10.1.1.254 # 配置DHCP地址池1,用来为10.1.1.0/25网段内的客户端分配IP地址和网络配置参数。 [SwitchA] dhcp server ip-pool 1 [SwitchA-dhcp-pool-1] network 10.1.1.0 mask 255.255.255.128 [SwitchA-dhcp-pool-1] expired day 10 hour 12 [SwitchA-dhcp-pool-1] domain-name ***.*** [SwitchA-dhcp-pool-1] dns-list 10.1.1.2 [SwitchA-dhcp-pool-1] gateway-list 10.1.1.126 [SwitchA-dhcp-pool-1] nbns-list 10.1.1.4 [SwitchA-dhcp-pool-1] quit # 配置DHCP地址池2,用来为10.1.1.128/25网段内的客户端分配IP地址和网络配置参数。 [SwitchA] dhcp server ip-pool 2 [SwitchA-dhcp-pool-2] network 10.1.1.128 mask 255.255.255.128 [SwitchA-dhcp-pool-2] expired day 5 [SwitchA-dhcp-pool-2] domain-name ***.*** [SwitchA-dhcp-pool-2] dns-list 10.1.1.2 [SwitchA-dhcp-pool-2] gateway-list 10.1.1.254 [SwitchA-dhcp-pool-2] quit 4. 验证配置
[OA-HJ-01-Vlan-interface2033]dhcp select server global-pool [GYNSH-OA-HJ-01-Vlan-interface2033]dis this # interface Vlan-interface2033 description to_33F_AP_yewu ip address 172.20.33.252 255.255.255.0 vrrp vrid 100 virtual-ip 172.20.33.252 vrrp vrid 100 priority 150 vrrp vrid 100 preempt-mode timer delay 3 vrrp vrid 100 track 1 reduced 60 #
Comware Software, Version 5.20, Release 6710P03 Copyright (c) 2004-2017 Hangzhou H3C Tech. Co., Ltd. All rights reserved. H3C S7506E uptime is 9 weeks, 3 days, 4 hours, 27 minutes
照着这个配就行了https://www.h3c.com/cn/d_201303/776884_30005_0.htm#_Toc349226060
打不开
对应版本的配置指导里面的典型配置
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
对应版本的配置指导里面的典型配置