Answer the question
In order to leave comments, you need to log in
How to set the mac-address of an interface to a network bridge?
Greetings!
Set up an L2 tunnel using OpenVPN. And, of course, on the server, the TAP interface (tap0) and the physical one (eth2) were added to the bridge (br0).
/etc/network/interfaces
auto br0
iface br0 inet dhcp
bridge_ports eth2 tap0
bridge_stp off
bridge_fd 0
bridge_maxwait 0
pre-up openvpn --mktun --dev tap0
pre-down openvpn --rmtun --dev tap0
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question