<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.openvz.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Strites</id>
	<title>OpenVZ Virtuozzo Containers Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.openvz.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Strites"/>
	<link rel="alternate" type="text/html" href="https://wiki.openvz.org/Special:Contributions/Strites"/>
	<updated>2026-06-10T04:39:43Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Bridge_doesn%27t_forward_packets&amp;diff=6729</id>
		<title>Bridge doesn't forward packets</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Bridge_doesn%27t_forward_packets&amp;diff=6729"/>
		<updated>2008-11-25T07:51:02Z</updated>

		<summary type="html">&lt;p&gt;Strites: /* Resolution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Sometimes a bridge can mysteriously drop packets and not forward them.&lt;br /&gt;
e.g. eyck user experienced a problem when some of the broadcasts were not&lt;br /&gt;
delivered to container via the bridge.&lt;br /&gt;
&lt;br /&gt;
Original report and the thread: [http://forum.openvz.org/index.php?t=tree&amp;amp;th=4052&amp;amp; forum thread]&lt;br /&gt;
&lt;br /&gt;
== Simplest configuration ==&lt;br /&gt;
&lt;br /&gt;
Container #101 with veth interface (veth101.0) connected to eth0 physical interface via bridge.&lt;br /&gt;
&lt;br /&gt;
== Problem statement ==&lt;br /&gt;
&lt;br /&gt;
We faced a situation when some of the broadcast packets were not delivered to&lt;br /&gt;
the container. Actually it could happen with any packets, not with the&lt;br /&gt;
broadcasts only. But broadcasts are simpler and obviously should have been&lt;br /&gt;
delivered to all the networking interfaces with no doubt.&lt;br /&gt;
&lt;br /&gt;
Using tcpdump we see that BOOTP/DHCP request is visible on br0 interface in&lt;br /&gt;
the host system ([[CT0]]):&lt;br /&gt;
  15:21:52.258220 00:1b:d5:2c:bf:38 &amp;gt; ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 350: 0.0.0.0.68 &amp;gt; 255.255.255.255.67:&lt;br /&gt;
    BOOTP/DHCP, Request from 00:1b:d5:2c:bf:38, length 308&lt;br /&gt;
  15:21:52.287269 00:08:02:ac:36:20 &amp;gt; ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 342: 172.17.8.254.67 &amp;gt; 255.255.255.255.68:&lt;br /&gt;
    BOOTP/DHCP, Reply, length 300&lt;br /&gt;
&lt;br /&gt;
However, eth0 inside the container received only 2nd packet with a BOOTP/DHCP reply and doesn't see the 1st one with the request itself:&lt;br /&gt;
  15:21:52.291145 00:08:02:ac:36:20 &amp;gt; ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 342: 172.17.8.254.67 &amp;gt; 255.255.255.255.68:&lt;br /&gt;
    BOOTP/DHCP, Reply, length 300&lt;br /&gt;
&lt;br /&gt;
== Resolution ==&lt;br /&gt;
&lt;br /&gt;
It is not obvious at all, but bridges (though they have their own ebtables filters) do also call iptables FORWARD chain when forwarding packets between interfaces.&lt;br /&gt;
Thus your FORWARD iptables rules should allow all the packets which are supposed to go through.&lt;br /&gt;
&lt;br /&gt;
in our case eyck had a default DROP policy on FORWARD and had to add:&lt;br /&gt;
  iptables -A FORWARD -d 255.255.255.255 -j ACCEPT&lt;br /&gt;
to fix the issue.&lt;br /&gt;
&lt;br /&gt;
== Another Problem Case ==&lt;br /&gt;
I had setup a bridge andgot the same problem, but iptables was setup well. In my case the problem was lying in /proc/sys/net/bridge/&lt;br /&gt;
&lt;br /&gt;
everything inside had value &amp;quot;1&amp;quot;, changed them to &amp;quot;0&amp;quot; and problem was solved.&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
Many credits to Dariush Pietrzak, who patiently helped to debug this.&lt;br /&gt;
&lt;br /&gt;
[[Category:Troubleshooting]]&lt;br /&gt;
[[Category:Networking]]&lt;/div&gt;</summary>
		<author><name>Strites</name></author>
		
	</entry>
</feed>