[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Domain0 cannot connect to the net while domainU can.How to make the domain0 go to the internet.



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:192.168.0.104  Bcast:192.168.0.255  Mask:255.255.255.0
>

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
> 192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
> 192.168.122.0   0.0.0.0         255.255.255.0   U     0      0        0
> virbr0
> 169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth0
> 0.0.0.0         192.168.0.1     0.0.0.0         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
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.