Solved

Urgent Help Needed to Reprogram Cisco Router 1800/1900 Series. Command Line

Posted on 2014-01-06
3
510 Views
Last Modified: 2014-02-02
Hey guys i need some help asap.

I have two cisco 1800-1900 series router and i need to reprogram then due to a DDoS attack. Long story short we suffered a DDoS attack today and Comcast changed our static IP address. show i need to reconfigure our router and the VPN tunnel.

Everything was configured and working properly. It has been a long time since i have worked on CLI with cisco. What is the easiest way to do this?

This is what is needed.

Router 1#

- Change WAN IP Address
- Change Gateway Address
- Change DHCP DNS servers (All other DHCP and Internal LAN stays the same)
Router #2

- Change VPN Tunnel to connect to new IP address of Router #1's new WAN IP
I could really use a step by step. I remember many of the commands but i am sure i will forget something.

For this use the follow as the old and new IP addresses:

Router 1 old WAN 23.24.xx.xx
Router 1 new WAN 50.243.xx.xx

THANK YOU EVERYONE!
0
Comment
Question by:Jokeefe1012
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 50

Assisted Solution

by:Don Johnston
Don Johnston earned 167 total points
ID: 39760974
It would be easier if we could see the existing (sanitized) configuration.

Some of the commands are specific to the interface that they're assigned to. i.e. fa0/0 or fa1/1, etc.

Another approach is to copy the current configuration to a text editor. Then search for the old IP address. Take any lines with the old IP address and copy them to a new text file and change the IP address to the new one. Then do the same with the gateway IP address.  And DNS addresses and so on. Then paste the text from the new text file into the config.

Sorry the answer isn't "do A then B then C and D".
0
 
LVL 51

Accepted Solution

by:
Netman66 earned 167 total points
ID: 39761066
Agree on the text output and global search and replace of old IP with new IP then reload.

Easiest way if you aren't sure.
0
 
LVL 18

Assisted Solution

by:Akinsd
Akinsd earned 166 total points
ID: 39761090
Router 1#

- Change WAN IP Address
show ip int b

look for the interface with the ip you provided - in this example, let's say the interface is F0/1 and new ip is 50.243.10.10 /24

conf t
int fa0/1
ip address 50.243.10.10 255.255.255.0



- Change Gateway Address
show ip route

look for 0.0.0.0 0.0.0.0 23.24.x.x

no ip route 0.0.0.0 0.0.0.0 23.24.x.x
ip route 0.0.0.0 0.0.0.0 50.243.10.11


Note
The IP will be on the same subnet as your WAN IP

- Change DHCP DNS servers (All other DHCP and Internal LAN stays the same)
Router #2
https://www.youtube.com/watch?v=Z95v2KQGM-Y

- Change VPN Tunnel to connect to new IP address of Router #1's new WAN IP
I could really use a step by step. I remember many of the commands but i am sure i will forget something.

https://www.youtube.com/watch?v=sIbi_bYb2k4

Hope this helps
0

Featured Post

Is Your DevOps Pipeline Leaking?

Is your CI/CD pipeline a hodge-podge of randomly connected tools? You’ve likely got a tool to fix one problem & then a different tool to fix another, resulting in a cluster of tools with overlapping functionality. Learn how to optimize your pipeline with Gartner's recommendations

Question has a verified solution.

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

This past year has been one of great growth and performance for OnPage. We have added many features and integrations to the product, making 2016 an awesome year. We see these steps forward as the basis for future growth.
You deserve ‘straight talk’ from your cloud provider about your risk, your costs, security, uptime and the processes that are in place to protect your mission-critical applications.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

724 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