[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Re: how to specify multiple ips


  • To: "Anand Gupta" <xen.mails@xxxxxxxxx>
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.