<p dir="ltr">А ещё можно использовать openvswitch. И уже в нем разруливать vlan&#39;ы.</p>
<div class="gmail_quote">30 июля 2015 г. 10:50 AM пользователь &quot;Anton Gorlov&quot; &lt;<a href="mailto:stalker@altlinux.ru">stalker@altlinux.ru</a>&gt; написал:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>У меня наоборот -  для гостей созданы
      бриджи из кучки вланов,а на хосте используется  ethN под
      управление хостом (внутренняя серая подсетка)<br>
      <br>
      <br>
      30.07.2015 10:07, Вадим Илларионов пишет:<br>
    </div>
    <blockquote type="cite">
      
      
      <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">30 июля 2015 14:32:20 от <a href="mailto:alexei@taf.ru" target="_blank">alexei@taf.ru</a> поступило следующее:</p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; Глянул как у меня сделано. Влан интерфейсы так и прописаны:</p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; /etc/net/ifaces/breth0/options:</p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; TYPE=bri</p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; HOST=&#39;enp5s0f0&#39;</p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; </p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; и</p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; </p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; /etc/net/ifaces/vlan83/options:</p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; TYPE=vlan</p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; HOST=enp5s0f0</p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; VID=83</p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">А если прикрутить влан к мосту, разве не будет выхватываться именно с того интерфейса, на котором присутствует? У меня, правда, не мост, а бонд, но работает:</p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">cat /etc/net/ifaces/abon/options                                                                                                                                                                                                                          </p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">BOOTPROTO=dhcp</p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">HOST=bond</p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">TYPE=vlan</p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">VID=51</p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">_______________________________</p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Мимо крокодил.</p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">WBR, rednex CIO.</p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Cell: <a href="tel:%2B7%28964%29103-65-67" value="+79641036567" target="_blank">+7(964)103-65-67</a></p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Viber = Cell</p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">JID = &lt;mailto:&gt;</p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Skype = $local_part@&lt;mailto:&gt;</p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
Sysadmins mailing list
<a href="mailto:Sysadmins@lists.altlinux.org" target="_blank">Sysadmins@lists.altlinux.org</a>
<a href="https://lists.altlinux.org/mailman/listinfo/sysadmins" target="_blank">https://lists.altlinux.org/mailman/listinfo/sysadmins</a>
</pre>
    </blockquote>
    <br>
  </div>

<br>_______________________________________________<br>
Sysadmins mailing list<br>
<a href="mailto:Sysadmins@lists.altlinux.org">Sysadmins@lists.altlinux.org</a><br>
<a href="https://lists.altlinux.org/mailman/listinfo/sysadmins" rel="noreferrer" target="_blank">https://lists.altlinux.org/mailman/listinfo/sysadmins</a><br>
<br></blockquote></div>