Difference between revisions of "tun/tap driver"
From Noah.org
Jump to navigationJump to searchm (Created page with 'Category:Engineering <pre> ip tuntap add tap0 mode tap brctl addbr br0 ip link set tap0 up ip link set br0 up brctl addif br0 eth0 brctl addif br0 tap0 ip addr add 192.168.0…') |
m |
||
Line 2: | Line 2: | ||
<pre> | <pre> | ||
+ | # ip tuntap del tap0 mode tap | ||
+ | # ip tuntap add tun0 mode tun | ||
ip tuntap add tap0 mode tap | ip tuntap add tap0 mode tap | ||
brctl addbr br0 | brctl addbr br0 |
Revision as of 16:55, 30 January 2013
# ip tuntap del tap0 mode tap # ip tuntap add tun0 mode tun ip tuntap add tap0 mode tap brctl addbr br0 ip link set tap0 up ip link set br0 up brctl addif br0 eth0 brctl addif br0 tap0 ip addr add 192.168.0.2/24 dev tap0