mirror of
https://bitbucket.org/mangelo/snippets.git
synced 2024-11-24 20:01:00 +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
|