<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Vlan, bridge and rules]]></title><description><![CDATA[<p dir="auto">Добрый день!<br />
pfsense 2.2</p>
<p dir="auto">Настраиваю super-VLAN.<br />
Пример конфигурации:<br />
Создаю два влана, vlan110, vlan111. Создаю интерфейсы для этих ВЛАНов без IP-адресов. Создаю bridge0, в который добавляю интерфейсы c именами vlan110, vlan111. Присваиваю IP-адрес интерфейсу bridge0 10.0.110.1/24.</p>
<p dir="auto">Тестирую клиента на 110 ВЛАНе с адресом 10.0.110.3/24. Для интерфейса VLAN110 правила следующие:  Allow all from  10.0.110.0/24  to any.</p>
<p dir="auto">Нат включен.</p>
<p dir="auto">Интернет не работает, пока не пропишешь правила для интерфейса моста Allow all from any to any. Хотя net.link.bridge.pfil_bridge=0</p>
<p dir="auto">Почему так происходит?<br />
<img src="/public/_imported_attachments_/1/network.png" alt="network.png" class=" img-fluid img-markdown" /><br />
<img src="/public/_imported_attachments_/1/network.png_thumb" alt="network.png_thumb" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.netgate.com/topic/80582/vlan-bridge-and-rules</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Jul 2026 07:38:08 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/80582.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 02 Mar 2015 13:50:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Vlan, bridge and rules on Mon, 02 Mar 2015 23:10:05 GMT]]></title><description><![CDATA[<p dir="auto">В конфигурации bridge + proxy arp логика net.link.bridge.pfil_bridge и net.link.bridge.pfil_member не работает, т. к.:</p>
<blockquote>
<p dir="auto">The packets destined to the bridging host will be seen by the filter on<br />
    the interface with the MAC address equal to the packet's destination MAC.</p>
</blockquote>
<p dir="auto">http://www.freebsd.org/cgi/man.cgi?query=if_bridge&amp;apropos=0&amp;sektion=0&amp;manpath=FreeBSD+8.1-RELEASE&amp;format=html</p>
<p dir="auto">Т. е. трафик в вашем случае <em>всегда</em> фильтруется на интерфейсе моста, а чтобы дополнительно фильтровать его на интерфейсах-членах нужно установить net.link.bridge.pfil_local_phys=1</p>
<p dir="auto">https://redmine.pfsense.org/issues/729</p>
]]></description><link>https://forum.netgate.com/post/524438</link><guid isPermaLink="true">https://forum.netgate.com/post/524438</guid><dc:creator><![CDATA[rubic]]></dc:creator><pubDate>Mon, 02 Mar 2015 23:10:05 GMT</pubDate></item></channel></rss>