H3C路由器配置后无法通过DHCP获取IP地址,手动就可以上网,不记得型号,以下是配置参数,由于没有WEB界面,无法核实配置是否合理
version 5.20, Release 2514P14
#
sysname H3C
#
nat address-group 1
address 192.168.1.1 192.168.1.254
#
domain default enable system
#
dar p2p signature-file flash:/p2p_default.mtd
#
port-security enable
#
undo ip http enable
#
password-recovery enable
#
acl number 2000
rule 0 permit
rule 5 permit source 192.168.1.0 0.0.0.255
#
vlan 1
#
vlan 100
#
domain system
access-limit disable
state active
idle-cut disable
self-service-url disable
#
dhcp server ip-pool 100 extended
network ip range 192.168.1.2 192.168.1.254
gateway-list 192.168.1.1
dns-list 211.138.240.100 211.138.245.180
#
user-group system
group-attribute allow-guest
#
local-user admin
password cipher $c$3$40gC1cxf/wIJNa1ufFPJsjKAof+QP5aV
authorization-attribute level 3
service-type telnet
#
cwmp
undo cwmp enable
#
interface Aux0
async mode flow
link-protocol ppp
#
interface Cellular0/0
async mode protocol
link-protocol ppp
#
interface NULL0
#
interface Vlan-interface100
ip address 192.168.1.1 255.255.255.0
dhcp server apply ip-pool 100
#
interface GigabitEthernet0/0
port link-mode route
nat outbound 2000
ip address 192.168.137.2 255.255.255.0
#
interface GigabitEthernet0/1
port link-mode route
#
interface GigabitEthernet0/2
port link-mode bridge
#
interface GigabitEthernet0/3
port link-mode bridge
#
interface GigabitEthernet0/4
port link-mode bridge
#
interface GigabitEthernet0/5
port link-mode bridge
#
interface GigabitEthernet0/6
port link-mode bridge
#
interface GigabitEthernet0/7
port link-mode bridge
#
interface GigabitEthernet0/8
port link-mode bridge
port access vlan 100
speed 1000
stp disable
#
interface GigabitEthernet0/9
port link-mode bridge
#
ip route-static 0.0.0.0 0.0.0.0 192.168.137.1
#
dhcp enable
#
load xml-configuration
#
load tr069-configuration
#
user-interface tty 12
user-interface aux 0
user-interface vty 0 4
authentication-mode scheme
#
return
(0)
最佳答案
终端无法从我们设备上获取地址?建议终端和我们设备同时抓包看下dhcp的报文,我们是否正常应答dhcp报文
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
在G0/8抓到了这样的数据包,请问是dhcp的广播吗?为什么会获取不到呢