'--address' option on client side.
hjmangalam at gmail.com
Mon Mar 29 15:14:37 UTC 2021
Thanks very much for the useful answers. Much obliged
On Mon, Mar 29, 2021 at 5:25 AM Paul Slootman via rsync <
rsync at lists.samba.org> wrote:
> On Fri 26 Mar 2021, Harry Mangalam via rsync wrote:
> > I'm trying to improve a parallel rsync wrapper called parsyncfp (pfp) in
> > response to a user request. He wants rsync to emit data on multiple
> > interfaces (one interface per rsync instance). From the man page it seems
> > like the '--address' option would do that and in fact using it as such
> > not result in an error, but it also does not result in both interfaces
> > being used, either from pfp or when launched directly from different
> > My route (working from home) shows the 2 wlan interfaces up with
> > different IP #s:
> > wlp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
> > inet 192.168.1.223 netmask 255.255.255.0 broadcast 192.168.1.255
> > ...
> > wlx9cefd5fb0bb5: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
> > inet 192.168.1.186 netmask 255.255.255.0 broadcast 192.168.1.255
> As both interfaces are on the same network, the kernel will use one
> interface to transmit data to that network.
> > and route shows:
> > $ route
> > Kernel IP routing table
> > Destination Gateway Genmask Flags Metric Ref Use
> > Iface
> > default router.asus.com 0.0.0.0 UG 601 0 0
> > wlx9cefd5fb0bb5
> > default router.asus.com 0.0.0.0 UG 602 0 0
> Here you see wlx9cefd5fb0bb5 has a lower metric, hence it will
> preferentially be used.
> You need to dive deeper into linux policy based routing, to force
> traffic e.g. from a particular IP address out over a certain interface.
> This is totally outside the scope of rsync; there's nothing rsync can do
> to influence this. You need the 'ip rule' and 'ip route' commands.
> Please use reply-all for most replies to avoid omitting the mailing list.
> To unsubscribe or change options:
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rsync