what should I have done ?

Here is a situation were I cut myself out trying to change IP address .. I need to know what I should do the next time so that I can avoid this from happening.

purpose of the project was to change ip address in a remote 1702 route.

Working status:
---------------

cisco 7206
----------

serial 1/1/1:0
ip address 10.10.1.61 255.255.255.252

ip route *.*.*.60 255.255.255.252 serial 1/1/1:0

Remote end 1702 router:
------------------------
Serial0
ip address 10.10.1.62 255.255.255.252

Fastethernet0
ip address *.*.*.61 255.255.255.252

ip route 0.0.0.0 0.0.0.0 10.10.1.61

*************************************************
In the above situation , I wanted to change IP block to *.*.*.114 . I also wanted to change the private IP on the serial
so that I can be consistent..
So this is what I did.


CISCO 7206:
-----------

I added an ip route

ip route *.*.*.112 255.255.255.252 serial 1/1/1:0

Then on CISCO 1702 (remote end)

I changed the IP for Fastethernet to
ip address *.*.*.113 255.255.255.252 and finally it looked like this

CISCO 7206:
-----------
serial 1/1/1:0
ip address 10.10.1.61 255.255.255.252
ip address 10.10.1.113 255.255.255.252 secondary <=== added secondary on the serial

ip route *.*.*.112 255.255.255.252 serial 1/1/1:0  <== added the correct ip route for that block

CISCO 1702:
-----------

Serial0
ip address 10.10.1.62 255.255.255.252
ip address 10.10.1.114 255.255.255.252 secondary

Fastethernet0
ip address *.*.*.113 255.255.255.252

ip route 0.0.0.0 0.0.0.0 10.10.1.61
ip route 0.0.0.0 0.0.0.0 10.10.1.113 <===== added this so that I can get back to it from 7206


Even at this point , I was good..... Now I went inside the CISCO 1702 using the public IP and had to remove the serial interface primary IP and make secondary as primary.. I removed the secondary , I was good. I removed the primary , I got cut off.. What should I have done ??
LVL 49
sunray_2003Asked:
Who is Participating?
 
lrmooreCommented:
Step by step..
>> assuming that your 1702 has a default route statement:
  ip route 0.0.0.0 0.0.0.0 serial 0

1. Add your route statement on the 7206
  ip route *.*.*.112 255.255.255.252 serial 1/1/1:0

2. Telnet to the Serial IP of your 1702
 telnet 10.10.1.62

3. Change FastEth0 ip address on 1702
  interface fast0
    ip address *.*.*.113 255.255.255.252

4. exit the telnet session

5. Now telnet to the Ethernet interface
  telnet *.*.*.113

6. Now change the Serial interface
  interface serial 0
  ip address  10.10.1.114 255.255.255.252

7. Exit telnet session (you may lose it for a second or two anyway)

8. Now change the serial IP on the 7206
  interface serial 1/1/1:0
    ip address 10.10.1.113 255.255.255.252

9. Telnet back to the the 1702 and save the config

Done.
0
 
sunray_2003Author Commented:
I am just thinking if I should have added an ip route having fastethernet IP ??
0
 
sunray_2003Author Commented:
So I guess the problem was that to start with in my 1702 , I had
ip route 0.0.0.0 0.0.0.0 10.10.1.61

Was that the issue then ?
0
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

 
td_milesCommented:
you say:

"I removed the secondary , I was good. I removed the primary , I got cut off.. "

So you removed both the secondary AND the primary IP address ? This would mean that the interface had NO IP address ??

If you wanted to swap the addresses (from primary to secondary) then you would need a third intermediate address so that you could do this:

start - pri=1,sec=2
goal - pri=2,sec=1

a. remove sec
b. sec=3
c. remove pri
d. pri=2
e. remove sec
f. sec=1  (or just leave it off altogether if no longer required)

When working on a remote router you should also utilise the "reload in xx" command. Before you start work, schedule a reload to happen in say 15 minutes (reload in 15). Don't do a "write mem" until you are finished. That way if you stuff up and manage to disconnect yourself, the router will reboot back to the previously saved config by itself and you can connect and try again (after working out what you did wrong).

Don't worry about the fact that you did it, we all do this sometimes :)
0
 
lrmooreCommented:
>So I guess the problem was that to start with in my 1702 , I had
>ip route 0.0.0.0 0.0.0.0 10.10.1.61

>Was that the issue then ?

Yep. It should either be changed to the interface, or add another route to the new .113, then go back and delete the one to .61

0
 
sunray_2003Author Commented:
This is what happened..

I had only 1 ip route to start with in 1702 and it was

ip route 0.0.0.0 0.0.0.0 10.10.1.61

Then I assumed adding a secondary route would help some , so i added this

ip route 0.0.0.0 0.0.0.0 10.10.1.113  <-=== I had already added serial interface in 7206 for 10.10.1.113..

I didnot realise that I could have done all these without even adding a secondary ip address to any of the interface as Lrmoore had mentioned.. But knowing how to add secondary IP address would come handy sometimes.

>>So you removed both the secondary AND the primary IP address ? This would mean that the interface had NO IP address ??

Exactly what happened. Now it looks that i made a silly mistake but when I was doing this , I had good concentration on what i was doing. We had a linux machine at the customer end which was connected to the 1702.. I did the change on the linux first (went well) , then changed the IP address of the fastethernet (that went well) but screwed at the serial..

Oh well.. another learning experience..
0
 
sunray_2003Author Commented:
>> It should either be changed to the interface, or add another route to the new .113, then go back and delete the one to .61

As i said , I did have 2 routes...Hmm. puzzling now..
0
 
sunray_2003Author Commented:
The reload option that td_miles suggested is a very smart suggestion
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.