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: Wed, 15 Apr 2009 23:27:22 +0530
Cc: Nick Anderson <nick@xxxxxxxxxxxx>, Peter Booth <peter_booth@xxxxxxx>, Xen Users <Xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 15 Apr 2009 10:59:00 -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=o+v0XfkeVOoFxn0vFG3lMPxXWR/ESar3KuVkUYzRGDs=; b=ZbZXB9DiCKTSmUzhpffYGkd2vIr6084DU7USVy2lWRX0/snu7ihR5yVfPok3scs/gr wLguYwLI7ReQjqOM8wGIMSXt2DjZx2lKz6UVV9zcwP1xEI/Gj+v5MrNHQAvbDqnc2Phr 1jYQcBBMZPS9qElHXw1rgJLo8RUoJDvimzSaE=
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=PFm7B78Vvrw34uEpHw9c6IE8G7kvXTMTpOV1P3hrGUQdQLtswUJNd45zJpIBoeFwQ2 M10OOHo+LuD8ZKkcsVrT5AxfjYSL6KwaBaIg99AaMPUHske9Oqm5thCJM5jGEct+EaRw lBzentL67dUsI2jsjA5O+Y0xldWXi81KvHjAM=
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
Tried to apply this patch. Fresh install centos5.3, xen 3.0.3-80

I get this error.

missing header for unified diff at line 3 of patch
patching file vif-bridge
patch: **** malformed patch at line 4: online)

Any ideas on how to fix this ?


On Sat, Apr 11, 2009 at 4:36 AM, 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