[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ba46da79-be30-b69c-583b-14673e468a6c@orlandi.com>
Date: Sat, 18 Mar 2017 13:02:45 +0100
From: Daniele Orlandi <daniele@...andi.com>
To: David Ahern <dsa@...ulusnetworks.com>, netdev@...r.kernel.org
Subject: Re: SO_BINDTODEVICE in VRFs not working?
On 18/03/2017 06:54, David Ahern wrote:
>
>> int s = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
>>
>> char *ifname = "eth1";
>
> Bind to the VRF device not an interface enslaved to it.
Oh... thanks, it was that simple...
Well, yes, I think it should be possible to bind to the specific
interfaces too although it's not what I was looking for.
Thank you,
Bye,
--
Daniele Orlandi
Powered by blists - more mailing lists