[c-nsp] Changing source address

Oliver Boehmer (oboehmer) oboehmer at cisco.com
Thu Nov 3 03:58:57 EST 2005


Roy <> wrote on Thursday, November 03, 2005 1:36 AM:


>>> I have a router whose wan interface to the Internet is a private IP
>>> address but whose ethernet interface is a public one.  Unfortunately
>>> functions like "copy tftp flash"  use the private IP as the source
>>> address and won't complete since I have to go across the Internet. 
>>> Is there a way to change the source address either for TFTP or
>>> globally? 
>> 
>> Try 'ip tftp source-interface x'?
>> 
> That's the magic.  Too bad there doesn't seem to a setting to change
> it globally.

There is no global "use interface x for *all* self-originated packets"
command, but you'll find similar commands for some other apps ("ip {
telnet | ssh | tacacs | radius | ftp } source-interface xxx",
"snmp-server source-interface ..."), so for the common protocols, you
can set it. 

	oli



More information about the cisco-nsp mailing list