<html><head></head><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:13px"><div id="yui_3_16_0_ym19_1_1504095553222_2878"><span id="yui_3_16_0_ym19_1_1504095553222_2933">Thank you Joo, this is a really good starting point to try out.</span></div><div id="yui_3_16_0_ym19_1_1504095553222_2878"><span><br></span></div><div id="yui_3_16_0_ym19_1_1504095553222_2878">Let's me pose a more challenging scenario since you solved this one quick :)</div><div id="yui_3_16_0_ym19_1_1504095553222_2878"><br></div><div id="yui_3_16_0_ym19_1_1504095553222_2878" dir="ltr">Assuming I have two bridges, br-in, and br-ex, and the VM guest supports only VLAN tagging, is it somehow possible&nbsp;on KVM to steer traffic to br-in&nbsp;or br-ex depending on the VLAN tag? &nbsp;I realize this is more of KVM question, but I am hoping you or someone on the list knows something about it.</div><div id="yui_3_16_0_ym19_1_1504095553222_2878" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1504095553222_2878" dir="ltr">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;VM Guest</div><div id="yui_3_16_0_ym19_1_1504095553222_2878" dir="ltr">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; ||</div><div id="yui_3_16_0_ym19_1_1504095553222_2878" dir="ltr">&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/ &nbsp;\</div><div id="yui_3_16_0_ym19_1_1504095553222_2878" dir="ltr">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/ &nbsp; &nbsp; \</div><div id="yui_3_16_0_ym19_1_1504095553222_2878" dir="ltr">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;V10 &nbsp; &nbsp; &nbsp;V20</div><div id="yui_3_16_0_ym19_1_1504095553222_2878" dir="ltr">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; / &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\</div><div id="yui_3_16_0_ym19_1_1504095553222_2878" dir="ltr">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;br-ex &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;br-in</div><div id="yui_3_16_0_ym19_1_1504095553222_2878" dir="ltr">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; / &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \</div><div id="yui_3_16_0_ym19_1_1504095553222_2878" dir="ltr">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; eth0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;eth1</div><div id="yui_3_16_0_ym19_1_1504095553222_2878" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1504095553222_2878" dir="ltr">Thank you,</div><div id="yui_3_16_0_ym19_1_1504095553222_2878" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1504095553222_2878" dir="ltr">Gibran&nbsp;</div><div id="yui_3_16_0_ym19_1_1504095553222_2878" dir="ltr">&nbsp; &nbsp; &nbsp;</div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1504095553222_2879"><br><br></div><div class="yahoo_quoted" id="yui_3_16_0_ym19_1_1504095553222_2938" style="display: block;">  <div style="font-family: verdana, helvetica, sans-serif; font-size: 13px;" id="yui_3_16_0_ym19_1_1504095553222_2937"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_ym19_1_1504095553222_2936"> <div dir="ltr" id="yui_3_16_0_ym19_1_1504095553222_2935"> <font size="2" face="Arial" id="yui_3_16_0_ym19_1_1504095553222_2934"> <hr size="1" id="yui_3_16_0_ym19_1_1504095553222_2939"> <b><span style="font-weight:bold;">From:</span></b> Joo Yong-Seok &lt;joo.yongseok@gmail.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b> N F &lt;knight_leb@yahoo.com&gt; <br><b><span style="font-weight: bold;">Cc:</span></b> "ovs-discuss@openvswitch.org" &lt;ovs-discuss@openvswitch.org&gt;<br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, August 29, 2017 7:55 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [ovs-discuss] Traffic Isolation with OVS<br> </font> </div> <div class="y_msg_container" id="yui_3_16_0_ym19_1_1504095553222_3302"><br><div id="yiv0377946376"><div id="yui_3_16_0_ym19_1_1504095553222_3301"><div dir="ltr" id="yui_3_16_0_ym19_1_1504095553222_3300"><div id="yui_3_16_0_ym19_1_1504095553222_3299"><span style="font-family:Calibri, sans-serif;font-size:14.6667px;">How about this?</span></div><div><span style="font-family:Calibri, sans-serif;font-size:14.6667px;"><br clear="none"></span></div><span style="font-family:Calibri, sans-serif;font-size:14.6667px;">ovs-vsctl set port eth0 tag=100 vlan_mode=native-untagged</span><br clear="none"><div><span style="font-family:Calibri, sans-serif;font-size:14.6667px;">ovs-vsctl set port eth1 tag=200 vlan_mode=native-untagged</span><span style="font-family:Calibri, sans-serif;font-size:14.6667px;"><br clear="none"></span></div><div><span style="font-family:Calibri, sans-serif;font-size:14.6667px;"><br clear="none"></span></div><div><span style="font-family:Calibri, sans-serif;font-size:14.6667px;">eth0 and eth1 is on br0.</span></div><div><span style="font-family:Calibri, sans-serif;font-size:14.6667px;"><br clear="none"></span></div><div id="yui_3_16_0_ym19_1_1504095553222_3304"><span style="font-family:Calibri, sans-serif;font-size:14.6667px;">Best regards,</span></div></div><div class="yiv0377946376gmail_extra" id="yui_3_16_0_ym19_1_1504095553222_3306"><br clear="none"><div class="yiv0377946376gmail_quote" id="yui_3_16_0_ym19_1_1504095553222_3305">On Tue, Aug 29, 2017 at 4:27 PM, N F via discuss <span dir="ltr">&lt;<a rel="nofollow" shape="rect" ymailto="mailto:ovs-discuss@openvswitch.org" target="_blank" href="mailto:ovs-discuss@openvswitch.org">ovs-discuss@openvswitch.org</a>&gt;</span> wrote:<br clear="none"><blockquote class="yiv0377946376gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;" id="yui_3_16_0_ym19_1_1504095553222_3309"><div class="yiv0377946376yqt2030190705" id="yiv0377946376yqt14881"><div id="yui_3_16_0_ym19_1_1504095553222_3308"><div style="color:#000;background-color:#fff;font-family:verdana, helvetica, sans-serif;font-size:13px;" id="yui_3_16_0_ym19_1_1504095553222_3307"><div id="yiv0377946376m_-6660865726187883576yui_3_16_0_ym19_1_1504048786354_3424">Greetings all,&nbsp;</div><div id="yiv0377946376m_-6660865726187883576yui_3_16_0_ym19_1_1504048786354_3424"><br clear="none"></div><div dir="ltr" id="yiv0377946376m_-6660865726187883576yui_3_16_0_ym19_1_1504048786354_3424">I have a little challenge&nbsp;and I can't seem to work around it, &nbsp;I am certain it's my limited OVS skills.</div><div dir="ltr" id="yiv0377946376m_-6660865726187883576yui_3_16_0_ym19_1_1504048786354_3424"><br clear="none"></div><div dir="ltr" id="yiv0377946376m_-6660865726187883576yui_3_16_0_ym19_1_1504048786354_3424">Assuming I have a single bridge with two interfaces, eth0 and eth1, and assuming I have a VM guest with two VLANs 100 and 200.&nbsp; Is it possible to pin VLAN100 to eth0 and VLAN200 to eth1? &nbsp;</div><div dir="ltr" id="yiv0377946376m_-6660865726187883576yui_3_16_0_ym19_1_1504048786354_3424"><br clear="none"></div><div dir="ltr" id="yiv0377946376m_-6660865726187883576yui_3_16_0_ym19_1_1504048786354_3424">My challenge is I can't have more than one OVS bridge, the bridge must steer the traffic based on the VM's interface or VLAN. &nbsp;</div><div dir="ltr" id="yiv0377946376m_-6660865726187883576yui_3_16_0_ym19_1_1504048786354_3424"><br clear="none"></div><div dir="ltr" id="yiv0377946376m_-6660865726187883576yui_3_16_0_ym19_1_1504048786354_3424">Ideally, I would love to have separate broadcast domains for a set of VLANs, or a concept like VRF.</div><div dir="ltr" id="yiv0377946376m_-6660865726187883576yui_3_16_0_ym19_1_1504048786354_3424"><br clear="none"></div><div dir="ltr" id="yiv0377946376m_-6660865726187883576yui_3_16_0_ym19_1_1504048786354_3424">Any suggestions?</div><div dir="ltr" id="yiv0377946376m_-6660865726187883576yui_3_16_0_ym19_1_1504048786354_3424"><br clear="none"></div><div dir="ltr" id="yiv0377946376m_-6660865726187883576yui_3_16_0_ym19_1_1504048786354_3424">Thank you,</div><div dir="ltr" id="yiv0377946376m_-6660865726187883576yui_3_16_0_ym19_1_1504048786354_3424"><br clear="none"></div><div dir="ltr" id="yiv0377946376m_-6660865726187883576yui_3_16_0_ym19_1_1504048786354_3424">Gibran</div></div></div></div><br clear="none">______________________________ _________________<br clear="none">
discuss mailing list<br clear="none">
<a rel="nofollow" shape="rect" ymailto="mailto:discuss@openvswitch.org" target="_blank" href="mailto:discuss@openvswitch.org">discuss@openvswitch.org</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="https://mail.openvswitch.org/mailman/listinfo/ovs-discuss">https://mail.openvswitch.org/ mailman/listinfo/ovs-discuss</a><br clear="none">
<br clear="none"></blockquote></div><br clear="none"></div></div></div><br><br></div> </div> </div>  </div></div></body></html>