From: Chua, Parry (Parry.Chua@xxxxxxxxxx)
Date: Wed Dec 26 2001 - 05:49:06 GMT-3
Hi,
Route that redistribute to OSPF from BGP is consider external, others
are internal.
Route that redistrubute to Eigrp are consider as external.
1. Redistribute route that match the 1st condition
route-map eigrp2ospf permit 10
match ip address 1
access-list 1 deny 10.201.100.0
access-list 1 permit any
are :
O E2 10.202.100.0 [110/20] via 192.168.1.1, 00:09:54, Serial0/0
O E2 10.200.100.0 [110/20] via 192.168.1.1, 00:09:56, Serial0/0
O E2 192.168.102.0/24 [110/20] via 192.168.1.1, 00:09:56, Serial0/0
O E2 192.168.100.0/24 [110/20] via 192.168.1.1, 00:09:55, Serial0/0
O E2 192.168.101.0/24 [110/20] via 192.168.1.1, 00:09:55, Serial0/0
** dfault type is E2 ** default cost is 20
2. Redistributed route that match the 2nd condition
route-map eigrp2ospf permit 20
match route-type internal
set metric 10
set metric-type type-1
are :
O E1 10.201.100.0 [110/74] via 192.168.1.1, 00:09:56, Serial0/0
3. Since there is no BGP route redistribute to OSPF, no match for 3rd
condition.
Parry Chua
-----Original Message-----
From: Lee [mailto:kinwei@idigi.net.my]
Sent: Tuesday, December 25, 2001 3:05 AM
To: ccielab@groupstudy.com
Subject: Redistribution question on Jeff Doyle Config. Exercise
Hi all, i'm doing the configuration exercise for Q.4 on chapter 14(route
map). In my senario, i have 3 routers. R1(OSPF)---- FR----(EIGRP)R2. FR
is
the one doing redistribution. As you can see below, all EIGRP routes are
internal except 10.202.100.0.
FR#s
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate
default
U - per-user static route, o - ODR
Gateway of last resort is not set
10.0.0.0/24 is subnetted, 6 subnets
O 10.102.100.0 [110/65] via 192.168.1.2, 00:13:38, Serial0
O 10.100.100.0 [110/65] via 192.168.1.2, 00:13:38, Serial0
O 10.101.100.0 [110/65] via 192.168.1.2, 00:13:38, Serial0
D EX 10.202.100.0 [170/2195456] via 192.168.100.2, 00:20:33, Serial1
D 10.200.100.0 [90/2195456] via 192.168.100.2, 00:20:33, Serial1
D 10.201.100.0 [90/2195456] via 192.168.100.2, 00:20:33, Serial1
D 192.168.102.0/24 [90/2195456] via 192.168.100.2, 00:20:33, Serial1
C 192.168.1.0/24 is directly connected, Serial0
O 192.168.2.0/24 [110/65] via 192.168.1.2, 00:13:38, Serial0
C 192.168.100.0/24 is directly connected, Serial1
O 192.168.3.0/24 [110/65] via 192.168.1.2, 00:13:39, Serial0
D 192.168.101.0/24 [90/2195456] via 192.168.100.2, 00:20:34, Serial1
With the solution in appendix, after redistributed, i thought only
10.202.100.0 will becomes O-E2. After i checked the routing table on R1,
all
redistributed EIGRP routes have been changed as O-E2 except
10.201.100.0. By
right, this route '10.201.100.0' should not be redistribute with the
route-map control in FR. You can see the routing table on R1 below:
r1#sh ip route
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
i - IS-IS, 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
10.0.0.0/24 is subnetted, 6 subnets
C 10.102.100.0 is directly connected, FastEthernet0/0
C 10.100.100.0 is directly connected, FastEthernet0/0
C 10.101.100.0 is directly connected, FastEthernet0/0
O E2 10.202.100.0 [110/20] via 192.168.1.1, 00:09:54, Serial0/0
O E2 10.200.100.0 [110/20] via 192.168.1.1, 00:09:56, Serial0/0
O E1 10.201.100.0 [110/74] via 192.168.1.1, 00:09:56, Serial0/0
O E2 192.168.102.0/24 [110/20] via 192.168.1.1, 00:09:56, Serial0/0
C 192.168.1.0/24 is directly connected, Serial0/0
C 192.168.2.0/24 is directly connected, FastEthernet0/0
O E2 192.168.100.0/24 [110/20] via 192.168.1.1, 00:09:55, Serial0/0
C 192.168.3.0/24 is directly connected, FastEthernet0/0
O E2 192.168.101.0/24 [110/20] via 192.168.1.1, 00:09:55, Serial0/0
Route-map config in FR:
access-list 1 deny 10.201.100.0
access-list 1 permit any
route-map eigrp2ospf permit 10
match ip address 1
!
route-map eigrp2ospf permit 20
match route-type internal
set metric 10
set metric-type type-1
!
route-map eigrp2ospf permit 30
match route-type external
set metric 50
set metric-type type-2
IS THE RESULT THAT I GOT CORRECT ????
THANK IN ADVANCE.
regards,
lee
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:32:47 GMT-3