Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Redistribution ( ospf, rip , eigrp , static )

Hello everyone!

I'm a trainee in networks, and i had an exercice of routing protocols and a static route OSPF, EIGRP , RIP, et Static. (I tried to do the redistribution between the LANs but it doesn't work for me, my ping command fails ), i tried to look for some usefull commands on google but i didn't find a solution.

I need your help please, i want to have a solution with commands on each router.

 

I'm using  Packet Tracer version 6.1.1 student.

this is my PKT work: https://docs.google.com/file/d/0B1_v47dz4SKFRDU1SlZQMTZtMGs

and this is a screenshot : https://drive.google.com/file/d/0B1_v47dz4SKFNVdPRVA5SzdwZzg

2 ACCEPTED SOLUTIONS

Accepted Solutions

Your distribution points are

Your distribution points are the routers that will run multiple protocols. From this it looks like the routers in the middle (can't see their names) are your redistribution points. I won't tell you the answer completely, but let's use the EIGRP network. On the router that's running eigrp 200 and ospf 10, you'll do dual redistribution:

router eigrp 200

redistribute ospf 1 metric 1 1 1 1 1

router ospf 1

redistribute eigrp 200 subnets

 

The router will share the eigrp learned routes with the ospf routers in area 20. You'll do this on the other two routers with redistributing between the appropriate protocols. After this, you'll be able to ping everywhere...

Unless I'm missing something, you can have a single ospf area that is not area 0 and still have it work. Once you have more than one area, you're required to have an area 0 in order for routes to travel across the backbone. In other words, if you have this area 20 (which is the only one I see at the moment), and you add an area 40 later, you won't be able to get routes from area 40 to 20 without an area 0...does that make sense?

HTH,

John

 

HTH, John *** Please rate all useful posts ***

Rating as resolved is good

Rating as resolved is good enough :) Glad I could help

 

I'm a network engineer like all of the rest of us..just a normal guy :)

HTH, John *** Please rate all useful posts ***
20 REPLIES

Your distribution points are

Your distribution points are the routers that will run multiple protocols. From this it looks like the routers in the middle (can't see their names) are your redistribution points. I won't tell you the answer completely, but let's use the EIGRP network. On the router that's running eigrp 200 and ospf 10, you'll do dual redistribution:

router eigrp 200

redistribute ospf 1 metric 1 1 1 1 1

router ospf 1

redistribute eigrp 200 subnets

 

The router will share the eigrp learned routes with the ospf routers in area 20. You'll do this on the other two routers with redistributing between the appropriate protocols. After this, you'll be able to ping everywhere...

Unless I'm missing something, you can have a single ospf area that is not area 0 and still have it work. Once you have more than one area, you're required to have an area 0 in order for routes to travel across the backbone. In other words, if you have this area 20 (which is the only one I see at the moment), and you add an area 40 later, you won't be able to get routes from area 40 to 20 without an area 0...does that make sense?

HTH,

John

 

HTH, John *** Please rate all useful posts ***
New Member

Thank you John for your quick

Thank you John for your quick response .

the problem is not answered yet( i just hit the botton because of a mistake )

this is exactly what i've done on my routers.

 

This is the configuration i made after the activation of the protocols and adding the networks to them, and the creation of static routes .

 

- the router that share RIPv2 and OSPF 10 :

config#router ospf 10

config-route#redistribute rip subnets

config-route#exit

config#router rip

config-route#redistribute ospf 10

 

-The router that share OSFP 10 and EIGRP 200 :

config#router ospf 10

config-route#redistribute eigrp 200 subnets

config-route#exit

config#router eigrp 200

config-route#redistribute ospf 10 metric 10000 100 255 1 1500  ( //default values)

config-route#exit

 

-the router that share the static and the ospf 10 :

config#router ospf 10

config-route#redistribute static subnets

config-route#redistribute connected subnets

 

But the ping still doesn't work

RIP requires a metric, so in

RIP requires a metric, so in your first example, change it to:

 

router rip

redistribute ospf 10 metric 2

 

The rest of it looks correct....

 

You also need to make sure that you have the routes from the respective protocol. For example, your routing table should have eigrp routes if it has an eigrp neighbor. Redistribution only works if a route that matches the protocol is in the routing table.

 

HTH, John *** Please rate all useful posts ***
New Member

Oh John you are genius i

Oh John you are genius i forgot the metric 2 :)

 

thank you a lot.

 

i have one problem now : The ping doesn't work between the static and eigrp , and the static and the rip.

 

Do i have to add something the (static-ospf) router ?

Can you post the routing

Can you post the routing table from the static/ospf router along with the static routes and ospf configuration? Also, can you post the result from "show ip ospf database extern"?

 

Thanks!

HTH, John *** Please rate all useful posts ***
New Member

ok , give me a moment please

ok , give me a moment please

New Member

Here is the the ospf/static

Here is the the ospf/static routing tabe, and the ospf database extern.

They're in the database. Let

They're in the database. Let's do this one site at a time then. Let's work with the eigrp/ospf router. From that router, can you post:

 

sh ip eigrp topolo

sh ip route

sh ip ospf database exter

sh ip ospf neigh brie

 

Also, do you have a default route on all of the routers in the "Static" area?

HTH, John *** Please rate all useful posts ***
New Member

here is the results of the

here is the results of the commands.

 

Okay....let's focus on the

Okay....let's focus on the 192.168.64.0/22 route. The route shows to be connected on the static/ospf router. The route is in the routing table on the ospf/eigrp router. Can you post the routing table from one of the internal eigrp routers?

 

Can you try to ping that address from one of your hosts? All hosts should have a default route pointing to their respective router. I don't see a default route on any of your routers that you have. The router will drop unknown traffic if it doesn't have a default route to send the traffic to.

 

HTH,

John

HTH, John *** Please rate all useful posts ***
New Member

the ping on this network 192

the ping on this network 192.168.64.0/22 works without creating a static route, because it's directly connected to the ospf/static router

 

it's normal because the ospf protocol will share all the connected networks to that router.

 

the issues is between the network 192.168.68.0/23 and rip area, and 192.168.68.0/23 and the eigrp area. the same for the network 209.165.200.224/27

New Member

do i have to add those

do i have to add those commands ?

 

ospf/eigrp config#ip route 0.0.0.0 0.0.0.0 192.168.77.1

ospf/rip config#ip route 0.0.0.0 0.0.0.0  192.168.77.5

192.168.68.0/23 config#ip route 0.0.0.0 0.0.0.0 192.168.77.9

209.165.200.224/27 config#ip route 0.0.0.0 0.0.0.0 209.165.200.225

Yes...that will resolve any

Yes...that will resolve any unknown routes.

HTH, John *** Please rate all useful posts ***

Hello, I'm also studying for

Hello, I'm also studying for my CCNA and Im doing some labs in Packet tracer. I have RIP2 network and EIGRP network, all computers in those networks can ping each other, so the routing is good. Now I wanted to connect this two networks so I created router in the middle (CORE router) that should redistribute traffic between networks. I enabled RIp2 and EIGRP on Core router and I followed instructions for redistribution, so I typed this commands:

router eigrp 1

redistribute rip metric 1024 0 255 1 1500

network 10.0.0.0

no auto-summary

!

router rip

redistribute eigrp 1 metric 1

network 10.0.0.0

network 172.30.0.0

network 192.168.13.0

no auto-summary

!

All computers in RIP 2 network can see Core router, all computers in EIGRP network can see Core router, but they cant see each other. 

When I type show ip route it looks like EIGRP network can see RIP2 network, but not vice versa.

So it looks like EIGRP router and Core router learned all routes, but RIP2 router didnt. Obviously I messed something with redistribution.

Please help. Thank you in advance.

In attachment you can see how my lab looks like.

Sorry...I should have made

Sorry...I should have made myself more clear. I wanted you to try to ping the 192.168.64.0/22 host from the host in the eigrp AS. Either way, the 192.168.68.0/23 is the same situation. You have the route in the eigrp/ospf router, so you should be able to get to it.

Many of us don't use packet tracer, so that's one reason why I haven't downloaded your pkt file. You need to make sure that this route has a default route. The router on the left side in the "static" area needs a default route pointing to the ospf/static router. All of your routers need a default route, but especially the statics because they have no visibility to the other networks unless you've added all of your other routes as static to those routers.

 

So, final thing:

Please post the routing table on the router in the "static" area that sits on the left side

and please post the routing table on the eigrp internal router that sits on the left side (Router8 is listed underneath).

 

HTH, John *** Please rate all useful posts ***
New Member

the problem is resolved this

the problem is resolved

 

this is what i did :

192.168.68.0/23 config#ip route 0.0.0.0 0.0.0.0 192.168.77.9

209.165.200.224/27 config#ip route 0.0.0.0 0.0.0.0 209.165.200.225

ospf/rip config# router rip

ospf/rip config-route# redistribute ospf 10 metric 1

 

the ospf/static router doesn't contain any default route

the eigrp/ospf router doesn't contain any default route

the rip/ospf router doesn't contain any default route

 

and the ping works between all the networks, and this is what i was looking for.

 

can I do something for you as a reward on the website ? cick something for exemple

 

thank you so much. you really helped me a lot.

what is your job please ?

Rating as resolved is good

Rating as resolved is good enough :) Glad I could help

 

I'm a network engineer like all of the rest of us..just a normal guy :)

HTH, John *** Please rate all useful posts ***
New Member

my dream is to because a

my dream is to because a network engineer too, but i have a problem with my professor in class.

 

He doesn't teach us the basics and the important things, so i feel like i'm wasting my time.

 

I wish you all the success in your life :)

Nothing learned is ever

Nothing learned is ever wasted. Sometimes we just have to take what's given to us and start asking a lot of questions. You'll get there. The basics will help you build into the more complicated. Just keep at it and stay on these forums. There are a great group of people on here willing to help.

Thanks!

John

HTH, John *** Please rate all useful posts ***
New Member

hi dear 

hi dear 

I am also a student of Networks in OSPF there should be Aria 0 to manage the network if you don,t have aria 0 then you ll not able to communicate with other protocol make it aria 0 and then try it ll work

Regards

Ahmad Raza Ghumman

EX-Sol PK 

10627
Views
0
Helpful
20
Replies
CreatePlease to create content