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] XCP: brctl showmacs failed on xcp 1.0

To: Tom Lobato <tomlobato@xxxxxxxxx>, "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] XCP: brctl showmacs failed on xcp 1.0
From: George Shuklin <george.shuklin@xxxxxxxxx>
Date: Sun, 16 Oct 2011 20:53:52 +0400
Cc:
Delivery-date: Sun, 16 Oct 2011 09:53:46 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=XO2NQzQV0axnFpynZgssaRNhXKn7tir3t6nx9a/5PC4=; b=Iod1bA0dqHftDRrrJC3JLNB+2KxbkN96fsQitCG/pYKkyFNbpTFzjuXw3aSJpYDpB+ JUfBS2Y08N+X1BQhURuG3dX9kp/G/0NdkZmSfMKV+ybBZlkNsH6rJlPl5KDQh0HXujM1 2HiN92GLWoqYVGwsJ4KkPogkmFTNiPVDd/iDA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4E9AF599.50609@xxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4E9A34E6.6070803@xxxxxxxxx> <4E9A6DD5.4020800@xxxxxxxxx> <4E9AF599.50609@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.21) Gecko/20110831 Icedove/3.1.13
I was funny task but I was able to solve it:

# ovs-appctl fdb/show xenbr1

 port  VLAN  MAC                Age
    1     0  5e:9a:95:15:0b:6e   57
    1     0  d6:d6:01:c1:be:49   57
    1     0  42:df:01:45:bc:84   55
    1     0  12:a8:b7:c3:8e:39   54
    1   401  00:30:48:f0:cc:22   50
    1     0  0e:f6:cd:f4:c0:74   48
    1     0  00:30:48:f2:0a:20   45
....

the single thing I don't see here is 'local' flag, which can be extracted from ovs database (ovs-vsctrl list Port; list Interface; list Bridge and so on).

On 16.10.2011 19:17, Tom Lobato wrote:
I was wrong. It uses openvswitch by default:

# cat /etc/xensource/network.conf
openvswitch

Then I tried to find equivalent ovs for 'brctl showmacs' on google and
ovs manpages, with no success. Any hint?



Em 16-10-2011 03:38, George Shuklin escreveu:
Check /etc/xensource/network.conf

bridge - use brutils
openvswitch - use openvswitch

After changes you'll need to reboot host (not sure, but seems so).

On 16.10.2011 05:35, Tom Lobato wrote:
Hi all,
I`m debugging a network issue on my environment and it is very important
to have brctl showmacs working, but...

# brctl showmacs xenbr0
read of forward table failed: Operation not supported

'strace brctl showmacs xenbr0' told me that
/sys/class/net/xenbr0/brforward does not exist. Sysfs is mounted
normally. Kernel version is 2.6.32.12-0.7.1.xs1.0.0.311.170586xen.
Does XCP 1.0/centos5.6 really has no /sys/class/net/xenbr0/brforward or
maybe it is lacking to install some module on kernel?


Thank you,
Tom

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


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

<Prev in Thread] Current Thread [Next in Thread>