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