【实验目的】
简单模拟对宿舍的网络的访问控制,实现宿舍的网段只能访问Ftp服务器,而不能访问 WWW服务器。
【需求分析】
①Cisco 模拟器软件:GNS3 ;
②客户端虚拟机:VMware Workstation(Win2000 OS)
注:虚拟机上装Win2000 OS作为虚拟主机C1,克隆一个作为虚拟主机C2
③将C1作为宿舍网络内的一台主机,
在C2上配置Ftp 和 WWW 服务,最为服务器。
注:有关虚拟机上的Ftp 和 WWW 服务器的搭建在此不再详述。
【实验拓扑图】
一:
二:
【实验详细步骤】
〖未设置访控列表的情况下〗
R1的配置:
Router#show runn
Building configuration...
Current configuration : 851 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
interface FastEthernet0/0
ip address 172.16.1.1 255.255.255.0
duplex auto
speed auto
!
interface Serial1/0
ip address 172.16.3.1 255.255.255.0
serial restart-delay 0
clock rate 64000
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
ip http server
no ip http secure-server
!
ip route 172.16.4.0 255.255.255.0 Serial1/0
control-plane
!
line con 0
line aux 0
line vty 0 4
!
end