[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150206081046.415c3d50@halley>
Date: Fri, 6 Feb 2015 08:10:46 +0200
From: Shmulik Ladkani <shmulik.ladkani@...il.com>
To: roopa <roopa@...ulusnetworks.com>
Cc: David Ahern <dsahern@...il.com>, netdev@...r.kernel.org,
ebiederm@...ssion.com, Dinesh Dutt <ddutt@...ulusnetworks.com>,
Vipin Kumar <vipin@...ulusnetworks.com>,
Nicolas Dichtel <nicolas.dichtel@...nd.com>,
hannes@...essinduktion.org, Eyal Birger <eyal.birger@...il.com>
Subject: Re: [RFC PATCH 00/29] net: VRF support
On Thu, 05 Feb 2015 15:12:57 -0800 roopa <roopa@...ulusnetworks.com> 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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists