# 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.0.0 mask 255.255.255.0 gateway-list 192.168.1.1 255.255.255.0 dns-list 59.49.49.49 expired day 5 # 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)
最佳答案
ip-pool 1 network 192.168.0.0 mask 255.255.255.0
gateway-list 192.168.1.1
interface Ethernet0/0
port link-mode route
ip address 192.168.1.1 255.255.255.0
地址池和网关、接口IP不在一个地址段啊,肯定分配不了
把地址池改成192.168.1.0 mask 255.255.255.0就行了
(0)
谢谢,我是第一次输错了,再改的时候删不了。改过了,还不行啊。
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]
(0)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论