Subject: Re: [vserver] /proc/net/dev missing when networknamespaces are active
From: "Daniel Hokka Zakrisson" <daniel@hozac.com>
Date: Fri, 22 Jun 2012 23:29:03 +0200 (CEST)

Adrian Reyer wrote:
> On Fri, Jun 22, 2012 at 09:10:04PM +1000, Steve Kieu wrote:
>> I have asked once before but no one got no reply.
>
> I know.
>
>> Basically normal ifconfig, route, will not work. However ip tools work, and
>> application using network still works
>> Interested to know how to unhide it as well ...
>
> Well, it seems not to have to do with proc-unhiding at all, it seems to
> be an issue with netns as such. Unfortunately I need netns to enable my
> vservers for ipv6 autoconfiguration as they have multiple, some of them
> with changing prefixes.
> ip-tools work well enough for ipv6 auto-assigning to be successful. I
> managed to get an IPv4-Adress with 'pump' instead of dhclient once. But
> since then it fails again.

If IPv6 autoconfiguration for guests is all you need, you might want to
look at vip6-autod from
http://git.planet-lab.org/?p=util-vserver-pl.git;a=blob;f=src/vip6-autod.c;hb=HEAD

-- 
Daniel Hokka Zakrisson