Thread (67 messages) 67 messages, 9 authors, 2016-05-25

Re: [RFC PATCH 00/29] net: VRF support

flat view

From: Shmulik Ladkani <hidden>
Date: 2015-02-06 06:10:57

On Thu, 05 Feb 2015 15:12:57 -0800 roopa [off-list ref] wrote:
We have been playing with ip rules to implement vrfs. And the blocker 
today is that we cannot bind a socket to a vrf (routing tables in this 
case).
Hi Roopa,

One option would be using SO_MARK sockopt on that socket, and have an ip
rule which matches this mark to point to your table.
I don't know your exact use-cases, but you can play around with that
idea.

Regards,
Shmulik
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help