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: how to specify multiple ips

To: "Anand Gupta" <xen.mails@xxxxxxxxx>
Subject: Re: [Xen-users] Re: how to specify multiple ips
From: "Li, Yin" <yin.li.th@xxxxxxxxx>
Date: Mon, 17 Apr 2006 10:12:10 +0800
Cc: Xen Users <Xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 16 Apr 2006 19:12:45 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=VKKdWZnsMkJutZwpEEweuPbcyDT7oU3IvE4xQxiC50AiizVdK22zI5r8n3KJPLfQVHMgEX/legOQeb8G+y8Gy4b/RDwKg2qaDq/FK3LHaEwV6xfOsHETpyYoivF299BlLugagUNmvyQqkxvJKHF14g2iqAVN51mLKgrLFR2JBfI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <acb757c00604161002j7d3c23ao64f0583355fbac8d@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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <acb757c00604121032p762e3ec0g75bc9f1ed9cad9ce@xxxxxxxxxxxxxx> <acb757c00604150526m4cb8cf00t7fc92122535a0fd3@xxxxxxxxxxxxxx> <acb757c00604161002j7d3c23ao64f0583355fbac8d@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
You may try with ip alias feature supported by Linux kernel as follows:
 
1. specify one network interface in the domainU configuration file
    vif = ['mac=AA:00:00:18:98:FB, ip=x.x.x.x, vifname=xen01']
 
2. add an alias network interface, e.g. eth0:0. Assumed you work under RedHat, then create a file named /etc/sysconfig/network-scritps/ifcfg-eth0:0 and configure it with whatever network address as you want.
 
On 4/17/06, Anand Gupta <xen.mails@xxxxxxxxx> wrote:
I have been trying to get any replies on this small query of mine. Will appreciate if someone can help me out here.

Using the second interface is causing problems, when i boot my centos domU, the second adapter doesn't have the ip address. If i manually use ifconfig eth1 and specify the ip, netmask only then it comes up.

any help will be appreciated.


On 4/15/06, Anand Gupta <xen.mails@xxxxxxxxx > wrote:
Anyone ? I tried using the following

vif = ['mac=AA:00:00:18:98:FB, ip=x.x.x.x, vifname=xen01', 'mac=AA:00:00:18:98:FD, ip=x.x.x.x, vifname=xen02']

and the above works as well. However it creates another interface inside the domU as eth1. Can't i assign two ips to the same interface ?

Any help would be appreciated.



On 4/12/06, Anand Gupta < xen.mails@xxxxxxxxx > wrote:
How can i specify multiple ips inside a config file for a domU.

Thanks.

--
regards,
 

Anand Gupta



--
regards,
 

Anand Gupta



--
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
<Prev in Thread] Current Thread [Next in Thread>