cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1778
Views
0
Helpful
2
Replies

How to avoid routing loops using OSPF using just one area?

jorgedjn58
Level 1
Level 1

Hello there, I am doing a packet tracert lab and I am having a hard time ovoiding routing loops. In the attached file we can see that R1 doing Static NAT for the Server0 (VLAN20) and PAT for the clients on VLAN-10, also the router is configured as a "router on a stick" in order to route between vlans. I also configured all the routers in the picutre to use OSPF as a routing protocol area 0. Here is the thing: I don`t want to advertise subnets (192168.10.0/25 and 192.168.10.128/25) because I am trying to simulate the Internet and as we all know private ip address are not allow on the internet so I tried to advertise the static inside global ip address that I assigned to the server, however for some reason the rest of ther routers doesnt record this update after trying this with no success I tried to configure on R2 a static default route that point R1 Serial interface and advertise this route using ospf however I created a routing loop between R1 and R2 because when R1 update its routing table it set R2 as a nex hop and so oon..How can I avoid this issue using just ONE area? is it possible? . Thanks in advance, Jorge



2 Replies 2

jorgedjn58
Level 1
Level 1

Hello there, I found the solution. I created static routes and this solved the issue

Hello Jorgedjn58; when you said you created a static route, you didn't say from where to where, because in your original post you stated that you created a static route from R2 to R1 and this resulted in routing loop. Am assuming that the new static route you created this time is on R1 - correct?