-
-
Save y0ug/1324e9ab178125d1ae82 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# 2014-10-09 17:49 CEST | |
# y0ug | |
BIF=br0 | |
EIF=enp0s25 | |
ip link add name $BIF type bridge | |
ip link set dev $BIF up | |
ip link set dev $EIF down | |
ip link set dev $EIF promisc on | |
ip link set dev $EIF up | |
ip link set dev $EIF master $BIF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment