… | |
… | |
20 | * gvpe: (gvpe). The GNU VPE Manual. |
20 | * gvpe: (gvpe). The GNU VPE Manual. |
21 | @end direntry |
21 | @end direntry |
22 | |
22 | |
23 | This is the info manual for vpe, the Virtual Private Ethernet daemon. |
23 | This is the info manual for vpe, the Virtual Private Ethernet daemon. |
24 | |
24 | |
25 | Copyright @copyright{} 2003,2004 Marc Lehmann <gvpe@@plan9.de>. |
25 | Copyright @copyright{} 2003-2008 Marc Lehmann <gvpe@@schmorp.de>. |
26 | |
26 | |
27 | Permission is granted to make and distribute verbatim copies of this |
27 | Permission is granted to make and distribute verbatim copies of this |
28 | manual provided the copyright notice and this permission notice are |
28 | manual provided the copyright notice and this permission notice are |
29 | preserved on all copies. |
29 | preserved on all copies. |
30 | |
30 | |
… | |
… | |
35 | |
35 | |
36 | @end ifinfo |
36 | @end ifinfo |
37 | |
37 | |
38 | @titlepage |
38 | @titlepage |
39 | @title gvpe Manual |
39 | @title gvpe Manual |
40 | @author Marc Lehmann, Ivo Timmermans and Guus Sliepen |
40 | @author Marc Lehmann (template by Ivo Timmermans and Guus Sliepen) |
41 | |
41 | |
42 | @page |
42 | @page |
43 | @vskip 0pt plus 1filll |
43 | @vskip 0pt plus 1filll |
44 | @cindex copyright |
44 | @cindex copyright |
45 | |
45 | |
46 | Copyright @copyright{} 2003,2004 Marc Lehmann <gvpe@@plan9.de>. |
46 | Copyright @copyright{} 2003-2008 Marc Lehmann <gvpe@@schmorp.de>. |
47 | |
47 | |
48 | Permission is granted to make and distribute verbatim copies of this |
48 | Permission is granted to make and distribute verbatim copies of this |
49 | manual provided the copyright notice and this permission notice are |
49 | manual provided the copyright notice and this permission notice are |
50 | preserved on all copies. |
50 | preserved on all copies. |
51 | |
51 | |
… | |
… | |
94 | =for texinfo menu-item gvpe:: The GVPE Daemon (gvpe(8)) |
94 | =for texinfo menu-item gvpe:: The GVPE Daemon (gvpe(8)) |
95 | |
95 | |
96 | =for texinfo include pod gvpe.8.pod |
96 | =for texinfo include pod gvpe.8.pod |
97 | |
97 | |
98 | |
98 | |
99 | =for texinfo menu-item gvpe.protocol:: The GVPE Protocol (gvpe.protocol(7)) |
99 | =for texinfo menu-item gvpe.protocol:: The GVPE Transport and VPN Protocols (gvpe.protocol(7)) |
100 | |
100 | |
101 | =for texinfo include pod gvpe.protocol.7.pod |
101 | =for texinfo include pod gvpe.protocol.7.pod |
102 | |
102 | |
103 | |
103 | |
104 | =for texinfo menu-item Simple Example:: A simple yet realistic Example |
104 | =for texinfo menu-item Simple Example:: A simple yet realistic Example |
… | |
… | |
119 | node = welshy |
119 | node = welshy |
120 | hostname = www.example.net # resolve at connection time |
120 | hostname = www.example.net # resolve at connection time |
121 | |
121 | |
122 | node = wheelery |
122 | node = wheelery |
123 | # no hostname, will be determinded dynamically using router1 or router2 |
123 | # no hostname, will be determinded dynamically using router1 or router2 |
124 | |
124 | |
125 | C<gvpe> will execute the C<if-up> script on every hosts, which, for linux, |
125 | C<gvpe> will execute the C<if-up> script on every hosts, which, for linux, |
126 | could look like this for all three hosts: |
126 | could look like this for all three hosts: |
127 | |
127 | |
128 | ifconfig $IFNAME hw ether $MAC mtu $MTU |
128 | ifconfig $IFNAME hw ether $MAC mtu $MTU |
129 | ifconfig $IFNAME 10.0.0.$NODE |
129 | ifconfig $IFNAME 10.0.0.$NODE |
… | |
… | |
138 | ping each other. |
138 | ping each other. |
139 | |
139 | |
140 | If you have an internal C<10.x.x.x> network (with a tighter netmask then |
140 | If you have an internal C<10.x.x.x> network (with a tighter netmask then |
141 | C<255.0.0.0>, e.g. C<10.1.0.0> on C<huffy>, C<10.2.0.0> on C<welshy> and |
141 | C<255.0.0.0>, e.g. C<10.1.0.0> on C<huffy>, C<10.2.0.0> on C<welshy> and |
142 | so on), you can now enable ip-forwarding and proxy-arp (or set the hosts |
142 | so on), you can now enable ip-forwarding and proxy-arp (or set the hosts |
143 | as default gateway), and your three hosts should forward traffic from eahc |
143 | as default gateway), and your three hosts should forward traffic from each |
144 | network to each other. |
144 | network to each other. |
145 | |
145 | |
146 | |
146 | |
147 | =for texinfo menu-item Complex Example:: A non-trivial Example |
147 | =for texinfo menu-item Complex Example:: A non-trivial Example |
148 | |
148 | |
… | |
… | |
164 | =for texinfo include example complex-example/node-up |
164 | =for texinfo include example complex-example/node-up |
165 | |
165 | |
166 | =for texinfo menu-end |
166 | =for texinfo menu-end |
167 | |
167 | |
168 | |
168 | |
|
|
169 | =for texinfo menu-item Index:: Keyword and Concept index |
|
|
170 | |
|
|
171 | =begin texinfo |
|
|
172 | |
|
|
173 | @printindex cp |
|
|
174 | |
|
|
175 | =end texinfo |
169 | |
176 | |
170 | =for texinfo menu-end |
177 | =for texinfo menu-end |
171 | |
178 | |
172 | =begin texinfo footer |
179 | =begin texinfo footer |
173 | |
180 | |