Skip to content

Instantly share code, notes, and snippets.

@myxal
Last active Feb 26, 2020
Embed
What would you like to do?
RPi 3B+ bridge setup
network:
ethernets:
eth0:
dhcp4: no
optional: true
wlan0:
dhcp4: no
optional: true
bridges:
br0:
dhcp4: no
dhcp6: no
accept-ra: no
addresses:
- 192.168.2.4/24
gateway4: 192.168.2.1
interfaces:
- eth0
- eth1
# - wlan0
optional: true
nameservers:
search: [lan]
addresses: [208.67.222.222, 208.67.220.220, 8.8.8.8, 8.8.4.4]
network:
version: 2
bridges:
br0:
addresses:
- "<internal IP6>/64"
nameservers:
addresses: ["2001:4860:4860::8888", "2001:4860:4860::8844"]
tunnels:
he-ipv6:
mode: sit
remote: 216.66.86.122
local: 192.168.2.4
addresses:
- "<external IP6/64"
routes:
- to: "::/0"
on-link: false
scope: link
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment