From mboxrd@z Thu Jan 1 00:00:00 1970 From: ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org (Eric W. Biederman) Subject: Re: hi regarding the Linux containers Date: Tue, 30 Apr 2013 15:05:44 -0700 Message-ID: <87bo8vishz.fsf@xmission.com> References: <20130429132509.GB30159@sergelap> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20130429132509.GB30159@sergelap> (Serge Hallyn's message of "Mon, 29 Apr 2013 08:25:09 -0500") List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Serge Hallyn Cc: Harini Donthineni , "containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org" List-Id: containers.vger.kernel.org Serge Hallyn writes: > netns has been supported for quite some time in the kernel, as has > setns() to netns. You don't need to apply any patches. For > documentation see the manpages: setns(2), unshare(2), clone(2), and > finally the still-in-development namespaces(7), for which you can > see an early draft at https://lkml.org/lkml/2013/3/15/56 A virtual router can mean a lot of things to different folks, but I would recommend playing with ip(8) aka iproute2. The ip netns family of commands allow you to configure the most common definitions of a virtual router. Eric