if you use ssh as transport, you can try
rsync -e 'ssh -oBindAddress=<local interface ip address>'
man 5 ssh_config is telling:
BindAddress
Use the specified address on the local machine as the source
address of the connection. Only useful on systems with more than
one address. Note that this option does not work if
UsePrivilegedPort is set to âyesâ
regards
roland
>Hi,
>
>Could rsync support to specify Source IP address when local host has
>multiple NICs? In some complex network configuration, we need some
>restrictions for this type of rsync usage.
>
>thanks,
>Emre
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html