ACL访问控制列表实验

ACL访问控制列表实验知识点:

http://blog.csdn.net/qq_39414668/article/details/79532063

标准访问控制列表:

拓扑图:

ACL访问控制列表实验_第1张图片

实验步骤:

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

扩展访问控制列表实验:

拓扑图:

ACL访问控制列表实验_第2张图片

实验步骤:

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

你可能感兴趣的:(cisco网络比赛)