* hi regarding the Linux containers
@ 2013-04-28 17:45 Harini Donthineni
[not found] ` <CAHfs=Wzf5cQqoa4Q3EuG3rfp7qQAmDWGfpQQ5Z3H5fzVG3puVA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Harini Donthineni @ 2013-04-28 17:45 UTC (permalink / raw)
To: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
hi ,
I have few queries in this area,can u pls help me ?
I am trying to create virtual router using test Linux kernel code 3.8
so my question is
looks like this can be done by container concept.various approaches are
lxc containers,openvz which ur discussing.
so my question is only using the Linux kernel src code can i develop a
virtual router sample program with out using Openvz like using setns and
netns .
is netns supported by Linux kernel latest ?
do i need to exclusively download and incorporate the patches ?
can u pls let me where can i get the documentation with sample examples for
the same.
--
Thanks & Regards
Harini
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: hi regarding the Linux containers
[not found] ` <CAHfs=Wzf5cQqoa4Q3EuG3rfp7qQAmDWGfpQQ5Z3H5fzVG3puVA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2013-04-29 13:25 ` Serge Hallyn
2013-04-30 22:05 ` Eric W. Biederman
0 siblings, 1 reply; 3+ messages in thread
From: Serge Hallyn @ 2013-04-29 13:25 UTC (permalink / raw)
To: Harini Donthineni
Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
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
Quoting Harini Donthineni (harini.donthineni-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org):
> hi ,
> I have few queries in this area,can u pls help me ?
>
> I am trying to create virtual router using test Linux kernel code 3.8
>
> so my question is
>
> looks like this can be done by container concept.various approaches are
>
> lxc containers,openvz which ur discussing.
>
>
>
> so my question is only using the Linux kernel src code can i develop a
> virtual router sample program with out using Openvz like using setns and
> netns .
>
>
> is netns supported by Linux kernel latest ?
>
>
> do i need to exclusively download and incorporate the patches ?
>
> can u pls let me where can i get the documentation with sample examples for
> the same.
>
>
>
> --
> Thanks & Regards
> Harini
> _______________________________________________
> Containers mailing list
> Containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
> https://lists.linuxfoundation.org/mailman/listinfo/containers
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: hi regarding the Linux containers
2013-04-29 13:25 ` Serge Hallyn
@ 2013-04-30 22:05 ` Eric W. Biederman
0 siblings, 0 replies; 3+ messages in thread
From: Eric W. Biederman @ 2013-04-30 22:05 UTC (permalink / raw)
To: Serge Hallyn
Cc: Harini Donthineni,
containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
Serge Hallyn <serge.hallyn-GeWIH/nMZzLQT0dZR+AlfA@public.gmane.org> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-04-30 22:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-28 17:45 hi regarding the Linux containers Harini Donthineni
[not found] ` <CAHfs=Wzf5cQqoa4Q3EuG3rfp7qQAmDWGfpQQ5Z3H5fzVG3puVA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-04-29 13:25 ` Serge Hallyn
2013-04-30 22:05 ` Eric W. Biederman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.