mirror of
https://bitbucket.org/mangelo/snippets.git
synced 2024-11-22 10:51:00 +02:00
Bridge & STP.
This commit is contained in:
parent
1d5d7bde5a
commit
e69672c61c
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
|
Loading…
Reference in New Issue
Block a user