mirror of
https://bitbucket.org/mangelo/snippets.git
synced 2024-11-25 12:20:58 +02:00
9 lines
126 B
Bash
9 lines
126 B
Bash
|
#
|
||
|
# Bridge between two interfaces.
|
||
|
#
|
||
|
|
||
|
brctl addbr BRNAME
|
||
|
brctl stp BRNAME off
|
||
|
brctl addif BRNAME eth1
|
||
|
brctl addif BRNAME eth2
|