Hot Downloads

Resolving Cisco Router/Switch Tftp Problems: Source IP Address - The 'IP TFTP Source-Interface' Command

Written by Administrator. Posted in Cisco Routers - Configuring Cisco Routers

When working with Cisco equipment that has multiple ip interfaces, a common problem engineers are faced with is trying to successfully tftp to or from the Cisco device. This issue is usually encountered when the Cisco device (router or multi-layer switch) uses a different source IP address which cannot reach our TFTP Server's IP address or is blocked due to access lists.

cisco-ip-tftp-source-interface-1Figure 1. The tftp source IP problem with tftp and other services on a Cisco Router

Luckily, there is a way around this problem, and it’s a simple one.

Note: The commands used are identical for all Cisco routers and Catalyst switches.

To ensure your Cisco router or multi-layer switch uses the correct interface during any tftp session, use the ip tftp source-interface command to specify the source-interface that will be used by the device.

The following example instructs our Cisco 3750 Layer 3 switch to use VLAN 5 interface as the source ip interface for all tftp sessions:

3750G-Stack(config)# ip tftp source-interface vlan 5

 

As shown below, VLAN 5 has IP address 192.168.131.1 assigned to it, therefore this IP address will be the source interface from now on:

3750G-Stack# show ip interface brief
Interface              IP-Address      OK? Method Status                Protocol
Vlan1                  192.168.50.1    YES NVRAM  up                    up     
Vlan2                  192.168.130.1   YES NVRAM  up                    up     
Vlan3                  192.168.135.1   YES NVRAM  up                    up     
Vlan4                  192.168.19.1    YES NVRAM  up                    up     
Vlan5                  192.168.131.1   YES NVRAM  up                    up     
Vlan6                  192.168.141.1   YES NVRAM  up                    up     
Vlan7                  192.168.170.1   YES NVRAM  up                    up     
Vlan8                  192.168.180.1   YES NVRAM  up                    up

 Back to Cisco Routers Section

or                 

Back to Cisco Switches Section

Articles To Read Next:

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup