Paul de Weerd wrote:
On Thu, Mar 13, 2008 at 11:55:53PM +1030, Damon McMahon wrote:
On 13/03/2008, at 7:32 PM, Heinrich Rebehn wrote:
Do i have to enable broadcasts explicitly ? I could not find anything in
the manpages, and googling for "routing broadcasts" or similar yields only
pages dealing with routing protocols.
Broadcasts can't be routed - it's a violation of the Internet Protocol and
so it's the OpenBSD IP stack which is dropping your packets, not pf(4). I
guess if you absolutely need to route broadcast packets one option is to
use NAT in pf.conf(5), e.g. (not tested)
In addition to Damon's remarks, imagine what would happen if
broadcasts *were* routed. While imagining this, please remember that
a) I'm in no way interested in your (or other peoples) traffic and b) I
have limited bandwidth I'd like to use for *MY OWN* traffic.
You may want to look into multicast.
Paul 'WEiRD' de Weerd
Paul,
My intention was to route between two *private* subnets, not to
weirdnet.nl! No need to worry ;-)
I started reading into multicast and found that it is overly complicated
and overkill for our purposes.
-Heinrich