路由技术实训报告
duplex auto speed auto !
interface FastEthernet0/1
ip address 172.16.2.1 255.255.254.0 duplex auto speed auto !
interface Serial0/0/0
ip address 209.165.200.226 255.255.255.252 clock rate 64000 !
interface Serial0/0/1 no ip address shutdown !
interface Vlan1 no ip address shutdown !
router rip version 2
passive-interface FastEthernet0/0 passive-interface FastEthernet0/1 network 172.16.0.0 network 209.165.200.0
default-information originate no auto-summary !
ip classless !
line con 0
password cisco login
line vty 0 4 password cisco login ! ! end
HQ#show run
Building configuration...
Current configuration : 857 bytes !
version 12.3
no service timestamps log datetime msec no service timestamps debug datetime msec
25
路由技术实训报告
no service password-encryption !
hostname HQ ! !
interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.128 duplex auto speed auto !
interface FastEthernet0/1
ip address 192.168.1.129 255.255.255.192 duplex auto speed auto !
interface Serial0/0/0
ip address 209.165.200.225 255.255.255.252 !
interface Serial0/0/1
ip address 209.165.200.229 255.255.255.252 clock rate 64000 !
interface Vlan1 no ip address shutdown !
router rip version 2
passive-interface FastEthernet0/0 passive-interface FastEthernet0/1 network 192.168.1.0 network 209.165.200.0
default-information originate no auto-summary !
ip classless !
line con 0
password cisco login
line vty 0 4 password cisco login ! ! ! End
BRANCH2#show run
26
路由技术实训报告
Building configuration...
Current configuration : 783 bytes !
version 12.3
no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption !
hostname BRANCH2 ! !
interface FastEthernet0/0
ip address 172.16.4.1 255.255.255.128 duplex auto speed auto !
interface FastEthernet0/1
ip address 172.16.4.129 255.255.255.128 duplex auto speed auto !
interface Serial0/0/0 no ip address shutdown !
interface Serial0/0/1
ip address 209.165.200.230 255.255.255.252 !
interface Vlan1 no ip address shutdown !
router rip version 2
passive-interface FastEthernet0/0 passive-interface FastEthernet0/1 network 172.16.0.0 network 209.165.200.0
default-information originate no auto-summary !
ip classless !
line con 0 line vty 0 4 login ! ! ! end
27
路由技术实训报告
五、实训结果分析
关于本实训老师交给我们的办法是清除并重启路由器之后,把实训指导书上的配置口令直接粘贴到路由器上进行配置,可是到了最后我发现不管我只能做都是错的,最后在我的耐心检查下,发现指导书上粘贴下来的有一些配置ip地址的口令是错的,最后改过累之后发现变成了完成100%,关于本实训我最想说的就是要细心.不要心浮气躁。
实训项目六:标准访问控制列表
一、实训目的
通过本次的实训,学会采用数字编号配置标准的ACL,同时配置命名标准的ACL。
二、实训任务
? 配置采用数字编号的标准 ACL ? 配置命名标准 ACL
三、实训过程
28
路由技术实训报告
1、地址规划表 设备 R1 接口 Fa0/0 Fa0/1 S0/0/0 Fa0/0 R2 S0/0/0 S0/0/1 S0/1/0 R3 Fa0/0 S0/0/1 Fa0/0 ISP PC1 PC2 PC3 PC4 WEB/TFTP Server WEB Server Outside Host
Fa0/1 S0/0/1 网卡 网卡 网卡 网卡 网卡 网卡 网卡 IP 地址 192.168.10.1 192.168.11.1 10.1.1.1 192.168.20.1 10.1.1.2 10.2.2.1 192.168.30.1 10.2.2.2 209.165.201.1 子网掩码 255.255.255.0 255.55.255.0 255.255.255.252 255.255.255.0 255.255.255.252 255.255.255.252 255.255.255.0 255.255.255.252 255.255.255.224 默认网关 不适用 不适用 不适用 不适用 不适用 不适用 不适用 不适用 不适用 不适用 不适用 不适用 192.168.10.1 192.168.11.1 192.168.30.1 192.168.30.1 192.168.20.1 209.165.201.1 209.165.200.225 255.255.255.224 209.165.202.129 255.255.255.224 209.165.200.226 255.255.255.224 192.168.10.10 192.168.11.10 192.168.30.10 192.168.30.128 192.168.20.254 255.255.255.0 255.255.255.0 255.255.255.0 255.255.255.0 255.255.255.0 209.165.201.30 255.255.255.224 209.165.202.158 255.255.255.224 209.165.202.129 2、操作步骤及命令
1)配置ACL: R1上
(config)# acccess-list 10 deny 192.168.10.0 0.0.0.255
(config)#access-list 10 permit any 配置标准ACL的出站接口:(config)#interface fa0/1
(config-if)#ip access-group 10 out
R2上
(config)# acccess-list 11 deny 192.168.11.0 0.0.0.255
(config)#access-list 11 permit any 配置标准ACL的出站接口:
(config)#interface serial0/1/0 (config-if)#ip access-group 11 out
2) 在R3上配置命名标准ACL
(config)#ip access-list standard NO_ACCESS
(config-std-nacl)#deny host 192.168.30.128 (config-std-nacl)#permit any
配置命名后的标准ACL的入站接口:
(config)#interface fa0/0
(config-if)#ip access-group NO_ACCESS in
29