cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1233
Views
0
Helpful
6
Replies

Disaster 877 has only romon and conflict ip, need help?

anhtu2009
Level 1
Level 1

Hi

My mistake is to format my flash. After 1 day to read without successfull finding solution. I really need your expert opinions.

I download new IOS and decide to format flash. After that I can only have rommon prompt.

I read some articles. I download tftp server like Solarwinds or tftp32, install it. Then I manual set ip to my network card like 10.1.0.1 with subnet: 255.255.255.0, gateway: 10.1.0.2. I start tftp program and it always have the same ip of my network card, that means ip of tftp server is now: 10.1.0.1.

In console, I set:

IP_ADDRESS:10.1.0.1

IP_SUBNET_MASK:255.255.255.0

DEFAULT_GATEWAY:10.1.0.2

TFTP_SERVER:10.1.0.1

TFTP_FILE:124_20T.BIN

Result: from console I always get : Operation terminated [TIME OUT].

Specially, in the log of tftpd32 I have the message: error 10054 in system call recv An existing connection was forcibly closed by the remote host.

I have the same problems when trying to use xmodem option, then I get the same message time out everytime.

If you have any opions, please advice me step by step to recover my IOS to flash.

Thanks in advance

1 Accepted Solution

Accepted Solutions

At Rommon>1 cut and paste the following. It *must* be uppercase.

IP_ADDRESS=10.10.10.1

IP_SUBNET_MASK=255.255.255.0

DEFAULT_GATEWAY=10.10.10.2

TFTP_SERVER=10.10.10.2

TFTP_FILE=filename.bin

Type "set" to verify the above.

On your laptop/PC with the tftp server, manually set the network card for an IP address of 10.10.10.2 a netmask of 255.255.255.0 and default gateway of 10.10.10.1. Verify this with ipconfig in cmd window. You cannot have the tftp server and router with the same IP address, this is the conflict that you see.

Ensure the file filename.bin is in the expected directory and launch tftpdnld or the equivalent command from Rommon> on the router.

Let us know how it goes.

View solution in original post

6 Replies 6

Scott Cannon
Level 1
Level 1

Hi,

I'd say, ensure your TFTP server doesn't have a firewall blocking the traffic.

Also, you need to ensure you are using the first/loweest numbered interface for connectivity.

See the following for more detail on downloading from TFTP within ROMMON:

http://www.cisco.com/en/US/products/hw/routers/ps259/products_tech_note09186a008015bf9e.shtml

HTH

Cheers

Scott

Hi

Thanks for response

But my windows firewall has turned off.

And I use crossover cable to connect to FE0.

Any ideas

rmcarthur
Level 1
Level 1

Hi, you have the router IP_ADDRESS set the same as the tftp server.

Change the router to IP_ADDRESS=10.1.0.2 and DEFAULT_GATEWAY=10.1.0.1 and try it again.

Hope this helps.

Hi

Thansk for response.

I know the fact that I have IP_ADDRESS set the same as the tftp server IP. But I cannot change it. Somewhere on internet, they say it's O.K, I don't know it's true or not.

Here're my steps:

1. Get IP_ADDRESS manually to have:

10.10.10.2/255.255.255.248 with gate: 10.10.10.1

2. Double click tftp32 or Solarwinds tftp free, all of them get always the ip of my IP_ADDRESS. That means 10.10.10.2

3. In console set up IP_ADDRESS, IP_SUBNET_MASK, DEFAULT_GATEWAY, TFTP_SERVER, TFTP_FILE, then finally press Enter when you re typing tftpdnld -u.

Result: Time out in console, windows popup Ip conflict, tftp32 has above message.

2nd chance:

1. Setup IP manually like: 10.10.10.2/255.255.255.248 Gateway: 10.10.10.1

2. Turn on tftp server, it will get the same ip of my IP_ADDRESS: 10.10.10.2

3. Setup again manual IP like you said before to have: 10.10.10.1/255.255.255.248 gateway now is 10.10.10.2

4. Go to console setup as above details.

Result: it doesn't work too. the same message is Time out and ip conflict.

Even with xmodem, I still cannot get it. It will have always Time out or cannot connect. But I still have character clearly Rommon 1> and other info in my display console.

Any ideas.

At Rommon>1 cut and paste the following. It *must* be uppercase.

IP_ADDRESS=10.10.10.1

IP_SUBNET_MASK=255.255.255.0

DEFAULT_GATEWAY=10.10.10.2

TFTP_SERVER=10.10.10.2

TFTP_FILE=filename.bin

Type "set" to verify the above.

On your laptop/PC with the tftp server, manually set the network card for an IP address of 10.10.10.2 a netmask of 255.255.255.0 and default gateway of 10.10.10.1. Verify this with ipconfig in cmd window. You cannot have the tftp server and router with the same IP address, this is the conflict that you see.

Ensure the file filename.bin is in the expected directory and launch tftpdnld or the equivalent command from Rommon> on the router.

Let us know how it goes.

Sorry, it didn't work.

I know how to be sure with uppercase lately, 2 days ago.

At first, tftp32 is smart, whenever I change IP_ADDRESS, it will follow that IP. So I use Solarwinds which cannot change IP when I try to change another one.

Here are my logs

rommon 7 > set

PS1=rommon ! >

TFTP_TIMEOUT=800000

FE_SPEED_MODE=4

TFTP_RETRY_COUNT=20

?=0

ROM_PERSISTENT_UTC=1208230997

RET_2_RTS=

BSI=0

RET_2_RCALTS=

RANDOM_NUM=1921062664

IP_ADDRESS=10.10.10.1

IP_SUBNET_MASK=255.255.255.0

DEFAULT_GATEWAY=10.10.10.2

TFTP_SERVER=10.10.10.2

TFTP_FILE=124-20T1.bin

TFTP_CHECKSUM=0

rommon 8 > tftpdnld

IP_ADDRESS: 10.10.10.1

IP_SUBNET_MASK: 255.255.255.0

DEFAULT_GATEWAY: 10.10.10.2

TFTP_SERVER: 10.10.10.2

TFTP_FILE: 124-20T1.bin

Do you wish to continue? y/n: [n]: y

,,,,,,,,

ARP: address resolution for 10.10.10.2 timed out.

ARP failed with failure code 3. TFTP transfer aborted.

TFTP: Operation terminated prematurely.

The problem is how to get rid of the same ip of network card and tftp server.

Noted: xmodem didn't work for me, even with small file ROMMON update about 650K.

I also change the name of IOS shorter and simple to avoid error of typo.

Thanks in advance.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card