Hi Benoit, Please find the answers inline.
2012/3/28 Benoît Canet <[email protected]> > Hello, > > I am thinking on how to write the Open vSwitch PLVAN implementation and a > few questions arise. > > 1) Behavior of promiscuous ports. > > Given a primary vlan with vid 40, an isolated pvlan with vid 41 identified > by the pair <40, 41> > and two community pvlan <40, 42> and <40, 43>. > > Questions: > > On a Cisco switch is it possible to create a promiscuous port which will > receive > only a part of the secondary pvlans set associated with a primary vlan ? > > For example a promiscuous port receiving <40, 41> and <40, 43> while not > receiving <40, 42>. > > Does this feature exists ? > If so is it imperative to implement it Open vSwitch ? > > Or can the Open vSwitch pvlan implementation be like the following ? > A port associated with a primary vlan is promiscuous and receive all the > associated pvlans. > (<40,41>, <40,42>, <40,43>) > As far as I understand, the Cisco switches exhibit behavior 2. A primary VLAN will receive traffic from all associated secondary VLANs. > > 2) Behavior of 802.1Q pvlan trunking on Cisco hardware. > > My understanding is that a packet coming from a port belonging to the > pvlan <40, 41> > will be carried between Ciscos switches connected by a 802.1Q trunk as a > regular vlan packet > tagged with vid 41. > > Packets coming from a <40, 42> pvlan port would be tagged with vid 42 on a > 802.1Q trunk. > > Packets coming from a promiscuous port associated with primary vlan 40 > would be tagged > with vid 40 on a 802.1.Q trunk. > > Questions: > > Is this the behavior of the Cisco implementation ? > Yes. > > Naive question: > If a switch has multiple 801.1Q trunks does the mac learning and switching > behavior still work with trunk and pvlans ? > Or does it broadcast pvlan on trunks ? > > Yes it does. The mac learning will still work. I am not sure I completely understand what you meant by broadcast pvlan on trunks. If a packet comes in on an isolated port and needs to be sent to a promiscuous port, the packet will be sent out with the primary VLAN. On the other hand if the packet needs to be sent out a regular trunk port, it will be sent with the original incoming VLAN. > Best regards > > Benoît > > > _______________________________________________ > discuss mailing list > [email protected] > http://openvswitch.org/mailman/listinfo/discuss > > thanx! mehak
_______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
