Hello,
I’ve been attempting to make an RPi ZeroTier local LAN bridge work by following this guide, however, my devices were never added to the ZeroTier network.
I believe It’s an error on my side of configuration and I can’t seem to quite tackle the root of the problem. Apart from that, I also wanted to set addressing a bit differently than in the guide, however, it seems I’m not really up to the task.
I’d be happy if somebody would find time to check my configuration, and possibly even guide me a bit with setting it up as I want it to work.
pi@raspberrypi:~ $ ifconfig
br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.115 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::30da:1bff:fe6e:d3ea prefixlen 64 scopeid 0x20<link>
ether 00:e0:4c:53:44:58 txqueuelen 1000 (Ethernet)
RX packets 332152 bytes 82343830 (78.5 MiB)
RX errors 0 dropped 61 overruns 0 frame 0
TX packets 541728 bytes 128078311 (122.1 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 00:e0:4c:53:44:58 txqueuelen 1000 (Ethernet)
RX packets 459539 bytes 122343566 (116.6 MiB)
RX errors 12 dropped 6 overruns 4 frame 15
TX packets 541695 bytes 129547620 (123.5 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 113 bytes 9608 (9.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 113 bytes 9608 (9.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
zredacted2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 2800
ether 56:2e:66:b5:cb:e8 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 111213 bytes 16272652 (15.5 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
pi@raspberrypi:~ $ tail -n+0 /etc/systemd/network/*
==> /etc/systemd/network/25-bridge-br0-en.network <==
[Match]
Name=eth0 # might be en*
[Network]
Bridge=br0
==> /etc/systemd/network/25-bridge-br0.network <==
[Match]
Name=br0
[Network]
DHCP=yes
==> /etc/systemd/network/25-bridge-br0-zt.network <==
[Match]
Name=zredacted2
[Network]
Bridge=br0
==> /etc/systemd/network/73-usb-net-by-mac.link <==
==> /etc/systemd/network/99-default.link <==
==> /etc/systemd/network/br0.netdev <==
[NetDev]
Name=br0
Kind=bridge
My desired configuration is:
My private network is 192.168.0.0/24. Addresses from .1 up to .99 are statically assigned - reserved for my servers and networking devices. The rest of the addressing space is dynamically assigned through DHCP.
I want to achieve the following: Have 192.168.192.0/24 ZeroTier network. That is - the same size, just with a different 3rd octet.
I’d like this ZeroTier network to mirror all of the LAN devices regarding the 4th octet. These devices should also be dynamically added/removed as they are on the private LAN.
So I’d like to access a device that has a .30 local address by 192.168.0.30 via physical LAN (while I’m home) and by 192.168.192.30 via ZeroTier network (from anywhere).
I hope it’s clear what I want to achieve, and I’d appreciate any sort of help.
Thanks~!