cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
421
Views
10
Helpful
4
Replies

Source IP

sergo777
Level 1
Level 1

Hi Everybody,

sorry maybe stupid question. I need to reach another server via VPN (in this case FTP server, i need to download a new IOS) from router with some interfaces. I can ping and reach this server when i use source from specific interface (loopback), like

ping 10.10.20.5 source 192.168.5.5

but just "ping" and of cause "copy" doesnt work...

how to put something like "default" source interface? or i have to check availability for all interfaces?

thanks

1 Accepted Solution

Accepted Solutions

Harold Ritter
Cisco Employee
Cisco Employee

Hi @sergo777 ,

For this specific FTP case, you can use the following command.

ip ftp source-interface <source interface>

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

View solution in original post

4 Replies 4

this is normal, 
Router have two behave 
traffic pass through 
traffic origin from Router 

the issue with ping and VPN is that the router origin of traffic and hence the router have des. and need Src., 
Src. is issue here 
if you not write the Src. the router will select nearest IP to des. BUT this sometimes is not reachable from other Peer and hence the ping is failed. 
so it better to use ping with source in case of test VPN and BGP. 

Thanks!

but my goal is not a ping, i need to use FTP for download and upload....  i think, i have to check all interfaces, all of them should reach dest.

 

Harold Ritter
Cisco Employee
Cisco Employee

Hi @sergo777 ,

For this specific FTP case, you can use the following command.

ip ftp source-interface <source interface>

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

sergo777
Level 1
Level 1

Thanks Harold! it works!

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card