cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
166
Views
5
Helpful
4
Replies
Beginner

Routing problem between router in PacketTracer

Hello, 
I am trying to setup a network with a web server in a private network that should be availaible from an outside network.
I have some probl;em with my routing route, and I have tried to give access to all ip by configurer ip route 0.0.0.0 on my routers interface.
The problèm is I am able to ping my outside computer from a computer in my private network, but I am unable to ping my web server from my outside computer. When I try to do so, the packet is traped in a loop between my 2 router (the isp one and my client one).
I tried everything I know to correct this, but nothing seems to work.
I have included my .pkt file and wonder if anyone can help me to solve this? 

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Expert

Re: Routing problem between router in PacketTracer

Hello Draketes,

the most specific route is preferred, the default route 0.0.0.0/0 should be used for going to the internet.

To reach a specific subnet like the one where the web server is connected you need to add specific static route(s).

The ISP router should use specific static routes to all the networks that are internal

Your router can use only a default route to the ISP router but it may need specific static routes for internal routes that are not directly connected to it but behind another layer 3 device.

 

Example:  web server is in net 10.10.10.0/24

you need a static route for the prefix

ip route 10.10.10.0 255.255.255.0   <next-hop-ip-address>

 

This should solve the routing loop if applied to the correct router with the correct next-hop. Likely your internal router I guess.

 

Hope to help

Giuseppe

 

4 REPLIES 4
Highlighted

Re: Routing problem between router in PacketTracer

I do not have PT with me right now, but I'll assume you have something like the attached picture.

As long you are not reusing any subnets it should work with

ip route 0.0.0.0 0.0.0.0 <IP of the other router>

do not forget to have the default gateway configured on the server and client

 

Rolando A. Valenzuela

 

 

 

Hall of Fame Expert

Re: Routing problem between router in PacketTracer

Hello Draketes,

the most specific route is preferred, the default route 0.0.0.0/0 should be used for going to the internet.

To reach a specific subnet like the one where the web server is connected you need to add specific static route(s).

The ISP router should use specific static routes to all the networks that are internal

Your router can use only a default route to the ISP router but it may need specific static routes for internal routes that are not directly connected to it but behind another layer 3 device.

 

Example:  web server is in net 10.10.10.0/24

you need a static route for the prefix

ip route 10.10.10.0 255.255.255.0   <next-hop-ip-address>

 

This should solve the routing loop if applied to the correct router with the correct next-hop. Likely your internal router I guess.

 

Hope to help

Giuseppe

 

Beginner

Re: Routing problem between router in PacketTracer

Thank you verry much! This as fixed my loop problem!
I will now be able to work on the next step! :)

VIP Advisor

Re: Routing problem between router in PacketTracer

Hi

Sorry at Cisco Live with an iPad and can’t open your packet-tracer file.
Are you able to share a screenshot of your design and your config?

Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question
CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards