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] 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
> dev eth0  proto kernel  scope link  src  metric 1
> default via dev eth0  proto static
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
>   U     1      0        0 eth0
>         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
- 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)


Xen-users mailing list