[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAKoUArm6tjjSkLuno-5ZoCJ+mA8bLdoFExHXNFSpb6OXKz=_Bg@mail.gmail.com>
Date: Thu, 14 Nov 2013 13:18:00 +0200
From: Rami Rosen <roszenrami@...il.com>
To: Jacob Avraham <Jacob.Avraham@...pass-eos.com>
Cc: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: network namespaces usage in routing appplications with VRF-like features
Hi,
> Does RTNETLINK API support adding routes to a particular namespace routing table?
No, at least not directly (though there are cases where you can
specify a network device the RTNETLINK API requests. And in network
namespaces, a network device can belong only to one network namespace
at a given moment. But I am not sure if it is enough for your needs)
Regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
On Wed, Nov 13, 2013 at 2:56 PM, Jacob Avraham
<Jacob.Avraham@...pass-eos.com> wrote:
> Hi,
> I'm trying to evaluate the use of network namespaces in some routing applications, which are currently based on the VFR patchset.
> I was thinking about distributing several interfaces among a few namespaces, whereby each namespace has its own routing table(s), ala VRF.
> The questions that I have are:
> 1. Can I open a listening socket that accepts traffic from all interfaces in all namespaces? That's the current behavior of my routing protocol daemons.
> 2. Does RTNETLINK API support adding routes to a particular namespace routing table?
>
> Thanks,
> Jacob
> --
> 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
--
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