不能上外网
version 5.20, Feature 5123P36 # sysname H3C # undo voice vlan mac-address 00e0-bb00-0000 # domain default enable system # undo alg dns undo alg rtsp undo alg h323 undo alg sip undo alg sqlnet undo alg pptp undo alg ils undo alg nbt undo alg msn undo alg qq undo alg tftp undo alg sccp undo alg xdmcp undo alg rsh # acl number 3001 rule 0 permit tcp source 0.0.0.0 0 destination 0.0.0.1 255.255.255.0 # vlan 1 # domain system access-limit disable state active idle-cut disable self-service-url disable # pki domain default crl check disable # dhcp server ip-pool 111 network 192.168.111.0 mask 255.255.255.0 gateway-list 192.168.111.1 dns-list 218.30.19.40 # user-group system # local-user admin password cipher .]@USE=B,53Q=^Q`MAF4<1!! authorization-attribute level 3 service-type telnet # interface NULL0 # interface Vlan-interface1 ip address 192.168.111.1 255.255.255.0 # interface GigabitEthernet0/0 port link-mode route ip address 192.168.0.1 255.255.255.0 # interface GigabitEthernet0/1 port link-mode route nat outbound 3001 ip address 192.168.2.148 255.255.255.0 # interface GigabitEthernet0/2 port link-mode route # interface GigabitEthernet0/3 port link-mode bridge # interface GigabitEthernet0/4 port link-mode bridge # ip route-static 0.0.0.0 0.0.0.0 GigabitEthernet0/1 192.168.2.1 # dhcp enable # load xml-configuration # load tr069-configuration # user-interface con 0 user-interface vty 0 4 authentication-mode scheme # return
(0)
最佳答案
acl number 3001 rule 0 permit tcp source 0.0.0.0 0 destination 0.0.0.1 255.255.255.0
你这个ACL应该是错的。你这个ACL本来想达到什么目的?
(0)
你的思路是对的,改成acl number 3001 rule 0 permit就可以了
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
电脑ping自己的网关能通吗