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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TFTP backup 2

Status
Not open for further replies.

OV105

Technical User
Feb 15, 2010
34
US
Hi everyone,

I've not been having any success backing up to a tftp server and am not sure why. From all that I've read the process seems rather simple, and I'm sure it is, once all of the right configurations are set.

When I open the tftp server window, the ip address of my computer appears, which appears right since I am using my computer as a tftp server.

When I enter the command "copy running-config tftp" I am prompted to enter a host, which I then enter the ip address of my computer. There is only one choice for the next prompt, so I just hit enter. A message is then displayed saying, building configuration. It's then that I see those dreaded "dots" instead of exclamation points.

For those of you who can do this in your sleep, can you offer some direction here? I am using a Cisco 2514 router, by the way.

Thanks in advance!
 
First, can you ping the computer from the switch?
Second, if so, please post the output.

/

tim@tim-laptop ~ $ sudo apt-get install windows
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package windows...Thank Goodness!
 
Just to add to Burts post, make sure the TFTP service is running on the computer.


Stubnski
 
Guys...he said, "When I open the tftp server window, the ip address of my computer appears, which appears right since I am using my computer as a tftp server. "

We can assume that

A.The tftp server is indeed running
B.It's the computer that you ping, not the tftp server, which is what I asked (C'MON, TODD!!!)
C.I am always right
D.He can't ping the computer from his PC
E.Trust me
F.The letter after E.
G.Do I really have to tell you?
H.Jimi Hendrix has been sober for over 39 years.

/

tim@tim-laptop ~ $ sudo apt-get install windows
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package windows...Thank Goodness!
 
Ok..I'm going to claim lack of sleep due to teething baby today. I don't know what I was reading earlier.
 
Sorry everyone, I've been held over on 12 hour shifts at work this weekend. If I do not get held over tonight, I'll get the info and post it, otherwise I will have it first thing in the morning.
 
Lerdalt,

Why are you teething babies? That's soooo wrong! They aren't chew toys!

Burt,

I. Don't care

OV105,

Turn off your Windows firewall. Also, any other firewall running on your PC that prevents the switch from initiating the tftp data flow.

If you're using Linux, make sure you've created an empty file on your PC for the tftp transfer.
 
I did turn off the fire wall before attempting the backup.

Here is the rest of the info...

I am able to ping the router from my PC, but I cannot ping the PC from the router. The last section I copied from the TFTP server window.

C:\Users\Atlantic>ping 192.168.1.1

Pinging 192.168.1.1 with 32 bytes of data:
Reply from 192.168.1.1: bytes=32 time=1ms TTL=64
Reply from 192.168.1.1: bytes=32 time=1ms TTL=64
Reply from 192.168.1.1: bytes=32 time=1ms TTL=64
Reply from 192.168.1.1: bytes=32 time=1ms TTL=64

Ping statistics for 192.168.1.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 1ms, Maximum = 1ms, Average = 1ms

C:\Users\Atlantic>

***********************************************

Erie# ping 192.168.4.100

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

***********************************************

[03-09-2010 08:48:07]
CiscoKits Windows Service started.

[03-09-2010 08:48:07]
CiscoKits Windows Service starting. Starting TFTP Server.

[03-09-2010 08:48:07]
CiscoKits Windows Service starting. Loading settings.
 
If you can't ping your PC from the router, that is the issue you need to fix.

Double check you don't have some firewall running (McAfee personal firewall?) besides the Windows firewall. If you can ping the router but the router can't ping you, that strongly indicates a firewall behavior on the PC.

Without the basic connectivity, there is nothing you can do with the TFTP server itself.
 
I turned off the fire wall* and tried again, but met with the same results. Is it possible there is a computer setting or service that would affect an incoming ping? I'm running Vista 64 bit and I know there are a ton of services, much of which are unnecessary and a number of which are turned off.

*When I looked at the fire wall, I did notice tftp server is permitted. Even so, just to be on the safe side of this test, I turned it off.
 
Why are the router and pc in different subnets?

post a sh run from the router and ipconfig /all from the pc.

/

tim@tim-laptop ~ $ sudo apt-get install windows
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package windows...Thank Goodness!
 
Put the PC and router on the same network. Check IPs and masks closely. Once that is working and tftp succeeds, then move the PC to another network and fix the routing.
 
The laptop I'm using is my personal computer which I take to work, it's not a PC in a SOHO network. When I am home I connect to my physical router/switch lab and practice, so this accounts for the different subnets.



 
So wait, if i just repeat what everybody says, can i get a star?

CCNP
 
Now you know my frustration, ISP...

OV105---post a sh run and an ipconfig /all, and describe the topology!

/

tim@tim-laptop ~ $ sudo apt-get install windows
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package windows...Thank Goodness!
 
The topology is as easy as it gets, my laptop connected to the router via crossover cable to the console port. When you get to the ip's configured on the router, omit them as this is a practice lab and I know an ip route is not correct.

To summarize the situation, I can ping the router from the computer, but I cannot ping the computer from the router. The TFTP software has been given permission in the fire wall to run, but to be sure I did turn it completely off. I feel pretty confident that something is either not set, or is set incorrectly, I'm just not sure if the problem is on the router or the computer.

ipconfig /all.....

Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.

C:\Users\Atlantic>ipconfig /all

Windows IP Configuration

Host Name . . . . . . . . . . . . : WorkStation-PC
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : cfl.rr.com

Ethernet adapter Bluetooth Network:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Bluetooth LAN Access Server Driver
Physical Address. . . . . . . . . : 00-02-72-A1-0D-47
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes

Wireless LAN adapter Wireless Network Connection:

Connection-specific DNS Suffix . : cfl.rr.com
Description . . . . . . . . . . . : Atheros AR5009 802.11a/g/n WiFi Adapter
Physical Address. . . . . . . . . : 00-23-4E-7D-6B-5C
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::fc31:836:3cc2:26b6%11(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.4.100(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Wednesday, March 10, 2010 8:51:52 AM
Lease Expires . . . . . . . . . . : Thursday, March 11, 2010 8:51:52 AM
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DHCPv6 IAID . . . . . . . . . . . : 234890062
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-11-00-A0-10-00-23-4E-7D-6B-5C

DNS Servers . . . . . . . . . . . : 65.32.5.111
65.32.5.112
NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter Local Area Connection:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek PCIe FE Family Controller
Physical Address. . . . . . . . . : 00-23-5A-1C-39-5C
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 6:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : cfl.rr.com
Description . . . . . . . . . . . : isatap.cfl.rr.com
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 7:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Physical Address. . . . . . . . . : 02-00-54-55-4E-01
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv6 Address. . . . . . . . . . . : 2001:0:4137:9e74:2036:fdc:3f57:fe99(Preferred)
Link-local IPv6 Address . . . . . : fe80::2036:fdc:3f57:fe99%13(Preferred)
Default Gateway . . . . . . . . . : ::
NetBIOS over Tcpip. . . . . . . . : Disabled

Tunnel adapter Local Area Connection* 11:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : 6TO4 Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 13:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{667C3C1E-468F-4FEA-B3BF-8693B970A827}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 14:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{EAE5D64A-0D14-4416-9C4A-C79FB7F0E772}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

C:\Users\Atlantic>
C:\Users\Atlantic>


Router running-config:

Erie#show running-config
Building configuration...

Current configuration:
!
version 11.2
no service password-encryption
no service udp-small-servers
no service tcp-small-servers
!
hostname Erie
!
enable secret 5 $1$7QFC$Jp2j.79gNqw1mcdW3MP8T1
!
username OV105 privilege 15 password ThreeRivers
partition flash 2 8 8
!
ip domain-name test.lab
!
interface Ethernet0
no ip address
shutdown
!
interface Ethernet1
no ip address
shutdown
!
interface Serial0
description Erie_State College Link
ip address 192.168.1.1 255.255.255.0
no fair-queue
clockrate 64000
!
interface Serial1
description Pittsburgh_Monaca Link
ip address 172.16.20.2 255.255.255.0
!
ip http server
no ip classless
ip route 172.16.10.0 255.255.255.0 Serial1
ip route 172.16.50.0 255.255.255.0 Serial1
logging buffered 51200 warnings
!
line con 0
exec-timeout 0 0
password Ocean
logging synchronous
login
line aux 0
password LakeShores
login
line vty 0 4
password DeepSea
login
!
end

Erie#

 
Your topology should be:

1. The PC connected to the router with a CONSOLE (rollover) cable. This is a serial connection that uses the CONSOLE port on the router and a COM port or USB port with an adapter to get a DB-9 connection for the console cable.

2. Crossover cable connected to the Ethernet interface on the router and PC NIC.

OR

2. Straight-through cable connected to the PC and a switch/hub and another straight-through cable connected to the same switch/hub and then to the router Ethernet port. Your 2514 should have a transceiver to give you the RJ-45 port.

The Ethernet interface should have an IP on it. The PC NIC should have an IP on it.

You use the console connection to configure the router parameters but you use the network connection to transfer the files through TFTP.

Config on the PC:

IP address: 192.168.1.1
Mask: 255.255.255.0
Default Gateway: unnecessary at this time

Config on the router:

Router>enable
Router#configure terminal
Router(config)#hostname TFTPTEST
TFTPTEST(config)#interface ethernet 0
TFTPTEST(config-if)#ip address 192.168.1.2 255.255.255.0
TFTPTEST(config-if)#no shutdown
TFTPTEST(config-if)#end


That's it. The ping will work. (If there is a switch between the router and PC, it'll take 30 seconds before spanning-tree will let traffic flow.)

If you only have the console connection and haven't set up the network connection you can do XMODEM but that is an entirely different process.

 
there you go burt..he was the first to point out subnet..

We must go always forward, not backward
always up, not down and always twirling twirling towards infinity.
 
Hi,

The easiest way is; disable your wireless nic and use the wired connection on your computer and follow Cluebird's instruction above.

Remove the preferred ip address because it is not on network 192.168.1.0, so your router wont see it since it does not have a route or gateway to network 192.168.4.0


Wireless LAN adapter Wireless Network Connection: Connection-specific DNS Suffix . : cfl.rr.com Description . . . . . . . . . . . : Atheros AR5009 802.11a/g/n WiFi Adapter Physical Address. . . . . . . . . : 00-23-4E-7D-6B-5C DHCP Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes Link-local IPv6 Address . . . . . : fe80::fc31:836:3cc2:26b6%11(Preferred) IPv4 Address. . . . . . . . . . . : 192.168.4.100(Preferred) Subnet Mask . . . . . . . . . . . : 255.255.255.0 Lease Obtained. . . . . . . . . . : Wednesday, March 10, 2010 8:51:52 AM Lease Expires . . . . . . . . . . : Thursday, March 11, 2010 8:51:52 AM Default Gateway . . . . . . . . . : 192.168.1.1 DHCP Server . . . . . . . . . . . : 192.168.1.1 DHCPv6 IAID . . . . . . . . . . . : 234890062 DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-11-00-A0-10-00-23-4E-7D-6B-5C
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top