diy solar

diy solar

RPI (linux 9, stretch) ethernet bridge permanent?

WoodsieLord

New Member
Joined
Oct 4, 2019
Messages
145
Location
Buenos Aires, Argentina (230V monophasic, 50Hz)
Hello, this is probably a silly question.
I'm not familiar with systemd networkd nor any other manager.

I want to create a bridge br0 with eth0 and eth1 (usb addapter).
I can do this with bridge utils using two simple commands:
Code:
brctl addbr br0
brctl addif br0 eth0 eth1

This method lacks persistance. In other words, it does not survive a reboot.
What's the correct way to "hardcode" this config, so I can tell the dhcpcd.conf to ignore these interfaces while being able to manage the wireless interface to manage the rpi remotely ?

I've been googling around for hours and I have a headache already! Some people suggest using /etc/network/interfaces while others say this is not the way it's done.
THIS article tells you to switch to systemd networkd but I'm afraid if I do that, I won't be able to configure wireless networking with ease.
I'm using an RPI 3B (with GUI).
What's the purpose ? run wireshark to diagnose devices by plugging them between the pi.
Thanks in advance
 
Back
Top