mikrotik_snippets/linux/bridge-stp.sh

9 lines
126 B
Bash

#
# Bridge between two interfaces.
#
brctl addbr BRNAME
brctl stp BRNAME off
brctl addif BRNAME eth1
brctl addif BRNAME eth2