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] Need help setting up guest's networking

To: Yevgeniy Goldberg <thegoldberg@xxxxxxx>
Subject: Re: [Xen-users] Need help setting up guest's networking
From: Nico Kadel-Garcia <nkadel@xxxxxxxxx>
Date: Sun, 29 Apr 2007 14:34:35 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 29 Apr 2007 06:31:16 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=HrdDSx4JmNyGcstnvDVp7SKxzgjzCjvWwm5DB6FoIU8aqv1kWMI8dt3FcmpvRBewqWb9xAtSJWQqPvChjL/HngKtxqpzeXvEZIbIIkSDc2Zubo/MNSA8iOgRTDwg/PCXCMZLyTXe/vC6FDicFfcch/RvjaxV9osYfeqYgpoctW4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=fXZrPNFprYNxjxYs2zh6Fw/+J6v2JQVsIf5/ApxeHocMfA26sAbxT2DR3/UNoMtHJ9AlmlWcfEfLkAo0ERjogC21TXEmes1Oh5gSSm6gwRcDHZpMwLpgzWVJt0N4I0OEJZozSq0zozSg+cYJ+JaxSMZhM7F+cXNNMvhxYYqRCvg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <FD27E0B6-7B49-4B87-90EE-59E4F26F9E1B@xxxxxxx>
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: <1471A02D-0112-1000-B1B2-E7FA10FB211D-Webmail-10019@xxxxxxx> <463448CF.3030408@xxxxxxxxx> <FD27E0B6-7B49-4B87-90EE-59E4F26F9E1B@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.10 (Windows/20070221)
Yevgeniy Goldberg wrote:
Nico,
I did have my firewall turned off.
What would be an example of hard-coding a vif name?
Also, I've discovered that I could manually assign an IP address to a vif interface in Dom0. This way I could network between the Dom0 and DomU, but could not establish an Internet connection from the DomU. My attempt to set the network interface of DomU to dhcp did not work either.
The vifnames are set in the "vif=" configuration statement. So

   vif = [ 'mac=MACADDRESS, bridge=xenbr0' ]

would become

   vif = [ 'vifname=xen0.01,mac=MACADDRESS, bridge=xenbr0' ]

Setting the IP address of a network port is not the right job for Xen itself: it's the right job for the guest domain, which has all the network configuration tools built in normally, and itself needs to know the netmask and gateway address.

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