Solved

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

Posted on 2014-01-06
3
500 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
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Tired of waiting for your show or movie to load?  Are buffering issues a constant problem with your internet connection?  Check this article out to see if these simple adjustments are the solution for you.
Getting hacked is no longer a matter or "if you get hacked" — the 2016 cyber threat landscape is now titled "when you get hacked." When it happens — will you be proactive, or reactive?
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…
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 …

773 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