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] xenbr0 disappeared

To: deshantm@xxxxxxxxx
Subject: Re: [Xen-users] xenbr0 disappeared
From: Asim <linkasim@xxxxxxxxx>
Date: Thu, 26 Jun 2008 10:12:12 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 26 Jun 2008 08:12:48 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=v+gD3L06KipAZangIp2cyjMA3kybID0icf3FcBEF6ms=; b=B+l/HLkuD3oZQ1Em8IFdkwiBf5RLFzpcHQTQQncFcYtX1ex0rkGasZDjsrUMtLaGNj 7SQjj/2Cxgrnu8bUmigpgTUe2oBuE6imdvOEbltMA9D4blp0u8UoKMx5FB20CPcTkVsn A93y8NJpqJXhaksQNmMjJDTTuFAVxYLVz9Xp0=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=dMPwQyMG1TMtXJS1fDEybpx0Bok72GInQ+AB5TB2lmkYkNaVHGkG2TYrO59vXgtUhu Bi7Sao/ANzULF7CwssYcko4Q5cuMtAeKUYoZmi5fwkeaLuhxHkfBOZWZvFbcBKNCNJbS QsC1ovnxhMYFnWHHPtkAWrbXidA4eHFqYMxRE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1e16a9ed0806260740qe0e209dv3408fcf69905b561@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <7ef321c10806260642o6bbd6a3g5512fe7d71ed41d@xxxxxxxxxxxxxx> <1e16a9ed0806260740qe0e209dv3408fcf69905b561@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thanks Todd - These seem to be a wonderful set of debugging steps that I did not know - but unfortunately I could not catch the error.  My eth0 is working, eth1 is not enabled yet. Is it due to the way my kernel IP routing table is set? Kindly help.



[root@adsl-01 ~]# brctl show
bridge name     bridge id               STP enabled     interfaces
eth0            8000.00e0815caafe       no              peth0
eth1            8000.0007e93904bd       no              peth1


[root@adsl-01 ~]# /etc/xen/scripts/network-bridge status
============================================================
5: eth0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc noqueue 
    link/ether 00:e0:81:5c:aa:fe brd ff:ff:ff:ff:ff:ff
    inet 128.105.104.101/24 brd 128.105.104.255 scope global eth0
    inet6 fe80::2e0:81ff:fe5c:aafe/64 scope link 
       valid_lft forever preferred_lft forever
5: eth0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc noqueue 
    link/ether 00:e0:81:5c:aa:fe brd ff:ff:ff:ff:ff:ff
    inet 128.105.104.101/24 brd 128.105.104.255 scope global eth0
    inet6 fe80::2e0:81ff:fe5c:aafe/64 scope link 
       valid_lft forever preferred_lft forever
 
bridge name     bridge id               STP enabled     interfaces
eth0            8000.00e0815caafe       no              peth0
eth1            8000.0007e93904bd       no              peth1
 
128.105.104.0/24 dev eth0  proto kernel  scope link  src 128.105.104.101 
128.105.104.0/24 dev eth1  proto kernel  scope link  src 128.105.104.126 
169.254.0.0/16 dev eth1  scope link 
default via 128.105.104.248 dev eth0 
 
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
128.105.104.0   0.0.0.0         255.255.255.0   U     0      0        0 eth0
128.105.104.0   0.0.0.0         255.255.255.0   U     0      0        0 eth1
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth1
0.0.0.0         128.105.104.248 0.0.0.0         UG    0      0        0 eth0
============================================================
[root@adsl-01 ~]# /etc/xen/scripts/network-bridge start

There are no errors but there is no xenbr0!



The sxp file:

(network-script 'network-bridge netdev=eth0')
(network-script network-bridge)
#(network-script network-route)
#(network-script network-nat)
(vif-script vif-bridge)
#(vif-script     vif-route)
#(vif-script     vif-nat)


Since these are static IPs, I'm confident that the working interface is eth0.

-Asim

On Thu, Jun 26, 2008 at 9:40 AM, Todd Deshane <deshantm@xxxxxxxxx> wrote:
Hi Asim,


On Thu, Jun 26, 2008 at 9:42 AM, Asim <linkasim@xxxxxxxxx> wrote:
Hi,

I was running Xen fine but installed an additional PCI network card and subsequently an additional network interface eth1
for it. This has caused xenbr0 to disappear and I cannot create/start any guest domains. I restarted xend but it has no
effect. Is there any way to re-create xenbr0. Kindly help.


It sounds like you are running into a problem with one of the bridge scripts.

Trying running /etc/xen/scripts/network-bridge manually to see any errors.

Please post the relevant lines of /etc/xen/xend-config.sxp

Also, do a brctl show and post that output as well.

Are you sure that the eth1 is the new card or the old card? It could be that you
just need to change the netdev in /etc/xen/xend-config.sxp.

Cheers,
Todd


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>