ACL访问控制列表实验知识点:
http://blog.csdn.net/qq_39414668/article/details/79532063
标准访问控制列表:
拓扑图:
实验步骤:
1.给PC0和服务器配IP、掩码、网关
2.配置路由器——接口配IP、掩码、设置ACL、将ACL应用在端口上
enable
configure terminal
interface fa0/0
ip address 192.168.1.1 255.255.255.0
no shutdown
interface fa0/1
ip address 192.168.3.2 255.255.255.0
no shutdown
exit
access-list 1 deny 192.168.1.2
interface fa0/1
ip access-group 1 out
扩展访问控制列表实验:
拓扑图:
实验步骤:
1.给PC0和服务器配IP、掩码、网关
2.配置路由器——接口配IP、掩码、设置ACL、将ACL应用在端口上
enable
configure terminal
interface fa0/0
ip address 192.168.1.1 255.255.255.0
no shutdown
interface fa0/1
ip address 192.168.3.2 255.255.255.0
no shutdown
exit
access-list 100 permit tcp host 192.168.1.2 host 192.168.3.2 eq www
access-list 100 deny icmp host 192.168.1.2 host 192.168.3.2 echo
interface fa0/0
ip access-group 100 in
完整实验:
https://download.csdn.net/download/qq_39414668/10286987
来源:CSDN
作者:龍joker
链接:https://blog.csdn.net/qq_39414668/article/details/79559815