Re: l3mdev: Support for sockets bound to enslaved device

2017-08-08 Thread David Ahern
On 8/8/17 5:29 AM, Ondrej Zajicek wrote: > Hi > > We noticed that TCP outgoing sockets that are bound to enslaved devices > by SO_BINDTODEVICE fail to connect, while they work when bound to vrf > device instead. We noticed similar behavior on ICMP (i.e. ping -I vrf0 > worked, while ping -I eth0 do

Re: l3mdev: Support for sockets bound to enslaved device

2017-08-08 Thread Ondrej Zajicek
Hi We noticed that TCP outgoing sockets that are bound to enslaved devices by SO_BINDTODEVICE fail to connect, while they work when bound to vrf device instead. We noticed similar behavior on ICMP (i.e. ping -I vrf0 worked, while ping -I eth0 does not if eth0 is enslaved to vrf0). On the contrary,