cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1864
Views
15
Helpful
10
Replies

Gateway of last resort

thepxjx
Level 1
Level 1

Hi, I am having trouble pinging the DNS server from anywhere in the network. I think it has something to do with the gateway of last resort on both routers. Any help would be much appreciated.

1 Accepted Solution

Accepted Solutions

Hello,

 

the most important issue was that the GigabitEthernet0/0 interface on your JSRT1 router had no IP address at all, so there was no external connectivity. Also, on both routers, there were a lot of redundant, unnecessary static routes.

 

I added the IP address to the interface, removed the static routes, and added just the routes that are necessary. The DNS server is now reachable from anywhere.

 

Review the attached, revised file.

View solution in original post

10 Replies 10

balaji.bandi
Hall of Fame
Hall of Fame

If the Server in outside the network and on the internet, your JTSR1 should do the NAT to reach Internet IP

 

what is the IP address of DNS ? from what IP source are you trying to reach.

 

Traceroute is a good tool to see where the last packet from, that is the point you start doing troubleshooting.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

The DNS IP is 10.10.10.2 , and am trying to reach from the 192.168.64.0 network will have a look at the traceroute and get back to you, thanks

chenmel
Level 1
Level 1

I'm going to see what other people are suggesting in this thread, but I do remember my professor saying something to me when I asked her about gateway of last resort and key command strings to be mindful of using in sequence from each router's command line interface to get the network humming harmoniously and buzzing productively. She said that after configuring the IP addresses of the interface ports on routers and switches to execute the no shutdown command and engage encryption on the respective levels of executive command input modes. I hope that makes sense and that it also helps you to resolve the issue you've posted. Have a great day, fellow Cisco end user! Hope to chat more with you or anybody here soon on Microsoft Teams about any ideas, thoughts, or solutions for hiccups we might run into as we continue to develop our networking skills and master this wonderful means of connecting the communications of people all over the world. ^__^ Here's an invite link to my Cosmiknight profile's chat room (See yawl soon!) : https://teams.live.com/l/invite/FAAbIKYLYia53IKOwE 

NLC, PTK PRO, SA&VE

Hello

Post the PT file if applicable.


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Here is the .pkt file in a zip file

Hello,

 

the most important issue was that the GigabitEthernet0/0 interface on your JSRT1 router had no IP address at all, so there was no external connectivity. Also, on both routers, there were a lot of redundant, unnecessary static routes.

 

I added the IP address to the interface, removed the static routes, and added just the routes that are necessary. The DNS server is now reachable from anywhere.

 

Review the attached, revised file.

Good morning Georg, 

 

Would you be willing to post a step-by-step walkthrough of how you took the initial .pkt file provided by OP and brought it to the state of resolution you provided in your reply? I would like to follow up on such a list with screenshots as I recreate the process you just described and get results that will hopefully match up with your packet tracer experience. 

 

Respectfully, 

Chen Mel

NLC, PTK PRO, SA&VE

Hello,

 

I did not take any screenshots unfortunately. But the solution is/was fairly simple. GigabitEthernet0/0 had no IP address at all, so you just have to add one. Then all you need is a static default route pointing towards 1.1.1.1, and a specific route towards the local network connected to the other router. On the other router, all you need is a static default route towards the right router. Take out all the other routes.

Wow thanks George, must of overlooked GigabitEthernet 0/0

Hello
Please see attached working PT using an IGP (eigrp).

Notes:

  • Removed all static routes not required from both rtrs
  • Enabled eigrp on jtsr1 & hwsr1 rtrs
  • Added two specific static routes on jtsr1 rtr for the dns server and internal wifi networks then redistributed into eigrp
  • Fixed dhcp for wifi internal network

Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul
Review Cisco Networking for a $25 gift card