cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3951
Views
0
Helpful
19
Replies

Redistribute static route into OSPF question

Wilson Kwok
Level 1
Level 1

Hello

I'm doing Redistribute in GNS3, please download my lab first in attached file.

You  can see four routers, R1,R2,R3 running OSPF in vlan 10,20,30, can ping  each ip address between three routers, then I added R4 and R5 for  testing

redistribute static route. In R3, I have create default  route to R4 and R4 create default route to R3 and so on. In R2 also  create default route to R5 and R5

create default route to R2 and so on.

But still cannot ping between R4 and R5, please help.

Thanks

19 Replies 19

On R4, run "debug ip icmp" and start your ping again from R5. Post the results....

HTH,
John

*** Please rate all useful posts ***

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

Log from R4

R4#

00:07:14: ICMP: echo reply sent, src 192.168.10.2, dst 172.17.228.2

00:07:14: ICMP: echo reply sent, src 192.168.10.2, dst 172.16.228.2

00:07:14: ICMP: dst (192.168.10.2) host unreachable rcv from 192.168.30.1

R4#

00:07:16: ICMP: echo reply sent, src 192.168.10.2, dst 10.10.228.2

00:07:16: ICMP: dst (192.168.10.2) host unreachable rcv from 192.168.10.1

R4#

00:07:18: ICMP: echo reply sent, src 192.168.10.2, dst 172.17.228.2

00:07:18: ICMP: echo reply sent, src 192.168.10.2, dst 172.16.228.2

00:07:18: ICMP: dst (192.168.10.2) host unreachable rcv from 192.168.30.1

Ping from R5

R5#ping 192.168.10.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.10.2, timeout is 2 seconds:
!..!.
Success rate is 40 percent (2/5), round-trip min/avg/max = 80/90/

Thanks

Wilson,

You have a default route on R5 that points to 3 different gateways. You've advertised only one of those networks on R2 so R4 would know about it. Since you have 3 equal cost routes, the router will load balance and send a packet out of each one, so that's why you're seeing drops and different destination addresses because R3 doesn't know about the other two networks that are on R2/R5:

00:07:14: ICMP: echo reply sent, src 192.168.10.2, dst 172.17.228.2

00:07:14: ICMP: echo reply sent, src 192.168.10.2, dst 172.16.228.2

You'll need to advertise 172.17.228.0/24 and 10.10.228.0/24 on R2 as well and you're problem would be resolved:

R5#ping 192.168.10.2 rep 50

Type escape sequence to abort.

Sending 50, 100-byte ICMP Echos to 192.168.10.2, timeout is 2 seconds:

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Success rate is 100 percent (50/50), round-trip min/avg/max = 64/83/116 ms

R5#

HTH,
John

*** Please rate all useful posts ***

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

Hello

I have edited some settings, but still have some delay with ping, please take a look on attached GNS3 file.

Thanks

No ping delay now, thanks !

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card