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@lists.xensource.com http://lists.xensource.com/xen-users
> Hi all, > I`m debugging a network issue on my environment and it is veryimportant 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 is2.6.32.12-> 0.7.1.xs1.0.0.311.170586xen. > Does XCP 1.0/centos5.6 really has no /sys/class/net/xenbr0/brforwardor> maybe it is lacking to install some module on kernel? >Does XCP use bridge or openvswitch? The latter contains a compatibility layer so brctl is supposed to still work but I don''t know if the compatibility is complete. James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
By default it uses bridge, by also supports ovs. Em 15-10-2011 22:42, James Harper escreveu:>> 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? >> > Does XCP use bridge or openvswitch? The latter contains a compatibility > layer so brctl is supposed to still work but I don''t know if the > compatibility is complete. > > James >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
George Shuklin
2011-Oct-16 05:38 UTC
Re: [Xen-users] XCP: brctl showmacs failed on xcp 1.0
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@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
George Shuklin
2011-Oct-16 16:53 UTC
Re: [Xen-users] XCP: brctl showmacs failed on xcp 1.0
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@lists.xensource.com
>>> http://lists.xensource.com/xen-users
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@lists.xensource.com
>> http://lists.xensource.com/xen-users
>>
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users