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.4 by pcg, Thu Mar 17 22:24:31 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:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines