mirror of
https://bitbucket.org/mangelo/snippets.git
synced 2025-12-21 00:56:48 +02:00
Bridge & STP.
This commit is contained in:
8
bridge-stp.sh
Normal file
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
|
||||
Reference in New Issue
Block a user