From: wsqccie@hotnail.com
Date: Sat Apr 19 2003 - 13:32:05 GMT-3
Hi, group
just do redistribute between RIP and OSPF.
r1---RIP(v1)---R3----(ospf area 0)--r6--
the link between r3 and r6 is /25 where R3 s0 is /24. I can not redistribute /25 netwok to RIP.
see below for help. (I also add area 0 range 148.6.64.0 255.255.255.0)
another , I so summary in so with ip summary rip 148.6.64.0 255.255.255.0, the route will in R1. but if I want to try more with summary, it tell me it has one and Ican not do more. Only one entry int this command? with the same of EIGRP?
thanks!
r6>ena
r6#conf t
Enter configuration commands, one per line. End with CNTL/Z.
r6(config)#int lo1
r6(config-if)#ip add 192.1.6.1 255.255.255.0
r6(config-if)#router eigrp 100
r6(config-router)#no auto
r6(config-router)#pass
r6(config-router)#passive-interface defaul
r6(config-router)#no pass lo1
r6(config-router)#router ospf 6
r6(config-router)#redist connected route-map atm
% Only classful networks will be redistributed
r6(config-router)#
04:07:45: OSPF: Build router LSA for area 0, router ID 148.6.6.6, seq 0x8000002E
04:07:45: OSPF: Build router LSA for area 5, router ID 148.6.6.6, seq 0x80000004
04:07:45: OSPF: Build router LSA for area 61, router ID 148.6.6.6, seq 0x80000015
r6(config-router)#redist connected route-map atm subnets
r6(config-router)#exit
r6(config)#route-map atm
r6(config-route-map)#match int lo1
r6(config-route-map)#^Z
r6#sh
04:08:15: %SYS-5-CONFIG_I: Configured from console by console
r6#wri
Building configuration...
?omm_serv_rack6#clear line 6
[confirm]
[OK]
comm_serv_rack6#r6
Trying r6 (1.1.1.1, 2006)... Open
r3#sh run
Building configuration...
Current configuration : 1266 bytes
!
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname r3
!
logging rate-limit console 10 except errors
!
ip subnet-zero
no ip finger
no ip domain-lookup
!
cns event-service server
!
!
!
interface Loopback0
ip address 148.6.3.3 255.255.255.0
ip ospf network point-to-point
!
interface Ethernet0
ip address 148.6.64.3 255.255.255.128
!
interface Ethernet1
no ip address
shutdown
!
interface Serial0
ip address 148.6.13.3 255.255.255.0
encapsulation frame-relay
ip split-horizon
frame-relay map ip 148.6.13.1 601 broadcast
!
interface Serial1
no ip address
shutdown
!
router ospf 6
router-id 148.6.3.3
log-adjacency-changes
area 0 range 148.6.64.0 255.255.255.0
summary-address 199.172.0.0 255.255.0.0
redistribute rip metric 3 metric-type 1 subnets
network 148.6.3.3 0.0.0.0 area 0
network 148.6.64.0 0.0.0.127 area 0
!
router rip
version 1
redistribute ospf 6 metric 6
passive-interface default
no passive-interface Serial0
network 148.6.0.0
!
ip kerberos source-interface any
ip classless
no ip http server
!
!
!
line con 0
logging synchronous
transport input none
line aux 0
line vty 0 4
privilege level 15
password cisco
login
!
end
r3#sh ip rip data
148.6.0.0/16 auto-summary
148.6.1.0/24
[1] via 148.6.13.1, 00:00:18, Serial0
148.6.2.0/24 redistributed
[6] via 148.6.2.2,
148.6.3.0/24 directly connected, Loopback0
148.6.4.0/24 redistributed
[6] via 148.6.4.4,
148.6.5.0/24 redistributed
[6] via 148.6.5.5,
148.6.6.0/24 redistributed
[6] via 148.6.6.6,
148.6.13.0/24 directly connected, Serial0
148.6.26.0/24 redistributed
[6] via 148.6.6.6,
148.6.46.0/24 redistributed
[6] via 148.6.6.6,
148.6.64.0/25 directly connected, Ethernet0
148.6.245.0/24 redistributed
[6] via 148.6.2.2,
150.100.0.0/16 auto-summary
150.100.0.0/16
[1] via 148.6.13.1, 00:00:18, Serial0
192.1.6.0/24 auto-summary
192.1.6.0/24 redistributed
[6] via 148.6.6.6,
199.172.0.0/16 redistributed
[6] via 0.0.0.0,
199.172.2.0/24 auto-summary
199.172.2.0/24
[2] via 148.6.13.1, 00:00:21, Serial0
199.172.4.0/24 auto-summary
199.172.4.0/24
[2] via 148.6.13.1, 00:00:21, Serial0
199.172.6.0/24 auto-summary
199.172.6.0/24
[2] via 148.6.13.1, 00:00:21, Serial0
r3#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
R 199.172.2.0/24 [120/2] via 148.6.13.1, 00:00:24, Serial0
O E2 192.1.6.0/24 [110/20] via 148.6.64.6, 00:01:20, Ethernet0
148.6.0.0/16 is variably subnetted, 11 subnets, 2 masks
O 148.6.245.0/24 [110/138] via 148.6.64.6, 00:01:37, Ethernet0
O IA 148.6.26.0/24 [110/74] via 148.6.64.6, 00:01:27, Ethernet0
O 148.6.2.0/24 [110/75] via 148.6.64.6, 00:01:37, Ethernet0
C 148.6.3.0/24 is directly connected, Loopback0
R 148.6.1.0/24 [120/1] via 148.6.13.1, 00:00:25, Serial0
O 148.6.6.0/24 [110/11] via 148.6.64.6, 00:01:38, Ethernet0
O 148.6.4.0/24 [110/75] via 148.6.64.6, 00:01:38, Ethernet0
O 148.6.5.0/24 [110/139] via 148.6.64.6, 00:01:38, Ethernet0
C 148.6.13.0/24 is directly connected, Serial0
O IA 148.6.46.0/24 [110/74] via 148.6.64.6, 00:01:28, Ethernet0
C 148.6.64.0/25 is directly connected, Ethernet0
R 199.172.6.0/24 [120/2] via 148.6.13.1, 00:00:26, Serial0
R 150.100.0.0/16 [120/1] via 148.6.13.1, 00:00:26, Serial0
R 199.172.4.0/24 [120/2] via 148.6.13.1, 00:00:26, Serial0
O 199.172.0.0/16 is a summary, 00:09:48, Null0
r3#
?omm_serv_rack6#clear line 1
[confirm]
[OK]
comm_serv_rack6#r1
Trying r1 (1.1.1.1, 2001)... Open
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
R 199.172.2.0/24 [120/1] via 150.100.1.254, 00:00:14, Ethernet0
R 192.1.6.0/24 [120/6] via 148.6.13.3, 00:00:05, Serial0
148.6.0.0/24 is subnetted, 10 subnets
R 148.6.245.0 [120/6] via 148.6.13.3, 00:00:05, Serial0
R 148.6.26.0 [120/6] via 148.6.13.3, 00:00:05, Serial0
R 148.6.2.0 [120/6] via 148.6.13.3, 00:00:05, Serial0
R 148.6.3.0 [120/1] via 148.6.13.3, 00:00:05, Serial0
C 148.6.1.0 is directly connected, Loopback0
R 148.6.6.0 [120/6] via 148.6.13.3, 00:00:06, Serial0
R 148.6.4.0 [120/6] via 148.6.13.3, 00:00:06, Serial0
R 148.6.5.0 [120/6] via 148.6.13.3, 00:00:06, Serial0
C 148.6.13.0 is directly connected, Serial0
R 148.6.46.0 [120/6] via 148.6.13.3, 00:00:06, Serial0
R 199.172.6.0/24 [120/1] via 150.100.1.254, 00:00:17, Ethernet0
150.100.0.0/24 is subnetted, 1 subnets
C 150.100.1.0 is directly connected, Ethernet0
R 199.172.4.0/24 [120/1] via 150.100.1.254, 00:00:17, Ethernet0
r1#sh run
Building configuration...
Current configuration : 1136 bytes
!
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname r1
!
logging rate-limit console 10 except errors
!
ip subnet-zero
no ip finger
no ip domain-lookup
!
cns event-service server
!
!
!
interface Loopback0
ip address 148.6.1.1 255.255.255.0
!
interface Ethernet0
ip address 150.100.1.1 255.255.255.0
!
interface Serial0
ip address 148.6.13.1 255.255.255.0
encapsulation frame-relay
ip split-horizon
frame-relay map ip 148.6.13.3 106 broadcast
!
interface Serial1
no ip address
shutdown
!
router rip
version 1
passive-interface default
no passive-interface Ethernet0
no passive-interface Serial0
network 148.6.0.0
network 150.100.0.0
distribute-list prefix oute0 out Ethernet0
distribute-list 1 in Ethernet0
no auto-summary
!
ip kerberos source-interface any
ip classless
no ip http server
!
!
ip prefix-list oute0 seq 5 permit 148.6.0.0/24
access-list 1 permit 199.172.0.0 0.0.254.255
!
!
line con 0
logging synchronous
transport input none
line aux 0
line vty 0 4
privilege level 15
password cisco
login
!
end
r1#
This archive was generated by hypermail 2.1.4 : Thu May 01 2003 - 13:35:58 GMT-3