Subject: Re: [vserver] Adding multicast to guest on startup?
From:Benedikt Böhm <bb@xnull.de>
Date: Wed, 1 Sep 2010 07:19:41 +0200

 Wed, 1 Sep 2010 07:19:41 +0200
On Tue, Aug 31, 2010 at 11:25 PM, Ed W <lists@wildgooses.com> wrote:
>  On 30/08/2010 21:43, Benedikt Böhm wrote:
>>
>> On Mon, Aug 30, 2010 at 7:08 PM, Ed W<lists@wildgooses.com>  wrote:
>>>
>>>  Hi, I'm trying to get avahi working within a guest.  So far it seems
>>> like
>>> because it wants to do multicast, I might need to run something like the
>>> following in the host:
>>>
>>>    naddress --nid xxx --add --mask 224.0.0.0/4
>>
>> i failed with this approach and wrote the patch available at
>> http://paste.linux-vserver.org/16406
>>
>> Bertl told me he might add this patch to the official vserver patch,
>> no idea what's the ETA though ...
>
> I will give it a try shortly - server is slightly hard to reboot...
>
> However, the patch seems simple enough?  So I just add that capability to
> bcapabilities file and we are done?

it is a network capability, but util-vsever does not know the name of
it (yet), so you have to put the bare number in the config:

echo $((0x00010000)) > /etc/vservers/foo/ncapabilities

HTH,
Bene