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/
Home Products Support Community News


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 18:59:32 +0200
Delivery-date: Thu, 07 Sep 2006 09:58:37 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <45003716.3050008@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> <450028DB.3050406@xxxxxxx> <45003716.3050008@xxxxxxxxxx>
Reply-to: matze.wolf@xxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.7 (X11/20051014)
Hans de Hartog wrote:
> Matthias Wolf wrote:
>>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)
> Again, this is Gentoo specific. The network-bridge script tries to
> figure out what netdev is by "ip route list default scope global"
> and take the last word. On gentoo, the output of the command ends
> with "... eth0 metric 2000". Therefore I use explicitly
> (network-script 'network-bridge netdev=eth0').
> If I don't make the links to net.vifN.0, I see in /var/log/messages
> (on dom0) net.agent[pid]: add event not handled
> and the vifN.0 is not brought up (but IS added to the bridge) and
> it won't try dhcp.

I use Gentoo and don't have to 'ln -s' my vif's to net.lo, and on all my
machines i don't get something behind the device name.

What is your configuration for eth0?

>>What does your dhcpd.conf in the dom0 and thru /etc/conf.d/net in the domU
>>look like?
> On dom0, /etc/conf.d/dhcpd contains DHCPD_IFACE="eth0"
> and the relevant part in /etc/dhcp/dhcpd.conf:
> host CARDHU {
>       hardware ethernet 00:16:3e:00:00:03;
>       fixed-address;
> }
> There is no specific configuration for net.vifN.0 (not on dom0 and not
> on domU) and therefore it defaults to dhcp.
> It also makes no difference if I include dhcp="dhcp" in the domU
> configuration file om dom0, or not.

I haven't recognized that you use Kernel, which i also tried but with
no success.

Could you try Kernel ? This works for me.

I haven't figured out why i can't get run my xen config with but with Same kernel configs, same xen configs, only another kernel and
*bummm*, non working dom0 and non working domU's.


Xen-users mailing list