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

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

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