WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: admin@xxxxxxxxxxx
Subject: Re: [Xen-users] Re: number of ips
From: Anand Gupta <xen.mails@xxxxxxxxx>
Date: Sat, 11 Apr 2009 16:18:43 +0530
Cc: Nick Anderson <nick@xxxxxxxxxxxx>, Peter Booth <peter_booth@xxxxxxx>, Xen Users <Xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sat, 11 Apr 2009 03:49:26 -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 :content-transfer-encoding; bh=3wg5y3u8zEXIHVYZs0XDU57QatdFIQdlbwBOZlDJrcA=; b=jRQ25/b18h0zlBY4+5rqGPigs0gBh1/cVezvQWnoaliW8VV1FtG4uUCY1W+cHX/fof 0+Mxz5bR8m9Mz3byjWG755vcZBtW0X44nzT0zErcooU1uFQwG16kydbY/6DiGjGMWU1M HD7wjBlxacKuASrLkc9Xxcaj69jaY33Yc/I7A=
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:content-transfer-encoding; b=iYXLTtwcMhQjkjpA6qRzkpzCxRoXWmm9mA0LSzWFO0xBxzIlX3oLq7dddZLGomJ5Sa L6LFvA113On1sDfAypsLWNzoKxZppLHFPhmUyR8vBGlY551jIU1i/2A0y7bv2KDaBv9m 5UdvYkdhO1OQ25Dn+nhZXQfJ/ruKr+PkRyC2I=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <6894a6470904101606k1885b53dl18e651e5f69c5e86@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> <acb757c00904101147o1d838b6bwe549a2cc450434e4@xxxxxxxxxxxxxx> <20090410191735.GA24281@cmdln-laptop> <acb757c00904101305r25ac1099u26b08c1d48411c3f@xxxxxxxxxxxxxx> <20090410201941.GA1068@cmdln-laptop> <acb757c00904101428w5920e53bh110611916ffe9566@xxxxxxxxxxxxxx> <3F8AB7EB-0E31-44DE-9589-2AC428A9A734@xxxxxxx> <acb757c00904101602o732d1353ob96d1c501fdb5ec1@xxxxxxxxxxxxxx> <6894a6470904101606k1885b53dl18e651e5f69c5e86@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Yup this is a lot like what i want to achieve. Does this work with the
version of xen which ships with centos5.3 ? I have a new machine being
setup today, i will need to try this out, if it works.

On 4/11/09, David <admin@xxxxxxxxxxx> wrote:
>  http://toic.org/2008/09/22/preventing-ip-conflicts-in-xen/
>
> If i'm reading this correctly, this is what you want.
>
>
> On Sat, Apr 11, 2009 at 12:02 AM, Anand Gupta <xen.mails@xxxxxxxxx> wrote:
>
>> Hi Peter,
>>
>> Here is what i want to achieve.
>>
>> 1. I want to assign multiple ips to a domU. These ips can be in
>> different subnet.
>> 2. I want to be able to stop users from arbitrarily binding ips inside
>> their domU, and start using them.
>>
>> Using bridge/ routing mode is not an issue, whatever resolves the
>> problem, i am ready to use that.
>>
>> On 4/11/09, Peter Booth <peter_booth@xxxxxxx> wrote:
>> > What is it that you're wanting to achieve? You can use bridging for
>> > one IP and, say, a private network for another if that makes more
>> > sense. I've used this approach when using a VM as a QA version of a
>> > JMS server when the production server had seven NICs
>> >
>> >
>> >
>> > On Apr 10, 2009, at 5:28 PM, Anand Gupta <xen.mails@xxxxxxxxx> wrote:
>> >
>> >> Hi Nick,
>> >>
>> >> Thanks for the reply. What if they are on different subnet ? And then
>> >> what stops a user inside domU to add any ip in that series (as long as
>> >> the ips are assigned and routable to the server) and start to use it ?
>> >>
>> >> On 4/11/09, Nick Anderson <nick@xxxxxxxxxxxx> wrote:
>> >>> On Sat, Apr 11, 2009 at 01:35:48AM +0530, Anand Gupta wrote:
>> >>>> Hmm... So if i have to assign lets say 6 ips to a domU, what is the
>> >>>> best method to do so ?
>> >>> Well if they are all on the same subnet and your using standard
>> >>> bridging and using a linux domU you should be able to just bring
>> >>> virtual interfaces.
>> >>>
>> >>> ifconfig eth0:0 192.168.1.2
>> >>> ifconfig eth0:1 192.168.1.3
>> >>> ifconfig eth0:1 192.168.1.4
>> >>>
>> >>>
>> >>> --
>> >>> Nick Anderson <nick@xxxxxxxxxxxx>
>> >>> http://www.cmdln.org
>> >>>
>> >>>
>> >>
>> >>
>> >> --
>> >> regards,
>> >>
>> >> Anand Gupta
>> >>
>> >> _______________________________________________
>> >> Xen-users mailing list
>> >> Xen-users@xxxxxxxxxxxxxxxxxxx
>> >> http://lists.xensource.com/xen-users
>> >
>>
>>
>> --
>> regards,
>>
>> Anand Gupta
>>
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-users
>>
>


-- 
regards,

Anand Gupta

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users