Created
August 21, 2012 19:34
-
-
Save e0da/3418582 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# vim: set ft=sh: | |
# setup | |
ip tuntap add mode tap $TAP user $USER | |
ip link set $TAP up | |
brctl addif $BR $TAP | |
# teardown | |
ip link set $TAP down | |
brctl delif $BR $TAP | |
ip tuntap del mode tap $TAP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment