1
0
mirror of https://bitbucket.org/mangelo/snippets.git synced 2025-04-10 09:57:29 +03:00

Bridge & STP.

This commit is contained in:
Miguel Scapolla 2016-05-06 23:20:56 -03:00
parent 1d5d7bde5a
commit e69672c61c

8
bridge-stp.sh Normal file

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