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] Domain0 cannot connect to the net while domainU can.How

To: SamuelCheng <chenghui2050@xxxxxxxxx>
Subject: Re: [Xen-users] Domain0 cannot connect to the net while domainU can.How to make the domain0 go to the internet.
From: Pasi Kärkkäinen <pasik@xxxxxx>
Date: Mon, 27 Jul 2009 15:40:05 +0300
Cc: Xen-Users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 27 Jul 2009 05:40:51 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <c609aacd0907230234k7e306394yd771a80b4b06355f@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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <c609aacd0907230234k7e306394yd771a80b4b06355f@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
On Thu, Jul 23, 2009 at 05:34:36PM +0800, SamuelCheng wrote:
> I attach the error I got in the attachment.
> The return of the following command:
> ifconfig -a
> route -n
> brctl show
> Here is the content,also you can see the attachment, a little long,so be
> patient, some information may be not of any use,but I don't know so I copied
> all here,Thank you in advance very one,Good day.
> :
> [root@localhost ~]# ifconfig -a
> eth0      Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
>           inet addr:  Bcast:  Mask:

Your problem is the MAC address of eth0: it shouldn't be FE:FF:FF:FF:FF:FF.

eth0 is the virtual interface used for dom0 management, and it's bridged to
xenbr0, which is bridged to peth0 (physical eth0 interface).

eth0 should have the original/real MAC address of the peth0.

-- Pasi

> [root@localhost ~]# route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
>   U     0      0        0 eth0
>   U     0      0        0
> virbr0
>     U     0      0        0 eth0
>         UG    0      0        0 eth0
> [root@localhost ~]# brctl show
> bridge name     bridge id               STP enabled     interfaces
> virbr0          8000.000000000000       yes
> xenbr0          8000.feffffffffff       no              peth0
>                                                         vif0.0

Xen-users mailing list