H3C]dis cu # version 5.20, Release 1618P13, Basic # sysname H3C # ipsec cpu-backup enable # undo cryptoengine enable # nat address-group 1 59.48.174.210 59.48.174.210 # domain default enable system # acl number 2000 # acl number 3000 rule 0 permit ip # vlan 1 # domain system access-limit disable state active idle-cut disable self-service-url disable # dhcp server ip-pool 1 network 192.168.1.0 mask 255.255.255.0 gateway-list 192.168.1.1 255.255.255.0 dns-list 59.49.49.49 # local-user admin password simple admin service-type telnet level 3 # interface Aux0 async mode flow link-protocol ppp # interface Ethernet0/0 port link-mode route ip address 192.168.1.1 255.255.255.0 # interface Ethernet0/1 port link-mode route nat outbound 3000 address-group 1 ip address 59.48.174.210 255.255.255.252 # interface NULL0 # ip route-static 0.0.0.0 0.0.0.0 59.48.174.209 # dhcp server forbidden-ip 192.168.1.1 # dhcp enable # user-interface con 0 user-interface aux 0 user-interface vty 0 4 # return [H3C] 以上是我的路由器的配置,无法自动分IP地址,请工程师指点
(0)
最佳答案
gateway-list 192.168.1.1 255.255.255.0 后边这个255.255.255.0是个什么鬼,去掉,你说不成功,PC插到哪里了?PC直接接到E0/0接口能获取到地址吗?如果不行的话,PC直连E0/0的时候,看看dhcp报文交互过程到哪一步了。
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论