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] Xen and IP

To: Shahzad Chohan <shahzad.chohan@xxxxxxxxx>
Subject: Re: [Xen-users] Xen and IP
From: Nivedita Singhvi <niv@xxxxxxxxxx>
Date: Tue, 12 Apr 2005 08:36:20 -0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 12 Apr 2005 15:35:51 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <36967cc905041208117251a22d@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: <36967cc905041208117251a22d@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.1) Gecko/20040707
Shahzad Chohan wrote:

Hi

I've got fedora core 4 running in a domain. I configured the IP, but
it didn't seem to work. Basically the fc4 is confiured to use dhcp,
but I wrote the ip in teh rawhide config file. Instead of using teh ip
from the config file it picked up a dhcp assigned ip. Am I missing
something fundamental? Can someone please advise me

My config file is like this: (/etc/xen/rawhide)

kernel ="/boot/vmlinuz-2.6.11-1.1226_FC4xenU"
memory = 100
name = "rhel-4-ws"
nics = 1
disk = ['phy:hda7,hda7,w']
root = "/dev/hda7 ro"
#dhcp = "dhcp"
vip = "10.222.4.231"

I wasn't aware vip was a valid parameter?

You do need to provide a MAC address that the virtual interface
on domU can use, and the associated bridge interface on dom0).
e.g.:

vif= [ 'mac=aa:00:00:00:00:11, bridge=xen-br0' ]

The easiest way to configure the IP address of the domU
interface is by editing the normal interface configuration file
(such as /etc/sysconfig/network-scripts/ifcfg-eth0, if the
device name you want to use is eth0).

Make sure you have mounted and are editing the domU
filesystem :).

You can, of course, always manually bring up the
interface once the domain is created.

thanks,
Nivedita


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

<Prev in Thread] Current Thread [Next in Thread>