This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-users] Re: number of ips

To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Subject: Re: [Xen-users] Re: number of ips
From: Anand Gupta <xen.mails@xxxxxxxxx>
Date: Sat, 11 Apr 2009 22:43:08 +0530
Cc: Xen Users <Xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sat, 11 Apr 2009 10:15:07 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=5u3SgCCeKvOCftCWDxRrIterdnA7XmV8cyY11+yms1s=; b=SZKmh7tqJqprt1dGUh/gmbKfZ0YFX5o+8ZPm5yTg2YY+EFga7GYHyqhsH0lwvkp4cx n6LYj213u2Fxn8jg/hyW4Sa4bwyFNaVnqT2+HoyVWhOcNuJZYWSzlTqTH3sM40cI5jmQ J7XmquVvakd0OoQLrsj5uu4jsZl7TDvReAHtU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=welTR/FEb+YZpqTxuvrburncHXdqCZ0Nucqy3jQC/9hIVhT/gMPBaBu9bhiP+xwJ8h sqLsY5HIn2jftLIko7gOJ921LO/7RAbxp4HeLu8eJ6seGTv0PlQ9MCwBjoyY270sipww kUNScATxvPBLn+cRBtenHTUhv+3KFon4NdhbU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7207d96f0904110513m1399f3e5x280dcbcecd6d981b@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <acb757c00904090609y3975792dgd89d28e843ee9ee@xxxxxxxxxxxxxx> <20090410191735.GA24281@cmdln-laptop> <acb757c00904101305r25ac1099u26b08c1d48411c3f@xxxxxxxxxxxxxx> <20090410201941.GA1068@cmdln-laptop> <acb757c00904101428w5920e53bh110611916ffe9566@xxxxxxxxxxxxxx> <3F8AB7EB-0E31-44DE-9589-2AC428A9A734@xxxxxxx> <acb757c00904101602o732d1353ob96d1c501fdb5ec1@xxxxxxxxxxxxxx> <7207d96f0904101916oc47f8d2xbd557f4ad753689@xxxxxxxxxxxxxx> <acb757c00904110355j532a1cb7va3b5cd4cf30690e6@xxxxxxxxxxxxxx> <7207d96f0904110513m1399f3e5x280dcbcecd6d981b@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi Fajar,

Yup true. I don't have many ip blocks using which i can divide subnets etc. I have to deal with what i have. Will check the ebtables and see if i can get it to work.

Thanks for all the help.

On Sat, Apr 11, 2009 at 5:43 PM, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
On Sat, Apr 11, 2009 at 5:55 PM, Anand Gupta <xen.mails@xxxxxxxxx> wrote:
> Hi Fajar,
> Right now i have 10 odd ips for a dom0, and in process more will be
> allocated (perhaps from a different subnet). Now for starters i wish to
> assign 4 ips on a domU, 5 on another. I just don't want the users to try and
> bind additional ips, unless they have been authorized to do so.
> So you mean to say, i should create different bridges for each domU ? Can
> you give more idea on how i can do so ?

It seems I misunderstood your requirement.
I thought that you work for an ISP (like I do) and have control over
many blocks of IP addresses and are used to assigning them to clients
(colocation clients, leased line, etc.) using CIDR
(http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing). If that
were the case then the easiest way would be to treat domU like any
other real server, and to treat dom0 like a switch with vlan support.
Apparently that's not the case :)

If you only have a small number of IP addresses on the same subnet,
and can't really afford to lose some of them to do CIDR (for router,
network, and broadcast address), then the link David sent about
ebtables seems like your best bet.



Xen-users mailing list


Anand Gupta
Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>