Re: [vserver] naddress --remove error

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Sat 18 Jul 2009 - 20:08:36 BST
Message-ID: <20090718190836.GC31348@MAIL.13thfloor.at>

On Sat, Jul 18, 2009 at 01:49:57PM -0400, John A. Sullivan III wrote:
> Hello, all. While doing some testing I added an address to a guest:

> [root@vserver01 ~]# naddress --add --nid 40003 --ip 10.68.6.235
> Adding 10.68.6.235
>
> I then tried to remove it and received the following errors:
> [root@vserver01 ~]# naddress --remove --nid 40003 --ip 10.68.6.235
> Removing 10.68.6.235
> naddress: vc_net_remove(): Invalid argument
> [root@vserver01 ~]# naddress --remove --nid 40003 --ip 10.68.6.235/29
> Removing 10.68.6.235
> naddress: vc_net_remove(): Invalid argument
> [root@vserver01 ~]# naddress --remove --nid 40003 --ip 10.68.6.235/29 --bcast 10.68.6.239
> Removing 10.68.6.235
> naddress: vc_net_remove(): Invalid argument

> What am I doing wrong? Thanks - John

nothing, single IP (or subset) removal is not implemented
yet, but you can remove all IPs, and add back the ones
you want to keep ...

note: patches are welcome :)

best,
Herbert

> --
> John A. Sullivan III
> Open Source Development Corporation
> +1 207-985-7880
> jsullivan@opensourcedevel.com
>
> http://www.spiritualoutreach.com
> Making Christianity intelligible to secular society
Received on Sat Jul 18 20:08:56 2009

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sat 18 Jul 2009 - 20:08:57 BST by hypermail 2.1.8