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] trouble installing

On Wed, Feb 23, 2011 at 6:57 PM, Ted Brenner <griztown@xxxxxxxxx> wrote:
> Thanks Pasi,
>
> I did that but now the internet doesn't work on either domU or dom0.  Here's
> my bridge status.
>
> # /etc/xen/scripts/network-bridge status

Why would you run that command? You commented-out the script from
xend.sxp earlier, right?

> bridge name    bridge id        STP enabled    interfaces
> br0        8000.0025228d84b2    no                 eth0
>                                                                   vif1.0
>
> 10.0.0.0/24 dev eth0  proto kernel  scope link  src 10.0.0.3  metric 1
> default via 10.0.0.1 dev eth0  proto static
>
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> 10.0.0.0        0.0.0.0         255.255.255.0   U     1      0        0 eth0
> 0.0.0.0         10.0.0.1        0.0.0.0         UG    0      0        0 eth0

That's wrong. Let's start with some simple things:
- if you use OS network script do NOT touch
/etc/xen/scripts/network-bridge again. Ever.
- The sample http://wiki.debian.org/BridgeNetworkConnections is good,
although it uses both eth0 and eth1. You most likely only need one
(eth0).
- Put your dom0 IPs on the bridge (in your case, br0), and NOT the
interface member (eth0).

The wiki provides good example for both dhcp and static ip address on
br0. Why aren't you following that? From the output you sent it looks
like you're still putting IP addresses on eth0, not br0.

Go back and create a correct config for dom0 bridge using
/etc/network/interfaces. Don't start any domU yet. Verify network
connection is running fine on dom0. THEN create a domU.

If you're still having problems, paste:
- your /etc/network/interfaces
- output of "brctl show", "ip ad sh br0", "ip ad sh eth0" (to make
sure interfaces are up and properly configured)
- netstat -nr (to make sure routing is properly configured)

-- 
Fajar

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