ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/doc/gvpe.osdep.5.pod
(Generate patch)

Comparing gvpe/doc/gvpe.osdep.5.pod (file contents):
Revision 1.3 by pcg, Tue Mar 15 18:15:39 2005 UTC vs.
Revision 1.6 by pcg, Wed Mar 23 17:03:58 2005 UTC

40 40
41 ip set $IFNAME address $MAC mtu $MTU up 41 ip set $IFNAME address $MAC mtu $MTU up
42 ip addr add $IFNAME 10.11.12.13 42 ip addr add $IFNAME 10.11.12.13
43 ip route add $IFNAME 10.11.12.13/8 43 ip route add $IFNAME 10.11.12.13/8
44 44
45Or ifconfig: 45Or C<ifconfig>:
46 46
47 ifconfig $IFNAME hw ether $MAC mtu $MTU 47 ifconfig $IFNAME hw ether $MAC mtu $MTU
48 ifconfig $IFNAME 10.11.12.13 netmask 255.0.0.0 48 ifconfig $IFNAME 10.11.12.13 netmask 255.0.0.0
49 49
50To hardwire ARP addresses, use iproute2 (ifconfig can do it, too): 50To hardwire ARP addresses, use iproute2 (C<arp> can do it, too):
51 51
52 MAC=fe:fd:80:00:00:$(printf "%02x" $NODEID) 52 MAC=fe:fd:80:00:00:$(printf "%02x" $NODEID)
53 ip neighbour add 10.11.12.13 lladdr $MAC nud permanent dev $IFNAME 53 ip neighbour add 10.11.12.13 lladdr $MAC nud permanent dev $IFNAME
54 54
55=head2 tincd/linux 55=head2 tincd/linux
63(C<http://cipe-win32.sourceforge.net/>), or (highly recommended) the newer 63(C<http://cipe-win32.sourceforge.net/>), or (highly recommended) the newer
64TAP-Win32 driver bundled with openvpn (http://openvpn.sf.net/). Just 64TAP-Win32 driver bundled with openvpn (http://openvpn.sf.net/). Just
65download and run the openvpn installer. The only option you need to select 65download and run the openvpn installer. The only option you need to select
66is the TAP driver. 66is the TAP driver.
67 67
68The MAC need not be set (and in fact I<cannot> be set). The 68The MAC need not be set (and in fact I<cannot> be set). The MAC address
69MAC address is dynamically being patched into packets and ARP-requests, so 69is dynamically being patched into packets and ARP-requests, so only IPv4
70only IPv4 works with ARP on this platform. 70works with ARP on this platform.
71 71
72=head2 tincd/freebsd 72=head2 tincd/freebsd
73 73
74TAP-device; part of the kernel (since 4.x, maybe earlier). To initialize 74TAP-device; part of the kernel (since 4.x, maybe earlier). To initialize
75the interface, use this command: 75the interface, use this command:
89 89
90=head2 tincd/openbsd 90=head2 tincd/openbsd
91 91
92TUN-device; already part of the kernel. See C<tincd/netbsd> for more information. 92TUN-device; already part of the kernel. See C<tincd/netbsd> for more information.
93 93
94=head2 native/darwin
95
96TAP-device;
97
98The necessary kernel extension can be found here:
99
100 http://www-user.rhrk.uni-kl.de/~nissler/tuntap/
101
102There are two drivers, the one to use is the "tap" driver. It driver must
103be loaded before use, using C<kmodload>.
104
94=head2 tincd/darwin 105=head2 tincd/darwin
95 106
96TUN-device; See C<tincd/netbsd> for more information. 107TUN-device; See C<tincd/netbsd> for more information. C<native/darwin> is
108preferable.
97 109
98The necessary kernel extension can be found here: 110The necessary kernel extension can be found here:
99 111
100 http://chrisp.de/en/projects/tunnel.html 112 http://chrisp.de/en/projects/tunnel.html
101 113
102A newer (and reportedly much more stable) driver that also supports TAP 114The driver must be loaded before use:
103operations is available here:
104 115
105 http://www-user.rhrk.uni-kl.de/~nissler/tuntap/ 116 kmodload tunnel
106
107But GVPE has not been used with it, and has not been ported to it's TAP
108interface. Patches are welcome.
109 117
110=head2 tincd/solaris 118=head2 tincd/solaris
111 119
112TUN-device; already part of the kernel. see C<tincd/netbsd> for more 120TUN-device; already part of the kernel, or available here:
121
122 http://vtun.sourceforge.net/tun/
123
124Some precompiled tun drivers might be available here:
125
126 http://www.monkey.org/~dugsong/fragroute/
127
128See C<tincd/netbsd> for more information.
129
113information. Completely untested so far. 130Completely unstested so far.
114 131
115=head2 tincd/mingw 132=head2 tincd/mingw
116 133
117TAP-device; see C<native/cygwin> for more information. Completey untested so far. 134TAP-device; see C<native/cygwin> for more information.
135
136Completely untested so far.
137
138=head2 tincd/raw_socket
139
140TAP-device; purpose unknown and untested, probably binds itself on an
141existing ethernet device (given by C<ifname>), which should probably not
142be configured in any way, except for setting it I<up>.
143
144=head2 tincd/uml_socket
145
146TAP-device; purpose unknown and untested, probably creates a unix datagram
147socket (path given by C<ifname>) and reads and writes raw packets, so
148might be useful in other than UML contexts.
118 149
119=head2 tincd/cygwin 150=head2 tincd/cygwin
120 151
121Known to be broken. 152Known to be broken, use C<native/cygwin> instead.
122
123 153
124=head1 SEE ALSO 154=head1 SEE ALSO
125 155
126gvpe(5). 156gvpe(5).
127 157

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines