Re: [Vserver] guest network interface disappears

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Sat 15 Jul 2006 - 12:22:49 BST
Message-ID: <20060715112249.GC13819@MAIL.13thfloor.at>

On Thu, Jul 13, 2006 at 05:29:28PM +0200, Martin Pajak wrote:
> We are running latest Gentoo vserver with 8 guest instances on it.
> Most of them are migrated from a xen environment to vserver and are
> running fine, but we encountered a strange problem there:
>
> 3 of the systems lost their network interface 4 times within a week
>
> If I enter the guest in such a case, the "ip" or "ifconfig" commands
> shows no network interfaces and I can only restart the guest to get it
> to work again for now.
>
> Have anyone an idea how it comes to and how can I avoid it?

although I have no details about your setup, I'd
suspect that one guest gets a 'primary' (i.e. not
secondary) ip on the network (check with ip a ls)
and whenever you restart that guest, the primary
is taken down, and by default (without propagation)
the secondaries are removed too, which results in
what you describe as 'losing the network interface'

options here are:

 - assign a primary on the host, so that all guests
   will become secondaries (this is called a dummy)
 - activate primary/secondary propagation
 - disable the automatic guest interface up/down
   in the config (not really suggested)

HTH,
Herbert

> Thanks in advance
> Martin
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Sat Jul 15 12:23:39 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sat 15 Jul 2006 - 12:23:42 BST by hypermail 2.1.8