Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"tftpdnld" Illegal IP Address

Status
Not open for further replies.

salmans

IS-IT--Management
Aug 29, 2003
69
US
Here's the situation. I'm trying to load an IOS from a TFTP server to a Cisco 2600 series router. I have the instructions from the Cisco website, but it's not working. I'm at the rommon prompt and I have set the
IP_ADDRESS=192.168.100.1
IP_SUBNET_MASK=255.255.255.0
DEFAULT_GATEWAY=192.168.100.2
TFTP_SERVER=192.168.100.100
TFTP_FILE=(the file name of the IOS)
I have also set the FE_SPEED_MODE=1 for the fast ethernet port. The TFTP server is connected to a switch and then from the switch it goes into the Fast Ethernet port of the router.
Here's where the problem is, When I run the "tftpdnld"
command I get the error "Illegal IP Address." Has anyone else run into this? Any help would be greatly appreciated!

Do it right the first time, and there won't be a second time!
 
Make sure the tftp server is running and it is available with the correct image. I usually use SolarWinds. Also, on the switch, make sure the port is working (if it is Cisco, disable spanning-tree with "switchport host" on the switch interface). All arguments for tftpdnld are case sensitive so be sure the IOS is correctly identified. I usually make sure the tftp server (my laptop) is on the same network as the pooched router and in tftpdnld I set the default gateway to the same IP as I give the router.

The illegal IP address indicates the tftp server isn't available.
 
salmans,

I agree with Cluebird, make sure TFTP server/service is running.

I also normally give the router the same IP for it and the Default Gateway but I tested exactly what you had and it worked on my 2610.

-------------------------------------------------------
IP_ADDRESS: 192.168.100.1
IP_SUBNET_MASK: 255.255.255.0
DEFAULT_GATEWAY: 192.168.100.2
TFTP_SERVER: 192.168.100.100
TFTP_FILE: c2600.bin

Invoke this command for disaster recovery only.
WARNING: all existing data in all partitions on flash will be lost!
Do you wish to continue? y/n: [n]: y
.
Receiving c2600.bin from 192.168.100.100 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
------------------------------------------------------

Also make sure that TFTP is not on a different VLAN then the router.

Hope this helps !!!

E.A. Broda
CCNA, CCDA, CCAI, Network +
 
Are you using lowercase letters when you enter the variables into ROMMON? One of my techs just did this and he ran into the same problem. Your variable names must be all upper case letters. I can see that you used uppercase letters in your post, but I want to make sure that you actually used uppercase when you entered them into the router.

John
 
jneiberger, you were right. I had entered lower case lettered variables into ROMMON. Once I put in the uppercase letters it worked like a dream. Thanks muchly, and thank to all others who responded as well! HAGO !!!

Do it right the first time, and there won't be a second time!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top