[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

how to create a route in router 2600 cisco

Posted on 2010-11-27
4
Medium Priority
?
295 Views
Last Modified: 2012-05-10
Hello folks,
i have a question about ip route, here the escenario,
i'd like to route all request internally (behind my router) for a especific external ip to one of my internal servers.
i made some changes in my router but doesn't look ok. getting Time outs as soon create that statement.

IP route AA.AA.AA.AA 255.255.255.255 10.10.12.1

basically i like to any request from my internal subnet 10.10.12.X trying to access  AA.AA.AA.AA(external IP )  go to my internal server 10.10.12.1. is this possible ?

the reason why i need that is because i'm running a web server which has 1 page coded (has an IP )and can't modify it since it won't work , so instead of that , i'm thinking to forward that external IP in my router to my local server.

thanks
0
Comment
Question by:juanchisv
  • 2
4 Comments
 
LVL 5

Expert Comment

by:ewkelly
ID: 34225458
This will not work. The ip route command doesn't change the ip you are looking for, it just gives it a path to the next hop.
You might get to where you are trying ot go by changeing your dns entries on your dns server (assuming you have one) to point to the internal server. As long as you have set it up with the same names and paths as the external server, it should work.
0
 

Author Comment

by:juanchisv
ID: 34225802
hi ewkelly,
thanks for your response,  i might forgot tell you that  everything is in a new datacenter (new external IPS) , i'm thinking some how internally, whenever 1 of my  internal servers (10.10.12.x)  try to access to that old IP external , doesn't go to the external dns , just go internally and redirect to my 10.10.12.1 server,
is that could be possible to do thru Router or internal DNS Server?

thanks again
0
 
LVL 5

Expert Comment

by:ewkelly
ID: 34225841
Internal dns should work.
0
 
LVL 1

Accepted Solution

by:
mik0s earned 2000 total points
ID: 34226152
For these purposes, you can use the route-map on the internal interface.

interface ...
 ip address 10.10.12.X 255.255.255.0
 ip policy route-map MY-ROUTE-MAP

ip access-list extended ROUTE-ACL
 permit ip 10.10.12.0 0.0.0.255 host AA.AA.AA.AA

route-map MY-ROUTE-MAP permit 10
 match ip address ROUTE-ACL
 set ip next-hop 10.10.12.1

But it is bad practice.
0

Featured Post

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Understanding FTPS File transfer is a common requirement in most Enterprises. While there are numerous ways to get a file from Point A to Point B over a network, perhaps the most common method still in use is FTP – File Transfer Protocol. FTP is …
We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

612 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question