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-devel

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

To: "Li Ge" <lge@xxxxxxxxxx>
Subject: RE: [Xen-devel] new /etc/xen/network script
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Thu, 11 Aug 2005 23:17:37 +0100
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 11 Aug 2005 22:15:51 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcWevXiqqOMjLDFxQuCu++IQoK5ztwAAvOsw
Thread-topic: [Xen-devel] new /etc/xen/network script
> 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}



Ian

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