分类: WINDOWS
2009-07-24 12:04:48
拓扑:
需求
R5模拟BACKBONE,不允许配置。
一、RIP
1>配置R1/R2/R3/R4的Loopback0为3.3.x.x/24 . ( x = Router Number ) 将loopback0宣告进合适的路由协议。 要求环回口全网通,且在路由表里都显示为/24位。
2> R4 & BB1运行RIP,R4运行RIPv2,R4仅在E0口通告RIP的路由更新。 R4只从BB1收到199.9.z.0/24 ( z = odd number )的路由。 请用一个标准的命名访问控制列表匹配( Name = cisco )
在R4上,show ip route rip:发现
R 199.9.1.0/24 [120/1] via 150.100.1.1, 00:00:12, Ethernet0
R 199.9.5.0/24 [120/8] via 150.100.1.1, 00:00:12, Ethernet0
R 199.9.21.0/24 [120/1] via 150.100.1.1, 00:00:12, Ethernet0
3> 当R4在160秒内没有从BB1收到RIP的路由更新,将这些路由设为 "Possible Down".
4> R4只发送
5>
二、EIGRP
1> R2和R4的S1口运行EIGRP,AS=90 一旦发生拓扑变化。R2不向R4发送Query。
2> R2上建立Loopback8 :188.8.8.2/24;Loopback9 :188.8.9.2/24,将Lo8/Lo9宣告进EIGRP。 但R4只能收到一条汇总路由(要求精确汇总,不能包含路由黑洞)
3> 配置R4,使R4收到EIGRP路由的Metric(只能修改bandwidth)
R4#show ip route eigrp
D
188.8.0.0/23 is subnetted, 1 subnets
D 188.8.8.0 [90/3200000] vi
4> 请将EIGRP占用R4 Serial1口的带宽调整为600K。
5> 在R4上将RIP和EIGRP做双向重分布。
三、OSPF
1> 如图,运行OSPF。将各接口宣告进相应的Area中。 R3从BB2收到4条明细路由,请做相应的设置,使R2只能收到一条汇总路由。
2> R1和R3不能使用组播建立邻居关系,并且R1的S1口要成为DR;R3的S1口成为DROTHER。
3> 在R2上将EIGRP和OSPF做双向重分布。进入OSPF的外部路由,设置Seed Cost=10,并且在传递过程中Cost要累加。
4> R1建立Loopback100 : 3.3.100.1/24,使其他路由器都能访问,但不能用network通告此接口。
5> 通过配置,使Area2出现LSA7,并且能产生LSA7默认路由,要求在Area2中出现尽可能少的LSA7。
R5预配置
en
conf t
hostname R5
!
logging queue-limit 100
!
ip subnet-zero
no ip domain lookup
!
!
!
!
interface Loopback0
ip address
!
interface Loopback1
ip address 199.9.1.1 255.255.255.0
!
interface Loopback4
ip address 199.9.4.1 255.255.255.0
!
interface Loopback5
ip address 199.9.5.1 255.255.255.0
!
interface Loopback21
ip address 199.9.21.1 255.255.255.0
!
interface Loopback22
ip address 199.9.22.1 255.255.255.0
!
interface Loopback177
ip address 177.7.16.5 255.255.255.0
ip ospf network point-to-point
!
interface Loopback178
ip address 177.7.17.5 255.255.255.0
ip ospf network point-to-point
!
interface Loopback179
ip address 177.7.18.5 255.255.255.0
ip ospf network point-to-point
!
interface Loopback180
ip address 177.7.19.5 255.255.255.0
ip ospf network point-to-point
!
interface F0/0
ip address 150.100.1.1 255.255.255.0
no sh
!
interface Serial1/0
ip address 150.100.2.2 255.255.255.0
no sh
!
interface Serial1/1
no ip address
shutdown
!
router ospf 110
router-id
log-adjacency-changes
network 150.100.2.0
network 177.7.0.0 0.0.255.255 area 0
!
router rip
network 150.100.0.0
network 199.9.1.0
network 199.9.4.0
network 199.9.5.0
network 199.9.21.0
network 199.9.22.0
!
ip http server
ip classless
!
!
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
!
end