Re: [PATCH net-next 4/4] bonding: balance ICMP echoes in layer3+4 mode

2019-10-23 Thread Simon Horman
On Wed, Oct 23, 2019 at 06:58:16PM +0200, Matteo Croce wrote: > On Wed, Oct 23, 2019 at 12:01 PM Simon Horman > wrote: > > > > On Mon, Oct 21, 2019 at 10:09:48PM +0200, Matteo Croce wrote: > > > The bonding uses the L4 ports to balance flows between slaves. > > > As the ICMP protocol has no ports,

Re: [PATCH net-next 4/4] bonding: balance ICMP echoes in layer3+4 mode

2019-10-23 Thread Matteo Croce
On Wed, Oct 23, 2019 at 12:01 PM Simon Horman wrote: > > On Mon, Oct 21, 2019 at 10:09:48PM +0200, Matteo Croce wrote: > > The bonding uses the L4 ports to balance flows between slaves. > > As the ICMP protocol has no ports, those packets are sent all to the > > same device: > > > > # tcpdump

Re: [PATCH net-next 4/4] bonding: balance ICMP echoes in layer3+4 mode

2019-10-23 Thread Simon Horman
On Mon, Oct 21, 2019 at 10:09:48PM +0200, Matteo Croce wrote: > The bonding uses the L4 ports to balance flows between slaves. > As the ICMP protocol has no ports, those packets are sent all to the > same device: > > # tcpdump -qltnni veth0 ip |sed 's/^/0: /' & > # tcpdump -qltnni veth1 ip

[PATCH net-next 4/4] bonding: balance ICMP echoes in layer3+4 mode

2019-10-21 Thread Matteo Croce
The bonding uses the L4 ports to balance flows between slaves. As the ICMP protocol has no ports, those packets are sent all to the same device: # tcpdump -qltnni veth0 ip |sed 's/^/0: /' & # tcpdump -qltnni veth1 ip |sed 's/^/1: /' & # ping -qc1 192.168.0.2 1: IP 192.168.0.1 > 192