Question

How to change the ip and port forwarding on a cisco router ***newbie***

Asked by: bmsjeff

I have a client that just had their ISP changed their Static IP address from 69.1.1.1 to 85.1.1.1 (example)

How do I go about changing the router to port the new number to my server so that I can remote into it again?  I have zero cisco experience.

Also, the router is providing DHCP, so what changes do I need to make in the router for this?

I understand how to change the A and MX records, just no clue on what I need to do on the cisco.
Thanks in advance.  

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-09-23 at 12:29:50ID24756236
Topic

Network Routers

Participating Experts
3
Points
500
Comments
22

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. CISCO NEWBIE
    Recently I just obtained a Cisco 2950 switch to have a bit of a fiddle with. Currently this switch is sitting on the home network with a few PC's and a modem connected to it along with a SPA-3000 for voip. I have had limited experience with the config side Cisco Switch but I ...
  2. CISCO 1700 DHCP cable model ISP Configuration
    I have a CISCO 1700 that I want to configure in order for it to dynamically obtain IP address, gateway, DNS from the ISP cable modem connection. Also, the router should be able to act as DHCP NAT for the interior network. Please provide me with a full configuration, what I...
  3. Cisco router with ISP
    Hello I have just got a cisco router 2651xm, and it has two fast ethernet slots. I am trying to get my ISP to work with this router. How do I go about doing that. I plugged in my ISP's cable modem to interface fastethernet 0/0 and set it to dhcp, and i set fastethernet 0/1...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: JeffPartonPosted on 2009-09-23 at 12:37:18ID: 25407000

DHCP is normally for the private LAN network.  DHCP scope shouldn't need to be changed.

Log into router.  type "enable", it should prompt for the enable password.  Once in type "config t" then it should go into the config prompt.  to change the outside ip address, you will need the ip address and the subnet provided to you from your isp provider.  The command is

ip address outside 8.5.1.1 255.255.255.0

the 255.255.255.0 part is the subnet for the public IIP they gave you.

then, make sure you get the gateway to use from your ISP.  Then enter the command:

route outside 0.0.0.0 0.0.0.0 x.x.x.x

where x.x.x.x is the gateway to use from your isp.

 

by: smahankaliPosted on 2009-09-23 at 12:39:18ID: 25407026

what is the model of the Cisco router that you have?

 

by: JeffPartonPosted on 2009-09-23 at 12:40:12ID: 25407034

This is very generic, there may be multiple routes setup, I was just giving example of command.  

Without seeing your config I wouldn't know exactly what to change for your specific configuration to verify that your remote login would work.  You can type:  sho run  and scan for entries that have your old IP address in it.  I am sure there may be telnet entries, SSH access entries, etc.

 

by: bmsjeffPosted on 2009-09-23 at 12:42:28ID: 25407061

It is a PIX 506E

 

by: belowzerotechPosted on 2009-09-23 at 12:46:11ID: 25407099

what you will want to do is telnet into it and do a "show run" to review the configuration.

you will want to look at where the old IP is in the config and replace it with the new information. if you have absolute ZERO experience, posting snippets of the config will assist in helping you. but over all you will want to make the changes to the serial interface and default route which is real simple if it a point-to-point circuit.

then for the IP forwarding if you are using NAT, this will work

ip nat inside source static tcp 192.168.1.200 22 209.247.228.201 22
extendable

or you can do it by interface

ip nat inside source static tcp 192.168.1.200 22 interface serial0 22
extendable



forwards SSH (tcp port 22) traffic to the inside address 192.168.1.200
from the outside address 209.247.228.201

 

by: belowzerotechPosted on 2009-09-23 at 12:48:46ID: 25407127

the PIX is a little different than a router. there will still be the default route, however there is named interfaces such as inside and outside. also port forwarding on the PIX if you are natting is as follows

static (inside,outside) tcp interface 3389 192.168.1.99 3389 netmask 255.255.255.255

that forwards traffic from the outside interface to 192.168.1.99 on port 3389 (microsoft RDP)

 

by: bmsjeffPosted on 2009-09-23 at 12:49:13ID: 25407137

Here is the info from the ISP: (not actual)
Default Gateway: 6.2.17.9 NEW
Netmask: 255.255.255.248
Usable IPs Low: 6.2.17.10
Usable IPs High: 6.2.17.15
Primary DNS: 216.68.1.100
Secondary DNS: 216.68.2.100
Serial Interface (Fuse): 6.2.16.7 NEW Serial Interface (Customer): 6.2.16.8
Netmask: 255.255.255.252

So I would change to: ????
ip address outside 6.2.17.9 255.255.255.248
and
route outside 0.0.0.0 0.0.0.0 255.255.255.248


 

by: bmsjeffPosted on 2009-09-23 at 12:51:19ID: 25407163

Thanks on the port forwarding, I understand that.  So that won't change at all, once I configure the outside/inside interfaces correctly.

 

by: smahankaliPosted on 2009-09-23 at 13:02:42ID: 25407297

Based on the sample ISP info you shared, the commands that should work for you would be:

To change outside interface's IP:
ip address outside <new_static_IP_given_to_you_by_ISP> 255.255.255.248

To change the default gateway:
route outside 0.0.0.0 0.0.0.0 6.2.17.9 1

As suggested by other answers, you should validate that the outside interface currently has the old static IP you had from your ISP - before you implement that above commands.

 

by: JeffPartonPosted on 2009-09-23 at 13:09:08ID: 25407370

As smahankali put it, his "route outside" statement is correct.  The one you entered is the subnet and not the IP address used for the gateway.  I would probably backup your existing config before making all these changes so you will have a reference point.

 

by: bmsjeffPosted on 2009-09-23 at 13:19:04ID: 25407473

So, to confirm base on the info above:
ip address outside 6.2.16.8 255.255.255.248
and
route outside 0.0.0.0 0.0.0.0 6.2.17.9

 

by: JeffPartonPosted on 2009-09-23 at 13:33:24ID: 25407625

Default Gateway: 6.2.17.9 NEW
Netmask: 255.255.255.248
Serial Interface (Fuse): 6.2.16.7 NEW Serial Interface (Customer): 6.2.16.8
Netmask: 255.255.255.252

From your previous.  There are 2 subnets, what interface does the .248 subnet belong to?

 

by: bmsjeffPosted on 2009-09-23 at 13:57:05ID: 25407857

I will check, I assumed the 252 was the Subnet for the T1/Phone System and the 248 was my Subnet.

 

by: JeffPartonPosted on 2009-09-23 at 14:37:18ID: 25408208

Since you said your using a 506e I assume your interface for outside access is an ethernet jack?  Or does all your traffic go via serial to another device?

 

by: bmsjeffPosted on 2009-09-23 at 17:51:58ID: 25409446

Yes, an ethernet jack.

 

by: JeffPartonPosted on 2009-09-23 at 18:56:00ID: 25409660

do a show configuration on your 506e and look for any nameif statements (should be within the first few lines).  See what the Port0 is named, most likely it is "outside".  If this is the case then your statements from earlier should work.

ip address outside 6.2.16.8 255.255.255.248
and
route outside 0.0.0.0 0.0.0.0 6.2.17.9

However, from another earlier post of yours it seems that the 6.2.16.8 is already assigned to a serial port.  You can't have 2 ports with the same IP.  Just make sure the IP address given to you by your ISP for the ethernet port0 (since that is usually the one that 506e uses for public access) is the one you use with the subnet you have listed.  I am curious if it works.  If you have issues, we can help resolve them

 

by: bmsjeffPosted on 2009-09-24 at 07:49:29ID: 25413935

OK, I am onsite, I have connection via my laptop to the Adtran device, but I am still having issues connecting via the Cisco PIX.

Here is the config that works on the laptop:
IP: 6.2.17.10
SubNet: 255.255.255.248
Gateway: 6.2.17.9
Primary DNS: 216.68.1.100
Secondary DNS: 216.68.2.100

This is how I Configured the router: (remember I am a novice at this)
Enter pass
enable
configure terminal
ip address outside 6.2.17.10 255.255.255.248
(this works)

route outside 0.0.0.0 0.0.0.0 6.2.17.9 1
(when I do this I get:
cannot add route entry. possible conflict with existing routes.

The route that is currently in the cisco from the previous configuration is:
route outside 0.0.0.0 0.0.0.0 6.11.147.121 1

 

by: bmsjeffPosted on 2009-09-24 at 07:51:00ID: 25413955

Also, after this I did
write terminal
write memory
and
reload

I tried the route outside command again and received the same error message.

 

by: JeffPartonPosted on 2009-09-24 at 08:36:55ID: 25414473

ok type in:

no route outside 0.0.0.0 0.0.0.0 6.11.147.121

then

route outside 0.0.0.0 0.0.0.0 6.2.17.9

The 1 at the very end of the one you typed in is not necessary, this is just the metric of the gateway.  I don't see you having multiple gateways to have metrics involved

 

by: JeffPartonPosted on 2009-09-24 at 08:38:18ID: 25414491

once it works for you, just an advanced FYI...you will need to type "write mem"  or the configuration you changed will be lost the next time it is power cycled.

 

by: bmsjeffPosted on 2009-09-24 at 08:48:17ID: 31632649

Thank you very much.  

 

by: JeffPartonPosted on 2009-09-24 at 08:55:31ID: 25414711

You are very welcome, happy to help.  Thanks for grade!  :)

- Jeff

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...