Just successfully set up a Raspberry IPv6 bridge. Hope my experience may help.
Instead of editing /etc/network/interfaces
, I use commands,like:
ifconfig eth0 down
ifconfig eth1 down
brctl addbr br0
ifconfig br0 up
brctl addif br0 eth0
brctl addif br0 eth1
ifconfig eth0 up
ifconfig eth1 up
During this process, on Raspberry Pi platform, you may encounter such error when performing brctl addbr br0
:
add bridge failed: Package not installed
According to this question, bridge-utils "add bridge failed: Package not installed", this is because the kernel is not compiled with bridge support. so you have to either change an Raspbian iamge, or compile a kernel yourself. As far as I have tested, 2022-09-22-raspios-bullseye-armhf.img.xz
doesn't have bridge support, 2022-09-22-raspios-bullseye-arm64-full.img.xz
has bridge support. So I recommend you using 2022-09-22-raspios-bullseye-arm64-full.img.xz
. Of course, if you like, you can test other images.
eth0
on the bridge? – Ingo Jul 18 '18 at 19:16