Re: [vserver] Adding multicast to guest on startup?

From: Benedikt Böhm <bb_at_xnull.de>
Date: Wed 01 Sep 2010 - 06:19:41 BST
Message-ID: <AANLkTik6gxU06=C6yZ5tdFVpW9U1fvU3vgFDYKa0OxN-@mail.gmail.com>

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
Received on Wed Sep 1 06:20:24 2010

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 01 Sep 2010 - 06:20:25 BST by hypermail 2.1.8