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

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

<Prev in Thread] Current Thread [Next in Thread>