实验指南
 
 
Configure an IP network as depicted in Figure 12−16, by using OSPF as the routing protocol and 2001 as the Autonomous System ID.
 
Configure the entire Frame Relay network as three point−to−point networks, as depicted in the figure.
 
Configure all the OSPF areas as denoted in the figure. The two Frame Relay point−to−point 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 router and all the interfaces of the boa router are in OSPF Area 75.
 
Configure the Frame Relay point−to−point 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.
 
Configure 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.
 
 
Hin_hq
conf t
host Hin_hq
int l 0
ip ad 1.1.1.1 255.255.255.255
int l 1
ip ad 10.1.5.1 255.255.255.0
int s 2/0
encap f
no arp f
no frame inver
no shut
int s2/0.1 point-to-point
ip ad 10.1.128.1 255.255.255.0
frame interface-dlci 102
int s 2/0.2 point-to-point
ip ad 10.1.129.1 255.255.255.0
frame interface-dlci 103
int s 2/0.3 point-to-point
ip ad 10.1.130.1 255.255.255.0
frame interface-dlci 104
exit
router ospf 2001
router-id 1.1.1.1
net 10.1.128.1 0.0.0.0 a 0
net 10.1.129.1 0.0.0.0 a 0
net 10.1.5.1 0.0.0.0 a 0
redistribute eigrp 2001 metric 100 metric-type 1 subnets
summary-address 10.1.16.0 255.255.252.0
router eigrp 2001
no au
net 10.1.130.1 0.0.0.0
redistribute ospf 2001 metric 10000 100 255 1 1500
end
 
Gecko
conf t
host Gecko
int l 0
ip ad 2.2.2.2 255.255.255.255
int l 1
ip ad 10.1.6.1 255.255.255.240
int s 2/0
encap f
no arp f
no frame inver
no shut
int s 2/0.1 point-to-point
ip ad 10.1.128.2 255.255.255.0
frame interface-dlci 201
exit
access-list 1 deny 10.1.70.0 0.0.0.255
access-list 1 permit any
router ospf 2001
router-id 2.2.2.2
net 10.1.128.2 0.0.0.0 a 0
net 10.1.6.1 0.0.0.0 a 10
distribute-list 1 in s2/0.1
end
 
Tree_frog
conf t
host Tree_frog
int l 0
ip ad 3.3.3.3 255.255.255.255
int f 0/0
ip ad 10.1.1.1 255.255.255.224
ip ospf hello-interval 30
no shut
int s 2/0
encap f
no arp f
no frame inver
no shut
int s2/0.1 point-to-point
ip ad 10.1.129.2 255.255.255.0
frame interface-dlci 301
exit
router ospf 2001
router-id 3.3.3.3
net 10.1.129.2 0.0.0.0 a 0
net 10.1.1.1 0.0.0.0 a 20
area 20 virtual-link 5.5.5.5
area 20 range 10.1.1.0 255.255.255.0
end

Chameleon
conf t
host Chameleon
int l 0
ip ad 4.4.4.4 255.255.255.255
int l 1
ip ad 10.1.16.1 255.255.255.0
int l 2
ip ad 10.1.17.1 255.255.255.0
int l 3
ip ad 10.1.18.1 255.255.255.0
int l 4
ip ad 10.1.3.1 255.255.255.0
int s 2/0
encap f
no arp f
no frame inver
no shut
int s 2/0.1 point-to-point
ip ad 10.1.130.2 255.255.255.0
frame interface-dlci 401
exit
router eigrp 2001
no au
net 10.1.130.2 0.0.0.0
net 10.1.3.1 0.0.0.0
net 10.1.16.1 0.0.0.0
net 10.1.17.1 0.0.0.0
net 10.1.18.1 0.0.0.0
end

Python
conf t
host Python
int l 0
ip ad 5.5.5.5 255.255.255.255
int f 0/0
ip ad 10.1.1.2 255.255.255.224
ip ospf hello-interval 30
no shut
int s 2/0
ip ad 10.1.80.1 255.255.255.0
encap f
no arp f
no frame inver
frame map ip 10.1.80.2 506 b
no shut
exit
router ospf 2001
router-id 5.5.5.5
nei 10.1.80.2
net 10.1.80.1 0.0.0.0 a 75
net 10.1.1.2 0.0.0.0 a 20
area 20 virtual-link 3.3.3.3
end

Boa
conf t
host Boa
int l 0
ip ad 6.6.6.6 255.255.255.255
int l 1
ip ad 10.1.70.1 255.255.255.0
int s2/0
ip ad 10.1.80.2 255.255.255.0
encap f
no arp f
no frame inver
frame map ip 10.1.80.1 605 b
no shut
exit
router ospf 2001
router-id 6.6.6.6
nei 10.1.80.1
net 10.1.80.2 0.0.0.0 a 75
net 10.1.70.1 0.0.0.0 a 75
end
 
校验
Hin_hq#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
     1.0.0.0/32 is subnetted, 1 subnets
C       1.1.1.1 is directly connected, Loopback0
     10.0.0.0/8 is variably subnetted, 13 subnets, 4 masks
D       10.1.3.0/24 [90/2297856] via 10.1.130.2, 00:00:08, Serial2/0.3
O IA    10.1.1.0/27 [110/65] via 10.1.129.2, 00:00:08, Serial2/0.2
O IA    10.1.6.1/32 [110/65] via 10.1.128.2, 00:00:08, Serial2/0.1
C       10.1.5.0/24 is directly connected, Loopback1
D       10.1.18.0/24 [90/2297856] via 10.1.130.2, 00:00:08, Serial2/0.3
D       10.1.17.0/24 [90/2297856] via 10.1.130.2, 00:00:08, Serial2/0.3
D       10.1.16.0/24 [90/2297856] via 10.1.130.2, 00:00:08, Serial2/0.3
O       10.1.16.0/22 is a summary, 00:00:02, Null0
O IA    10.1.70.1/32 [110/130] via 10.1.129.2, 00:00:08, Serial2/0.2
O IA    10.1.80.0/24 [110/129] via 10.1.129.2, 00:00:08, Serial2/0.2
C       10.1.130.0/24 is directly connected, Serial2/0.3
C       10.1.129.0/24 is directly connected, Serial2/0.2
C       10.1.128.0/24 is directly connected, Serial2/0.1

Gecko#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
     2.0.0.0/32 is subnetted, 1 subnets
C       2.2.2.2 is directly connected, Loopback0
     10.0.0.0/8 is variably subnetted, 10 subnets, 5 masks
O E1    10.1.3.0/24 [110/164] via 10.1.128.1, 00:02:22, Serial2/0.1
O IA    10.1.1.0/27 [110/129] via 10.1.128.1, 00:01:46, Serial2/0.1
C       10.1.6.0/28 is directly connected, Loopback1
O       10.1.5.1/32 [110/65] via 10.1.128.1, 00:09:43, Serial2/0.1
O E1    10.1.16.0/22 [110/164] via 10.1.128.1, 00:00:02, Serial2/0.1
O IA    10.1.80.0/24 [110/193] via 10.1.128.1, 00:04:36, Serial2/0.1
O E1    10.1.130.0/24 [110/164] via 10.1.128.1, 00:02:22, Serial2/0.1
O       10.1.129.0/24 [110/128] via 10.1.128.1, 00:09:43, Serial2/0.1
C       10.1.128.0/24 is directly connected, Serial2/0.1

Tree_frog#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
     3.0.0.0/32 is subnetted, 1 subnets
C       3.3.3.3 is directly connected, Loopback0
     10.0.0.0/8 is variably subnetted, 10 subnets, 4 masks
O E1    10.1.3.0/24 [110/164] via 10.1.129.1, 00:00:31, Serial2/0.1
C       10.1.1.0/27 is directly connected, FastEthernet0/0
O IA    10.1.6.1/32 [110/129] via 10.1.129.1, 00:00:31, Serial2/0.1
O       10.1.5.1/32 [110/65] via 10.1.129.1, 00:00:31, Serial2/0.1
O E1    10.1.16.0/22 [110/164] via 10.1.129.1, 00:00:10, Serial2/0.1
O IA    10.1.70.1/32 [110/66] via 10.1.1.2, 00:00:31, FastEthernet0/0
O IA    10.1.80.0/24 [110/65] via 10.1.1.2, 00:00:31, FastEthernet0/0
O E1    10.1.130.0/24 [110/164] via 10.1.129.1, 00:00:31, Serial2/0.1
C       10.1.129.0/24 is directly connected, Serial2/0.1
O       10.1.128.0/24 [110/128] via 10.1.129.1, 00:00:31, Serial2/0.1

Chameleon#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
     4.0.0.0/32 is subnetted, 1 subnets
C       4.4.4.4 is directly connected, Loopback0
     10.0.0.0/8 is variably subnetted, 13 subnets, 4 masks
C       10.1.3.0/24 is directly connected, Loopback4
D EX    10.1.1.0/27 [170/2195456] via 10.1.130.1, 00:00:37, Serial2/0.1
D EX    10.1.6.1/32 [170/2195456] via 10.1.130.1, 00:00:37, Serial2/0.1
D EX    10.1.5.0/24 [170/2195456] via 10.1.130.1, 00:24:25, Serial2/0.1
C       10.1.18.0/24 is directly connected, Loopback3
C       10.1.17.0/24 is directly connected, Loopback2
C       10.1.16.0/24 is directly connected, Loopback1
D EX    10.1.16.0/22 [170/2195456] via 10.1.130.1, 00:00:31, Serial2/0.1
D EX    10.1.70.1/32 [170/2195456] via 10.1.130.1, 00:00:37, Serial2/0.1
D EX    10.1.80.0/24 [170/2195456] via 10.1.130.1, 00:00:37, Serial2/0.1
C       10.1.130.0/24 is directly connected, Serial2/0.1
D EX    10.1.129.0/24 [170/2195456] via 10.1.130.1, 00:24:27, Serial2/0.1
D EX    10.1.128.0/24 [170/2195456] via 10.1.130.1, 00:24:27, Serial2/0.1
Chameleon#

Python#sh ip route        
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
     5.0.0.0/32 is subnetted, 1 subnets
C       5.5.5.5 is directly connected, Loopback0
     10.0.0.0/8 is variably subnetted, 10 subnets, 4 masks
O E1    10.1.3.0/24 [110/165] via 10.1.1.1, 00:03:02, FastEthernet0/0
C       10.1.1.0/27 is directly connected, FastEthernet0/0
O IA    10.1.6.1/32 [110/130] via 10.1.1.1, 00:05:10, FastEthernet0/0
O       10.1.5.1/32 [110/66] via 10.1.1.1, 00:10:32, FastEthernet0/0
O E1    10.1.16.0/22 [110/165] via 10.1.1.1, 00:00:41, FastEthernet0/0
O       10.1.70.1/32 [110/65] via 10.1.80.2, 00:05:10, Serial2/0
C       10.1.80.0/24 is directly connected, Serial2/0
O E1    10.1.130.0/24 [110/165] via 10.1.1.1, 00:03:02, FastEthernet0/0
O       10.1.129.0/24 [110/65] via 10.1.1.1, 00:10:32, FastEthernet0/0
O       10.1.128.0/24 [110/129] via 10.1.1.1, 00:10:32, FastEthernet0/0

Boa#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
     6.0.0.0/32 is subnetted, 1 subnets
C       6.6.6.6 is directly connected, Loopback0
     10.0.0.0/8 is variably subnetted, 10 subnets, 4 masks
O E1    10.1.3.0/24 [110/229] via 10.1.80.1, 00:03:20, Serial2/0
O IA    10.1.1.0/27 [110/65] via 10.1.80.1, 00:03:25, Serial2/0
O IA    10.1.6.1/32 [110/194] via 10.1.80.1, 00:05:29, Serial2/0
O IA    10.1.5.1/32 [110/130] via 10.1.80.1, 00:05:29, Serial2/0
O E1    10.1.16.0/22 [110/229] via 10.1.80.1, 00:01:00, Serial2/0
C       10.1.70.0/24 is directly connected, Loopback1
C       10.1.80.0/24 is directly connected, Serial2/0
O E1    10.1.130.0/24 [110/229] via 10.1.80.1, 00:03:20, Serial2/0
O IA    10.1.129.0/24 [110/129] via 10.1.80.1, 00:05:29, Serial2/0
O IA    10.1.128.0/24 [110/193] via 10.1.80.1, 00:05:29, Serial2/0