How to specify an outgoing IP address

How to specify an outgoing LAN port

 Q: I need to specify an IP address to use when sending data out to another system.

 A: FTP does not have this capability, but ssh/scp does. The option is: -o BindAddress=

 For example:

# scp –o BindAddress=10.11.12.13 file_name(s) dest-host:dest-dir

 This will send the file(s) using the LAN card currently bound to the address 10.11.12.13 rather than using the default hostname LAN card.

– See more at: http://serviceitdirect.com/blog/how-specify-outgoing-ip-address#sthash.AWaaoY92.dpuf


Tags: