geerlingguy/raspberry-pi-dramble

Network bridging not properly enabled

Elfinhope opened this issue · 3 comments

On running of the playbook, I got two errors related to network forwarding. First, /proc/sys/net/ipv4/ip_forward was not set to 1 and second /proc/sys/net/bridge/bridge-nf-call-iptables did not exist. Both were easily solved the first by uncommenting the appropriate line in sysctl.conf and the second by running modprobe to load br_ipforward (I also added net.bridge.bridge-nf-call-iptables=1 to my sysctl.conf file as well).
I have Raspbian 64-bit lite (I believe Bullseye) on Pi 4s. I've used this playbook previously and did not have this problem, so there must have been some change when Bullseye came out.

Note, the modprobe above should have been br_netfilter not br_ipforward. In addition, I had to add br_netfilter to my /etc/modules file.

stale commented

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

stale commented

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.