RE: [Xen-devel] new /etc/xen/network script

Ian Pratt
2005-08-11T22:17:37Z

> Ok, I modifed the script. Here is the new result:
>
> After I started xend, the network connection of dom0 lost.

OK, this is interesting. It''s the same symptoms as the old script.

It looks like peth0 is receiving packets. Please confirm this with:
 tcpdump -i peth0

What''s odd is that there''s no xen-br0 showing up in ifconfig.
I''d expect
to see something like:

xen-br0   Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:949 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:54097 (52.8 Kb)  TX bytes:0 (0.0 b)

Can you post the output of ''brctl show''. You should see:

[root@commando-0 root]# brctl show
bridge name     bridge id               STP enabled     interfaces
xen-br0         8000.feffffffffff       no              vif0.0
                                                        peth0

Also, please can you try replacing the following lines:

-        add_to_bridge ${bridge} vif0.0
-        add_to_bridge ${bridge} p${netdev}
+        brctl addif ${bridge} vif0.0
+        brctl addif ${bridge} p${netdev}

and earlier:

+ create_bridge ${bridge}
- brctl addbr ${bridge}