MERAprojects / ops-build

Other
0 stars 0 forks source link

Tagged packets are not dropped between ports in different VLANs. #17

Open alrukav opened 7 years ago

alrukav commented 7 years ago

Problem Description:

Tagged packets don`t drop between ports in different VLANs.

OpenSwitch version:

OpenSwitch 0.4.0 (Build: appliance-ops-0.4.0-meraswitch/devel/master-20170112131723-dev)

Test Topology:

screenshot from 2017-01-16 05 34 51

Steps to reproduce the problem:

  1. Configure DUT and hosts as in attached file.
  2. Check VLAN config via show vlan on DUT:
switch# show vlan
--------------------------------------------------------------------------------------
VLAN    Name                 Status   Reason         Reserved       Interfaces
--------------------------------------------------------------------------------------
1       DEFAULT_VLAN_1  up       no_member_port                
2       VLAN2                    up       ok                                        eth1
3       VLAN3                    up       ok                                        eth2
  1. Send ping from PC1 to PC2 - NOK. - ping is ok

vlans.txt

lyubov-popova commented 7 years ago

Issue appeared after following commit in ops-switchd-container-plugin:

    STP plugin code for docker environment
    Change-Id: I799dd4f0f16583761d27299fd3de57037951a23c
    Signed-off-by: Mahadhevan <mahadevan.mani@hpe.com>

In this plugin, STP is implemented using Linux bridge. With this configuration STP is not working properly (storm is observed in https://github.com/MERAprojects/ops-build/issues/29). VLANs are not working also.

If we delete bridge-sim, VLANs are working ok (ping is failed between different VLANs).