Bridge & STP.

This commit is contained in:
Miguel Scapolla 2016-05-06 23:20:56 -03:00
parent 1d5d7bde5a
commit e69672c61c
1 changed files with 8 additions and 0 deletions

8
bridge-stp.sh Normal file
View File

@ -0,0 +1,8 @@
#
# Bridge between two interfaces.
#
brctl addbr BRNAME
brctl stp BRNAME off
brctl addif BRNAME eth1
brctl addif BRNAME eth2