cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
925
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
Spotlight
Spotlight

Hi @sergo777 ,

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

ip ftp source-interface <source interface>

Regards,

Regards,
Harold Ritter, CCIE #4168 (EI, SP)

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
Spotlight
Spotlight

Hi @sergo777 ,

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

ip ftp source-interface <source interface>

Regards,

Regards,
Harold Ritter, CCIE #4168 (EI, SP)

sergo777
Level 1
Level 1

Thanks Harold! it works!