|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-users
Re: [Xen-users] Re: how to specify multiple ips
 
| 
 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. 
  
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 
 |   
 
 | 
    | 
  
  
    |   | 
    |