Discussion Locked

How to back up ios with tftpd32

0 helpful
17 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I'm trying to backup my ios from my 2500 serie. I downloaded the tftpd32 on my laptop. I set up the address for the router.
But when I try to ping either the router or the server from one another, it fails. I tried to set up a static route on the router, still it doesn't work. Can anybody help me out here.
Thanks.

17 replies

by aaron mason

Hi rolandus,

Just a little troubleshooting, and apologies if these seem obvious, I'm only trying to eliminate some issues.

1) What kind of cable are you using to connect? If you're using a straight-through, you may need to use a cross-over, or vice versa. I'm assuming you've connected to the router directly from your laptop here.

2) Have you tried talking to the router on a higher level? (i.e. configuring a virtual terminal and telnetting to it) If you can do this, the router and laptop will be able to talk just fine.

3) Can we see an obfuscated version of your running config, so that we can see how your router is configured? Remove encrypted passwords and the like, of course.

Regards

by rolandus

Thanks Aaron for trying to help me. I really appreciate this.

1. I'm using a crossover cable between the laptop and the router.

2.I tried to telnet first from the router into the laptop, it doesn't succeed. I also tried it from the laptop to the router by issuing this command: telnet 192.168.0.6 , and it still fails.

3. Sure, this is a version of my running-configuration:

ROLAND con0 is now available

Press RETURN to get started.

UNAUTHORIZED ACCESS PROHIBITED This is a private network. You don't have the rig ht to sniff around.
ROLAND>en
ROLAND#show run
Building configuration...

Current configuration:
!
version 11.3
no service password-encryption
!
hostname ROLAND
!
!
clock timezone (GMT-6:00) -6
!
!
interface Ethernet0
description connection to solarwinds TFTP
ip address 192.168.0.5 255.255.255.0
!
interface Serial0
no ip address
no ip mroute-cache
shutdown
no fair-queue
!
interface Serial1
description back to back connection to DCE.
no ip address
!
interface BRI0
no ip address
shutdown
!
no ip classless
ip route 192.168.0.5 255.255.255.255 192.168.0.6
no logging console
!
banner login ^C This is a private network. You don't have the right to sniff around.^C
banner motd ^CUNAUTHORIZED ACCESS PROHIBITED^C
!
line con 0
login
line aux 0
exec-timeout 5 5
line vty 0 4
password cisco
login
line vty 5 197
password cisco
login
!
end

ROLAND#

Actually I just set up this configuration and trying to get prepared for my CCENT exam.

Once again thank you very much

Rolandus.

by netman1958

First, remove this line:
"ip route 192.168.0.5 255.255.255.255 192.168.0.6"
with "no ip route 192.168.0.5 255.255.255.255 192.168.0.6"

Then make sure the laptop is configured with any ip address between 192.168.0.1 and 192.168.0.254 except for 192.168.0.5 which is already assigned to your router and a subnet mask of 255.255.255.0.

Then, try pinging 192.168.0.5 from the laptop. If the ping succeeds, try telnet to the 192.168.0.5 from the laptop. If both succeed, you should be good to go with tftp.

by aaron mason

> 1. I'm using a crossover cable between the laptop and the router.

Have you tried using a straight through?

by rolandus

Thanks NetMan1958 for assisting me. I really appreciate it.

I removed the line like you said, and then I logged into the the command line of my laptop by issuing "cmd". I entered ipconfig/all to check the ip address of the laptop, and I saw that the ip address is 192.168.0.6 with the subnet mask 255.255.255.0 .

And then I pinged the 192.168.0.5 from the laptop, it did not succeed.

I tried to telnet into the 192.168.0.5 from the laptop, and still it failed. I don't really know here what's the problem. But I'm pretty much sure that I'm using the crossover cable. It is even written on the cable, crossover cable.

by netman1958

I am assuming that since you can't telnet to the router you are using a console cable to configure the router. If so, connect the laptop via both the ethernet cable and console cable. Establish the console session and run this command:
"show interface Ethernet0"
and post the output.

by rolandus

ROLAND#show int e0
Ethernet0 is up, line protocol is up
Hardware is Lance, address is 0010.7b7f.333e (bia 0010.7b7f.333e)
Description: connection to solarwinds TFTP
Internet address is 192.168.0.5/24
MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec, rely 255/255, load 1/255
Encapsulation ARPA, loopback not set, keepalive set (10 sec)
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:06, output 00:00:00, output hang never
Last clearing of "show interface" counters never
Queueing strategy: fifo
Output queue 0/40, 0 drops; input queue 0/75, 0 drops
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
24 packets input, 3889 bytes, 0 no buffer
Received 24 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
0 input packets with dribble condition detected
9 packets output, 851 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out

by netman1958

Try to ping or telnet to 192.168.0.5 from your laptop again. Then open a command prompt on the laptop and run "arp -a" and look for an entry for 192.168.0.5. If there is one, see if it points to mac address 00-10-7b-7f-33-3e

On the router you can run "sh arp" and see if it has an entry for 192.168.0.6 and if it does make sure it points to the mac address for your laptop's ethernet interface.

by netman1958

checking for arp table entries as I suggested in a previous post? Another thing to try is turning off ALL firewalls on your laptop. Keep in mind that some anti-virus/security software have firewalls included.

by rolandus

When I did what you suggested, nothing happened.

But when I just turned off all firewalls on my laptop I have noticed something really difference after issuing "show arp":

ROLAND#show arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 192.168.0.5 - 0010.7b7f.333e ARPA Ethernet0
ROLAND#show arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 192.168.0.5 - 0010.7b7f.333e ARPA Ethernet0
ROLAND#ping 192.168.0.6

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.0.6, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
ROLAND#show arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 192.168.0.5 - 0010.7b7f.333e ARPA Ethernet0
Internet 192.168.0.6 0 Incomplete ARPA
ROLAND#show arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 192.168.0.5 - 0010.7b7f.333e ARPA Ethernet0
Internet 192.168.0.6 0 Incomplete ARPA

But before when I issued the " show arp" without turning off all the firewalls 192.168.0.6 did not show up.

It seems to me that we are close to figuring this out!

by rolandus

I just restart my laptop and turned back on the firewall. And at my big surprise the ping from the laptop cmd prompt was successful. Even the telnet still from the same cmd prompt worked too.

Now I went back into the CLI and this is what I had:

ROLAND#sho arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 192.168.0.5 - 0010.7b7f.333e ARPA Ethernet0
Internet 192.168.0.7 0 0023.5ae1.2f0a ARPA Ethernet0
ROLAND#ping 192.168.0.6

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.0.6, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
ROLAND#

by rolandus

It works!!!!!!!!

Thank you so so much NetMan1958. I just turned off again my firewall, restarted both the laptop and the router and it works. Here it is:

ROLAND#copy flash tftp

System flash directory:
File Length Name/status
1 8930332 c2500-js-l.113_4.apo
[8930396 bytes used, 7846820 available, 16777216 total]
Address or name of remote host [255.255.255.255]? 192.168.0.7
Source file name? c2500-js-l.113_4.apo
Destination file name [c2500-js-l.113_4.apo]?
Verifying checksum for 'c2500-js-l.113_4.apo' (file # 1)... OK
Copy 'c2500-js-l.113_4.apo' from Flash to server
as 'c2500-js-l.113_4.apo'? [yes/no]yes
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!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!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Upload to server done
Flash device copy took 00:01:59 [hh:mm:ss]
ROLAND#

What I've learned from this is the huge impact of the firewall. Believe me, it's been more than 3 months that I've been working on this. Once again thank you so much.

I actually haven't noticed the ip address 192.168.0.7 yesterday when I posted the configuration, until I read your response today.
But still something remains a mystery to me. When I log into the MODEM the ip add of my laptop is 192.168.0.6. Even before turning off the firewall, after I issued the "arp -a" the ip address shown in the arp table was 192.168.0.6.
Now, where does the 192.168.0.7 comes from?
And of course after turning off the firewall the arp table displayed 192.168.0.7 instead of 192.168.0.6 previously. It is a bit of mystery to me!

The second thing that I don't understand is that I successfully telnet and ping from the cmd prompt after turning off the firewall. But still, neither the telnet nor the ping test work from the CLI.

Can you please help me to clarify those things.
Once again, thank you so much.
Rolandus.

by netman1958

has IP Address 192.168.0.7 ?
My guess is that it is your laptop. Did you hard-code the IP Address on the laptop or is it using DHCP?

by netman1958

I was under the impression that you had a laptop connected directly to the router via a cross-over cable. In this post, you mention logging into a MODEM. Can you verify how many devices we are dealing with and how they are inter-connected?

We need to know for sure what IP Address your laptop is using. From a command prompt on the laptop run command "ipconfig /all" without the quotes and post the output.

Can you elaborate on what you mean by " But still, neither the telnet nor the ping test work from the CLI." ?

by rolandus

This is the diagram of my homenetwork.

I have an ISP's (Internet Service Provider) MODEM connected to my desktop. The MODEM is equipped with a wireless. From there, the internet connection is distributed to 2 laptops.
And for my CCENT LAB, I have a cisco router 2500 series connected to my laptop through the crossover cable and the rollover cable. On my laptop I have the TFTPD32 installed.

The IP Address given to my laptop by the MODEM is 192.168.0.6. I mean this is what I see in the IP list table when I log into the MODEM.
I installed on all the computers, Norton Internet Security.

And about the last question, the Ping test and the Telnet test failed from CLI of the router 2500 series.

by netman1958

First, unless you have enabled the telnet service on your laptop, you won't be able to telnet to the laptop from the router. You should be able to ping it though. Do the following:

On the laptop that is connected to the router via the cross-over cable, disable the wireless network connection. Configure the LAN network connection with a static IP Address of 192.168.0.6 mask 255.255.255.0. Disable any firewall(s) running on the laptop. Then try pinging from the router to the laptop.

This discussion is closed to new replies.