#RunBSD #OpenBSD #router #askFedi

I am a bit stumped. I have been trying to configure an openbsd box as a router, and cannot seem to get dhcpd working.

I have a four port nic in the machine, with em1 and em2 part of bridge0. Per https://www.openbsd.org/faq/faq6.html I added vether0 with the IP configuration, and yes, I have rebooted.

Based on https://marc.info/?l=openbsd-misc&m=173769117527431&w=2 I tried using vport0, instead of vether0, but it did not work. (1/2)

OpenBSD FAQ: Networking

tcpdump on the vport or vether interfaces does not show broadcast traffic, but bridge0 and em1 do.

When I move the IP configuration and and tell dhcpd to use em1, it works.

It is not clear to me why the broadcast traffic is not being forwarded like the FAQ implies it should, can anyone explain what I'm missing? (2/2)

Welp, for anyone trying to figure something out - pfctl -d is allowing it to work. I've been debugging the wrong thing.
It looks like I had to "set skip on em2" and “set skip on em1”, as well. em1 and em2 are my bridge members.
@jevidl Yes, because even though they're "attached" to the bridge, they're still interfaces in their own right, and can have packet processing rules applied to them, and IIRC can still have other things hang off them as well