设为首页收藏本站language→→ 语言切换

鸿鹄论坛

 找回密码
 论坛注册

QQ登录

先注册再绑定QQ

查看: 743|回复: 3
收起左侧

[求助] ACL配置问题

[复制链接]
发表于 2020-6-24 08:52:34 | 显示全部楼层 |阅读模式
大家好,我在做ACL应用时,遇到一些问题,希望大家帮我检查一下,看看出了什么问题。
实验目的如下:
-         Network 10.10.30.0 cannot access the web-server in 10.10.10.0network
-         Network 10.10.20.0 can access the web-server in 10.10.10.0 network
-         Network 10.10.10.0 can access the webserver in 10.10.20.0 network
-         Network 10.10.10.0 can ping to the outside
-         The outside networks cannot ping 10.10.10.0 network
路由器配置如下:
interface GigabitEthernet0/0
description the link to pc0
ip address 10.10.10.1 255.255.255.0
ip access-group server1permission in
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 10.10.20.1 255.255.255.0
ip access-group server0permission in
duplex auto
speed auto
!
interface GigabitEthernet0/2
ip address 10.10.30.1 255.255.255.0
duplex auto
speed auto
!
interface Serial0/0/0
no ip address
clock rate 2000000
shutdown
!
interface Serial0/0/1
no ip address
clock rate 2000000
shutdown
!
interface Vlan1
no ip address
shutdown
!
ip classless
!
ip flow-export version 9
!
!
ip access-list extended server1permission
permit tcp 10.10.20.0 0.0.0.3 host 10.10.10.100 eq www
ip access-list extended server0permission
permit icmp 10.10.10.0 0.0.0.3 10.10.20.0 0.0.0.3
permit tcp 10.10.10.0 0.0.0.3 host 10.10.20.100 eq www
permit udp 10.10.10.0 0.0.0.3 host 10.10.20.100
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end

拓扑图已经上传附件了,请大家看看,先谢谢啦!

ACL Topology

ACL Topology
发表于 2020-8-17 20:51:43 | 显示全部楼层
来学习学习
板凳 2020-8-17 20:51:43 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2020-8-21 17:24:17 | 显示全部楼层
本帖最后由 a01541681680 于 2020-8-21 17:28 编辑



interface vlan 10
ip access-group 101 in
        10 permit tcp 10.10.10.0 0.0.0.255 10.10.20.0 0.0.0.255 eq www
        20 permit tcp 10.10.10.0 0.0.0.255 eq www 10.10.20.0 0.0.0.255
        30 permit icmp 10.10.10.0 0.0.0.255 10.10.40.0 0.0.0.255 echo
        40 deny tcp 10.10.10.0 0.0.0.255 eq www 10.10.30.0 0.0.0.255
        50 deny icmp 10.10.10.0 0.0.0.255 10.10.40.0 0.0.0.255 echo-reply
        60 permit ip any any


-         Network 10.10.10.0 can access the webserver in 10.10.20.0 network
-         Network 10.10.20.0 can access the web-server in 10.10.10.0 network
-         Network 10.10.10.0 can ping to the outside
-         Network 10.10.30.0 cannot access the web-server in 10.10.10.0network
-         The outside networks cannot ping 10.10.10.0 network



你的outside我不知道你指哪邊 拓樸沒看到
我就假設 ouside 是10.10.40.0



地板 2020-8-21 17:24:17 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2024-3-29 18:15 , Processed in 0.056062 second(s), 10 queries , Redis On.  

  Powered by Discuz!

  © 2001-2024 HH010.COM

快速回复 返回顶部 返回列表