tagging vde-2 version 2.3.2
[vde.git] / 2.3.2 / doc / freebsd_tap-HOWTO
blob776699711ae512b6ea1d04f75204f6da0115a0a3
1 HOWTO START VDE WITH TAP BY NON-ROOT USERS
2 (tested on FreeBSD 6.2)
4 - Look at output of "kldstat" for module "if_tap.ko",
5   if you can't find it do "kldload if_tap.ko".
6   Remember to do
7         # echo "if_tap_load=YES" >> /boot/loader.conf
8   to load it automatically at startup.
10 - Allow users to open tap interfaces:
11         # sysctl net.link.tap.user_open=1
12   Remember to do
13         # echo "net.link.tap.user_open=1" >> /etc/sysctl.conf
14   to enable it automatically at startup.
16 - Adjust devfs rules (assuming your users belong to 'vde' group):
17         # echo "own tapN root:vde" >> /etc/devfs.conf
18         # echo "perm tapN 0660" >> /etc/devfs.conf
19   N is interface number, use tap* if you want the same behaviour
20   for each interface.
22 - Create an interface:
23         # ls /dev/tap0
24         # /etc/rc.d/devfs restart