基于‘CCNA路由版虚拟实验室’的路由综合试验及配置
来源:56cto.com网友投稿作者: 发布时间:2008-05-26 阅读次数

基于‘CCNA路由版虚拟实验室’的路由综合试验及配置

试验要求:
1 路由全通,要求R3、R2、R1看不到以上R4、R5的两个环回网络
,其他所有路由器都可以看到全部的网络

2 给R1设置5个环回接口,使用10.0.0.0/20的地址,运行RIPV2,配置单播更新,并要求发送路由更新时使用汇总后的地址。
3 在R2上运行RIPV2,并在R2与R3之间设置触发更新,使用MD5方式认证。
4 在R3与R5之间设置MD5认证。
5 在R3与R4之间设置MD5认证。
6 设置R4和R5两个环回网络之间的静态路由,并指定R3作为R4与R5的备份线路(浮动静态路由)。
7 开启OSPF的全区域认证,开启所有路由器的密码加密服务。

协议要求:
R3-R2-R1 RIPV2
R3-R4 OSPF
R3-R5 EIGRP
注意:所有牵扯到认证的地方,认证密码全部使用cisco


R1#sh run
Building configuration...

Current configuration : 1140 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname R1
!
!
ip subnet-zero
ip cef
!
!
!
call rsvp-sync
!
!
!
!
!
!
!        
!
interface Loopback0
 ip address 10.0.16.1 255.255.240.0
!
interface Loopback1
 ip address 10.0.32.1 255.255.240.0
!
interface Loopback2
 ip address 10.0.48.1 255.255.240.0
!
interface Loopback3
 ip address 10.0.64.1 255.255.240.0
!
interface FastEthernet0/0
 no ip address
 shutdown
 duplex half
!
interface Serial1/0
 no ip address
 shutdown
 serial restart-delay 0
!        
interface Serial1/1
 ip address 172.16.4.1 255.255.252.0
 ip summary-address rip 10.0.0.0 255.255.192.0
 serial restart-delay 0
 clock rate 64000
!
interface Serial1/2
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial1/3
 no ip address
 shutdown
 serial restart-delay 0
!
router rip
 version 2
 passive-interface Serial1/1
 network 10.0.0.0
 network 172.16.0.0
 neighbor 172.16.4.2
 no auto-summary
!
ip classless
no ip http server
!
!
dial-peer cor custom
!
!
!
!
gatekeeper
 shutdown
!
!
line con 0
 exec-timeout 0 0
 logging synchronous
line aux 0
line vty 0 4
!
end

R2#sh run
Building configuration...

Current configuration : 990 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname R2
!
!
ip subnet-zero
ip cef
!
!
!
!
key chain ccna
 key 1
  key-string 7 104D000A0618
call rsvp-sync
!
!
!        
!
!
!
!
!
interface FastEthernet0/0
 no ip address
 shutdown
 duplex half
!
interface Serial1/0
 ip address 172.16.4.2 255.255.252.0
 serial restart-delay 0
 clock rate 64000
!
interface Serial1/1
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial1/2
 ip address 172.16.8.1 255.255.252.0
 ip rip triggered
 ip rip authentication mode md5
 ip rip authentication key-chain ccna
 serial restart-delay 0
 clock rate 64000
!
interface Serial1/3
 no ip address
 shutdown
 serial restart-delay 0
!
router rip
 version 2
 timers basic 30 180 0 240
 network 172.16.0.0
 no auto-summary
!
ip classless
no ip http server
!
!
dial-peer cor custom
!
!        
!
!
gatekeeper
 shutdown
!
!
line con 0
 exec-timeout 0 0
 logging synchronous
line aux 0
line vty 0 4
!
end

R3#sh run
Building configuration...

Current configuration : 1657 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname R3
!
!
ip subnet-zero
ip cef
!
!
!
!
key chain ccna
 key 1
  key-string 7 121A0C041104
call rsvp-sync
!
!
!        
!
!
!
!
!
interface FastEthernet0/0
 no ip address
 shutdown
 duplex half
!
interface Serial1/0
 ip address 172.16.8.2 255.255.252.0
 ip rip triggered
 ip rip authentication mode md5
 ip rip authentication key-chain ccna
 serial restart-delay 0
 clock rate 64000
!
interface Serial1/1
 ip address 172.16.12.1 255.255.252.0
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 7 14141B180F0B
 serial restart-delay 0
 clock rate 64000
!
interface Serial1/2
 ip address 172.16.16.1 255.255.252.0
 ip authentication mode eigrp 100 md5
 ip authentication key-chain eigrp 100 ccna
 serial restart-delay 0
 clock rate 64000
!
interface Serial1/3
 no ip address
 shutdown
 serial restart-delay 0
!
router eigrp 100
 redistribute rip metric 2000 1 255 1 1500
 redistribute ospf 100 metric 2000 1 255 1 1500
 network 172.16.8.0 0.0.3.255
 network 172.16.12.0 0.0.3.255
 network 172.16.16.0 0.0.3.255
 no auto-summary
!
router ospf 100
 log-adjacency-changes
 no auto-cost
 redistribute rip metric 10 subnets
 redistribute eigrp 100 metric 10 subnets
 network 172.16.8.0 0.0.3.255 area 0
 network 172.16.12.0 0.0.3.255 area 0
 network 172.16.16.0 0.0.3.255 area 0
!
router rip
 version 2
 timers basic 30 180 0 240
 network 172.16.0.0
 no auto-summary
!
ip classless
no ip http server
!
!
dial-peer cor custom
!
!
!
!        
gatekeeper
 shutdown
!
!
line con 0
 exec-timeout 0 0
 logging synchronous
line aux 0
line vty 0 4
!
end


R4#sh run
Building configuration...

Current configuration : 1139 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname R4
!
!
ip subnet-zero
ip cef
!
!
!
!
key chain ccna
 key 1
  key-string 7 094F471A1A0A
call rsvp-sync
!
!
!        
!
!
!
!
!
interface Loopback0
 ip address 2.2.2.2 255.255.255.0
!
interface FastEthernet0/0
 no ip address
 shutdown
 duplex half
!
interface Serial1/0
 ip address 172.16.16.2 255.255.252.0
 ip authentication mode eigrp 100 md5
 ip authentication key-chain eigrp 100 ccna
 serial restart-delay 0
 clock rate 64000
!
interface Serial1/1
 ip address 172.16.20.1 255.255.255.0
 serial restart-delay 0
 clock rate 64000
!
interface Serial1/2
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial1/3
 no ip address
 shutdown
 serial restart-delay 0
!
router eigrp 100
 network 172.16.16.0 0.0.3.255
 network 172.16.20.0 0.0.3.255
 no auto-summary
!
ip classless
ip route 1.1.1.0 255.255.255.0 172.16.20.2
ip route 1.1.1.0 255.255.255.0 Serial1/0 10
no ip http server
!
!        
dial-peer cor custom
!
!
!
!
gatekeeper
 shutdown
!
!
line con 0
 exec-timeout 0 0
 logging synchronous
line aux 0
line vty 0 4
!
end


R5#sh run
Building configuration...

Current configuration : 1087 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname R5
!
!
ip subnet-zero
ip cef
!
!
!
call rsvp-sync
!
!
!
!
!
!
!        
!
interface Loopback0
 ip address 1.1.1.1 255.255.255.0
!
interface FastEthernet0/0
 no ip address
 shutdown
 duplex half
!
interface Serial1/0
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial1/1
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial1/2
 ip address 172.16.12.2 255.255.252.0
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 7 060506324F41
 serial restart-delay 0
 clock rate 64000
!
interface Serial1/3
 ip address 172.16.20.2 255.255.255.0
 serial restart-delay 0
 clock rate 64000
!
router ospf 100
 log-adjacency-changes
 no auto-cost
 network 172.16.12.0 0.0.3.255 area 0
 network 172.16.20.0 0.0.3.255 area 0
!
ip classless
ip route 2.2.2.0 255.255.255.0 172.16.20.1
ip route 2.2.2.0 255.255.255.0 Serial1/2 10
no ip http server
!
!
dial-peer cor custom
!
!        
!
!
gatekeeper
 shutdown
!
!
line con 0
line aux 0
line vty 0 4
!
end

    以上为整个试验最终完成后的show running-config结果。

上一篇:CCNP812:交换机常见故障排除  
下一篇:CCNP:MPLS-VPN技术方案简介