1、实验指南:OSPF 之-再分发,汇总 2007-04-20 01:37:06标签:OSPF 路由 再分发 汇总 实验指南 实验指南Configure an IP network as depicted in Figure 1216, by using OSPF as the routing protocol and 2001 as the Autonomous System ID.Configure the entire Frame Relay network as three pointtopoint networks, as depicted in the figure.Configure
2、 all the OSPF areas as denoted in the figure. The two Frame Relay pointtopoint networks,between hin_hq, gecko, and tree_frog are in OSPF Area 0. The LAN interface of gecko is in OSPF Area 10, while the LAN interfaces of tree_frog and python are in OSPF Area 20. The serial interface of the python rou
3、ter and all the interfaces of the boa router are in OSPF Area 75.Configure the Frame Relay pointtopoint network between hin_hq and the chameleon router to be in the EIGRP routing domain. Ensure full IP connectivity from the chameleon routers LAN interface to all of the OSPF networks and interfaces.C
4、onfigure three loopback interfaces on the chameleon router, and advertise this as a single OSPF route.The gecko router must not have IP visibility to the LAN network on the boa router.配置 IP 网络,如图12-16 所示,通过使用 OSPF 路由协议和2001年作为自治系统编号。整个帧中继网络配置为3 个点,以点网络,在图所示。配置图中表示的所有的 OSPF 区域。点,以点两个帧中继网络之间 hin_hq,壁虎
5、,tree_frog,是在 OSPF 区域0。壁虎的 LAN 接口是在 OSPF 区域10 ,而 tree_frog 和 Python 的 LAN 接口在 OSPF 区域20 。 Python 的路由器和BOA 路由器的所有接口的串行接口在 OSPF 区域75。配置帧中继 hin_hq 和变色龙路由器之间的点至点的网络在 EIGRP 路由域。确保全 IP 连接从变色龙路由器 LAN 接口,所有的 OSPF 网络和接口。变色龙路由器上配置 loopback 接口,和宣传作为一个单一的 OSPF 路由。壁虎路由器必须没有 BOA 路由器上的 IP LAN 网络的可视性Hin_hqconf thos
6、t Hin_hqint l 0ip ad 1.1.1.1 255.255.255.255int l 1ip ad 10.1.5.1 255.255.255.0int s 2/0encap fno arp fno frame inverno shutint s2/0.1 point-to-pointip ad 10.1.128.1 255.255.255.0frame interface-dlci 102int s 2/0.2 point-to-pointip ad 10.1.129.1 255.255.255.0frame interface-dlci 103int s 2/0.3 point
7、-to-pointip ad 10.1.130.1 255.255.255.0frame interface-dlci 104exitrouter ospf 2001router-id 1.1.1.1net 10.1.128.1 0.0.0.0 a 0net 10.1.129.1 0.0.0.0 a 0net 10.1.5.1 0.0.0.0 a 0redistribute eigrp 2001 metric 100 metric-type 1 subnetssummary-address 10.1.16.0 255.255.252.0router eigrp 2001no aunet 10.
8、1.130.1 0.0.0.0 redistribute ospf 2001 metric 10000 100 255 1 1500endGeckoconf thost Geckoint l 0ip ad 2.2.2.2 255.255.255.255int l 1ip ad 10.1.6.1 255.255.255.240int s 2/0encap fno arp fno frame inverno shutint s 2/0.1 point-to-pointip ad 10.1.128.2 255.255.255.0frame interface-dlci 201exitaccess-l
9、ist 1 deny 10.1.70.0 0.0.0.255access-list 1 permit anyrouter ospf 2001router-id 2.2.2.2net 10.1.128.2 0.0.0.0 a 0net 10.1.6.1 0.0.0.0 a 10distribute-list 1 in s2/0.1endTree_frogconf thost Tree_frogint l 0ip ad 3.3.3.3 255.255.255.255int f 0/0ip ad 10.1.1.1 255.255.255.224ip ospf hello-interval 30no
10、shutint s 2/0encap fno arp fno frame inverno shutint s2/0.1 point-to-pointip ad 10.1.129.2 255.255.255.0frame interface-dlci 301exitrouter ospf 2001router-id 3.3.3.3net 10.1.129.2 0.0.0.0 a 0net 10.1.1.1 0.0.0.0 a 20area 20 virtual-link 5.5.5.5area 20 range 10.1.1.0 255.255.255.0endChameleonconf tho
11、st Chameleonint l 0ip ad 4.4.4.4 255.255.255.255int l 1ip ad 10.1.16.1 255.255.255.0int l 2ip ad 10.1.17.1 255.255.255.0int l 3ip ad 10.1.18.1 255.255.255.0int l 4ip ad 10.1.3.1 255.255.255.0int s 2/0encap fno arp fno frame inverno shutint s 2/0.1 point-to-pointip ad 10.1.130.2 255.255.255.0frame in
12、terface-dlci 401 exitrouter eigrp 2001no aunet 10.1.130.2 0.0.0.0net 10.1.3.1 0.0.0.0net 10.1.16.1 0.0.0.0net 10.1.17.1 0.0.0.0 net 10.1.18.1 0.0.0.0endPythonconf thost Pythonint l 0ip ad 5.5.5.5 255.255.255.255int f 0/0ip ad 10.1.1.2 255.255.255.224ip ospf hello-interval 30no shutint s 2/0ip ad 10.
13、1.80.1 255.255.255.0encap fno arp fno frame inverframe map ip 10.1.80.2 506 bno shutexitrouter ospf 2001router-id 5.5.5.5nei 10.1.80.2net 10.1.80.1 0.0.0.0 a 75net 10.1.1.2 0.0.0.0 a 20area 20 virtual-link 3.3.3.3endBoaconf thost Boaint l 0ip ad 6.6.6.6 255.255.255.255int l 1ip ad 10.1.70.1 255.255.
14、255.0int s2/0ip ad 10.1.80.2 255.255.255.0encap fno arp fno frame inverframe map ip 10.1.80.1 605 bno shutexitrouter ospf 2001router-id 6.6.6.6nei 10.1.80.1net 10.1.80.2 0.0.0.0 a 75net 10.1.70.1 0.0.0.0 a 75end校验Hin_hq#sh ip routeCodes: C - connected, S - static, R - RIP, M - mobile, B - BGPD - EIG
15、RP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2ia - IS-IS inter area, * - candidate default, U - per-user st
16、atic routeo - ODR, P - periodic downloaded static routeGateway of last resort is not set1.0.0.0/32 is subnetted, 1 subnetsC 1.1.1.1 is directly connected, Loopback010.0.0.0/8 is variably subnetted, 13 subnets, 4 masksD 10.1.3.0/24 90/2297856 via 10.1.130.2, 00:00:08, Serial2/0.3O IA 10.1.1.0/27 110/
17、65 via 10.1.129.2, 00:00:08, Serial2/0.2O IA 10.1.6.1/32 110/65 via 10.1.128.2, 00:00:08, Serial2/0.1C 10.1.5.0/24 is directly connected, Loopback1D 10.1.18.0/24 90/2297856 via 10.1.130.2, 00:00:08, Serial2/0.3D 10.1.17.0/24 90/2297856 via 10.1.130.2, 00:00:08, Serial2/0.3D 10.1.16.0/24 90/2297856 v
18、ia 10.1.130.2, 00:00:08, Serial2/0.3O 10.1.16.0/22 is a summary, 00:00:02, Null0O IA 10.1.70.1/32 110/130 via 10.1.129.2, 00:00:08, Serial2/0.2O IA 10.1.80.0/24 110/129 via 10.1.129.2, 00:00:08, Serial2/0.2C 10.1.130.0/24 is directly connected, Serial2/0.3C 10.1.129.0/24 is directly connected, Seria
19、l2/0.2C 10.1.128.0/24 is directly connected, Serial2/0.1Gecko#sh ip routeCodes: C - connected, S - static, R - RIP, M - mobile, B - BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF ext
20、ernal type 2i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2ia - IS-IS inter area, * - candidate default, U - per-user static routeo - ODR, P - periodic downloaded static routeGateway of last resort is not set2.0.0.0/32 is subnetted, 1 subnetsC 2.2.2.2 is directly connected, Loo
21、pback010.0.0.0/8 is variably subnetted, 10 subnets, 5 masksO E1 10.1.3.0/24 110/164 via 10.1.128.1, 00:02:22, Serial2/0.1O IA 10.1.1.0/27 110/129 via 10.1.128.1, 00:01:46, Serial2/0.1C 10.1.6.0/28 is directly connected, Loopback1O 10.1.5.1/32 110/65 via 10.1.128.1, 00:09:43, Serial2/0.1O E1 10.1.16.
22、0/22 110/164 via 10.1.128.1, 00:00:02, Serial2/0.1O IA 10.1.80.0/24 110/193 via 10.1.128.1, 00:04:36, Serial2/0.1O E1 10.1.130.0/24 110/164 via 10.1.128.1, 00:02:22, Serial2/0.1O 10.1.129.0/24 110/128 via 10.1.128.1, 00:09:43, Serial2/0.1C 10.1.128.0/24 is directly connected, Serial2/0.1Tree_frog#sh
23、 ip routeCodes: C - connected, S - static, R - RIP, M - mobile, B - BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L
24、2 - IS-IS level-2ia - IS-IS inter area, * - candidate default, U - per-user static routeo - ODR, P - periodic downloaded static routeGateway of last resort is not set3.0.0.0/32 is subnetted, 1 subnetsC 3.3.3.3 is directly connected, Loopback010.0.0.0/8 is variably subnetted, 10 subnets, 4 masksO E1
25、10.1.3.0/24 110/164 via 10.1.129.1, 00:00:31, Serial2/0.1C 10.1.1.0/27 is directly connected, FastEthernet0/0O IA 10.1.6.1/32 110/129 via 10.1.129.1, 00:00:31, Serial2/0.1O 10.1.5.1/32 110/65 via 10.1.129.1, 00:00:31, Serial2/0.1O E1 10.1.16.0/22 110/164 via 10.1.129.1, 00:00:10, Serial2/0.1O IA 10.
26、1.70.1/32 110/66 via 10.1.1.2, 00:00:31, FastEthernet0/0O IA 10.1.80.0/24 110/65 via 10.1.1.2, 00:00:31, FastEthernet0/0O E1 10.1.130.0/24 110/164 via 10.1.129.1, 00:00:31, Serial2/0.1C 10.1.129.0/24 is directly connected, Serial2/0.1O 10.1.128.0/24 110/128 via 10.1.129.1, 00:00:31, Serial2/0.1Chame
27、leon#sh ip routeCodes: C - connected, S - static, R - RIP, M - mobile, B - BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2i - IS-IS, su - IS-IS summary, L1 - IS-IS lev
28、el-1, L2 - IS-IS level-2ia - IS-IS inter area, * - candidate default, U - per-user static routeo - ODR, P - periodic downloaded static routeGateway of last resort is not set4.0.0.0/32 is subnetted, 1 subnetsC 4.4.4.4 is directly connected, Loopback010.0.0.0/8 is variably subnetted, 13 subnets, 4 mas
29、ksC 10.1.3.0/24 is directly connected, Loopback4D EX 10.1.1.0/27 170/2195456 via 10.1.130.1, 00:00:37, Serial2/0.1D EX 10.1.6.1/32 170/2195456 via 10.1.130.1, 00:00:37, Serial2/0.1D EX 10.1.5.0/24 170/2195456 via 10.1.130.1, 00:24:25, Serial2/0.1C 10.1.18.0/24 is directly connected, Loopback3C 10.1.
30、17.0/24 is directly connected, Loopback2C 10.1.16.0/24 is directly connected, Loopback1D EX 10.1.16.0/22 170/2195456 via 10.1.130.1, 00:00:31, Serial2/0.1D EX 10.1.70.1/32 170/2195456 via 10.1.130.1, 00:00:37, Serial2/0.1D EX 10.1.80.0/24 170/2195456 via 10.1.130.1, 00:00:37, Serial2/0.1C 10.1.130.0
31、/24 is directly connected, Serial2/0.1D EX 10.1.129.0/24 170/2195456 via 10.1.130.1, 00:24:27, Serial2/0.1D EX 10.1.128.0/24 170/2195456 via 10.1.130.1, 00:24:27, Serial2/0.1Chameleon#Python#sh ip route Codes: C - connected, S - static, R - RIP, M - mobile, B - BGPD - EIGRP, EX - EIGRP external, O -
32、 OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2ia - IS-IS inter area, * - candidate default, U - per-user static routeo - ODR, P - perio
33、dic downloaded static routeGateway of last resort is not set5.0.0.0/32 is subnetted, 1 subnetsC 5.5.5.5 is directly connected, Loopback010.0.0.0/8 is variably subnetted, 10 subnets, 4 masksO E1 10.1.3.0/24 110/165 via 10.1.1.1, 00:03:02, FastEthernet0/0C 10.1.1.0/27 is directly connected, FastEthern
34、et0/0O IA 10.1.6.1/32 110/130 via 10.1.1.1, 00:05:10, FastEthernet0/0O 10.1.5.1/32 110/66 via 10.1.1.1, 00:10:32, FastEthernet0/0O E1 10.1.16.0/22 110/165 via 10.1.1.1, 00:00:41, FastEthernet0/0O 10.1.70.1/32 110/65 via 10.1.80.2, 00:05:10, Serial2/0C 10.1.80.0/24 is directly connected, Serial2/0O E
35、1 10.1.130.0/24 110/165 via 10.1.1.1, 00:03:02, FastEthernet0/0O 10.1.129.0/24 110/65 via 10.1.1.1, 00:10:32, FastEthernet0/0O 10.1.128.0/24 110/129 via 10.1.1.1, 00:10:32, FastEthernet0/0Boa#sh ip routeCodes: C - connected, S - static, R - RIP, M - mobile, B - BGPD - EIGRP, EX - EIGRP external, O -
36、 OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2ia - IS-IS inter area, * - candidate default, U - per-user static routeo - ODR, P - perio
37、dic downloaded static routeGateway of last resort is not set6.0.0.0/32 is subnetted, 1 subnetsC 6.6.6.6 is directly connected, Loopback010.0.0.0/8 is variably subnetted, 10 subnets, 4 masksO E1 10.1.3.0/24 110/229 via 10.1.80.1, 00:03:20, Serial2/0O IA 10.1.1.0/27 110/65 via 10.1.80.1, 00:03:25, Ser
38、ial2/0O IA 10.1.6.1/32 110/194 via 10.1.80.1, 00:05:29, Serial2/0O IA 10.1.5.1/32 110/130 via 10.1.80.1, 00:05:29, Serial2/0O E1 10.1.16.0/22 110/229 via 10.1.80.1, 00:01:00, Serial2/0C 10.1.70.0/24 is directly connected, Loopback1C 10.1.80.0/24 is directly connected, Serial2/0O E1 10.1.130.0/24 110/229 via 10.1.80.1, 00:03:20, Serial2/0O IA 10.1.129.0/24 110/129 via 10.1.80.1, 00:05:29, Serial2/0O IA 10.1.128.0/24 110/193 via 10.1.80.1, 00:05:29, Serial2/0