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] Howto start domU's network (gentoo-specific)?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Howto start domU's network (gentoo-specific)?
From: Matthias Wolf <matze.wolf@xxxxxxx>
Date: Thu, 07 Sep 2006 16:12:43 +0200
Delivery-date: Thu, 07 Sep 2006 07:12:12 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4500220B.8050002@xxxxxxxxxx>
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: <4500220B.8050002@xxxxxxxxxx>
Reply-to: matze.wolf@xxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.7 (X11/20051014)
Hans de Hartog wrote:
> Dom0 comes up fine (Linux 2.6.16.26 + Xen 3.02).
> xenbr0 is ok (peth0 and vif0.0 attached).
> On dom0 I made links net.vif1.0 thru net.vif7.0
> to /etc/init.d/net.l0 (otherwise the hotplug stuff
> does not start the vif-interface).

You don't have to do this!
The vif interfaces will be automatically started and added
to the xenbr0 if you start a domU if you have configured xend-config.sxp
with (standard) bridging:

(network-script network-bridge)

> On dom0 I run dhcpd on eth0 (can not make him
> listen on peth0, vif0.0 or xenbr0 because no
> ip-address).

That is ok, peth0 is a fork of eth0.

> DomU-config contains vif = [ 'mac=00:16:3e:00:00:03' ]
> and dhcpd is prepared to give a fixed ip-address to
> that mac-address.
> When I start domU, xend is sending dhcp-requests
> on behalf of vif1.0 (or vif2.0, etc.) but does
> not get an offer from dhcpd. So the domU network
> does not come up (the vifn.0 IS attached to xenbr0).

What does your dhcpd.conf in the dom0 and thru /etc/conf.d/net in the domU
look like?

MfG
Matthias


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