… | |
… | |
74 | TAP-device; part of the kernel (since 4.x, maybe earlier). To initialize |
74 | TAP-device; part of the kernel (since 4.x, maybe earlier). To initialize |
75 | the interface, use this command: |
75 | the interface, use this command: |
76 | |
76 | |
77 | ifconfig $IFNAME ether $MAC mtu $MTU up |
77 | ifconfig $IFNAME ether $MAC mtu $MTU up |
78 | |
78 | |
|
|
79 | These commands might be helpful examples: |
|
|
80 | |
|
|
81 | ifconfig $IFNAME 10.0.0.$NODEID |
|
|
82 | route add -net 10.0.0.0 -netmask 255.255.255.0 -interface $IFNAME 10.0.0.$NODEID |
|
|
83 | |
79 | =head2 tincd/netbsd |
84 | =head2 tincd/netbsd |
80 | |
85 | |
81 | TUN-device; The interface is a point to point-device. To initialize it, |
86 | TUN-device; The interface is a point to point-device. To initialize it, |
82 | you currently need to configure it as such, giving it an address on your |
87 | you currently need to configure it as such, giving it an address on your |
83 | vpn (the exact address doesn't matter), like this: |
88 | vpn (the exact address doesn't matter), like this: |
… | |
… | |
98 | The necessary kernel extension can be found here: |
103 | The necessary kernel extension can be found here: |
99 | |
104 | |
100 | http://www-user.rhrk.uni-kl.de/~nissler/tuntap/ |
105 | http://www-user.rhrk.uni-kl.de/~nissler/tuntap/ |
101 | |
106 | |
102 | There are two drivers, the one to use is the "tap" driver. It driver must |
107 | There are two drivers, the one to use is the "tap" driver. It driver must |
103 | be loaded before use, using C<kmodload>. |
108 | be loaded before use, read the docs on how to install it as a startup |
|
|
109 | item. |
|
|
110 | |
|
|
111 | To initialize the interface, use this command: |
|
|
112 | |
|
|
113 | ifconfig $IFNAME ether $MAC mtu $MTU up |
|
|
114 | |
|
|
115 | These commands might be helpful examples: |
|
|
116 | |
|
|
117 | ifconfig $IFNAME 10.0.0.$NODEID |
|
|
118 | route add -net 10.0.0.0 -interface $IFNAME 255.255.255.0 |
104 | |
119 | |
105 | =head2 tincd/darwin |
120 | =head2 tincd/darwin |
106 | |
121 | |
107 | TUN-device; See C<tincd/netbsd> for more information. C<native/darwin> is |
122 | TUN-device; See C<tincd/netbsd> for more information. C<native/darwin> is |
108 | preferable. |
123 | preferable. |
… | |
… | |
115 | |
130 | |
116 | kmodload tunnel |
131 | kmodload tunnel |
117 | |
132 | |
118 | =head2 tincd/solaris |
133 | =head2 tincd/solaris |
119 | |
134 | |
120 | TUN-device; already part of the kernel, or available here: |
135 | TUN-device; already part of the kernel(?), or available here: |
121 | |
136 | |
122 | http://vtun.sourceforge.net/tun/ |
137 | http://vtun.sourceforge.net/tun/ |
123 | |
138 | |
124 | Some precompiled tun drivers might be available here: |
139 | Some precompiled tun drivers might be available here: |
125 | |
140 | |