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: Peter Booth <peter_booth@xxxxxxx>
Subject: Re: [Xen-users] Re: number of ips
From: Anand Gupta <xen.mails@xxxxxxxxx>
Date: Sat, 11 Apr 2009 04:32:01 +0530
Cc: Nick Anderson <nick@xxxxxxxxxxxx>, Xen Users <Xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 10 Apr 2009 16:02:45 -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=oGnJqJhUd7iu+xEdG1owQnqfg4UnBhb2NY/6qcgnk1w=; b=RJXW09+hloJbvQleos1E11ZGpdn8RCWljJZil0vFhenrR7Z3/PHM5EEz7VbGGx9lVi JSUMo8pFRJbTC8iJDUnPTK6nf2GFM9qQUkwgtQWXommn3mvQfzkSBknr34STGkHed/wv FgbLzrWPWxiLzuoBCozcdlIqkunejy7gVW6cE=
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=ns0p3+Tj8D1mV6gyFKc+np5WckapCOT+q7cZu6mF0yDu9166MryTt0XIdUX1+b0yOv hd/AufxyunN0nnLPAAv0rZeL0NjwEcAQFoTbhhh8SIP7ldlJI5ufhvesDs9fLU/C598W CGhA7V4UPhol+d8/z1HYIsYpHA2VPYyj5m0L4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <3F8AB7EB-0E31-44DE-9589-2AC428A9A734@xxxxxxx>
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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