Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Forwarding IP address request to a different IP address

Status
Not open for further replies.

hikmatic

Technical User
Dec 11, 2009
3
US
Hello I really need some help with this issue, if anyone can help I would be very grateful. Here is the issue. I manage a large lab of computers all connected to switches which is ultimately connected to a cisco router. Currently I was using a DNS provided by verizon, which I configured on all the lab computers. Recently verizon shut down that DNS server so now I am forced to use a different DNS like OpenDNS. Is there a
way I can configure my router to forward all requests to IP address X.X.X.X to another IP address lets say 4.2.2.2.

Basically what I want is when the computers try to send requests to X.X.X.X. The router recognizes this and forwards it to a different address so I can keep my DNS alive until I have time to change it. thank you
 
Yes, that will be easy by adding a static route on the router.

You can set it like this:

ip route 1.2.3.4 255.255.255.0 a.b.c.d where "1.2.3.4" is the ip address that you want to forward to another network, which is a.b.c.d.
 
The best way of doing this is to make your router a dns server. Add the following commands. after you add these commands then have all your computers DNS be the router's IP address.

ip name-server 208.67.220.220
ip name-server 208.67.222.222
ip dns server



CCNA, A+, HP Certified Professional
 
thanx Hummer, I did try that but it seems that the DNS that I am forwarding it to is not responding because its not referenced in the packet itself. It seems to ignore it instead.
 
I ended up just configuring the router as a DNS server (thanx stapleman) itself and reconfiguring all the computers in the lab.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top