… | |
… | |
158 | consistently on all hosts), but this is usually ineffective. |
158 | consistently on all hosts), but this is usually ineffective. |
159 | |
159 | |
160 | =item MAC=fe:fd:80:00:00:01 |
160 | =item MAC=fe:fd:80:00:00:01 |
161 | |
161 | |
162 | The MAC address to set the interface to. The script *must* set the |
162 | The MAC address to set the interface to. The script *must* set the |
163 | interface MAC to this value. On GNU/Linux you will most likely use this: |
163 | interface MAC to this value. You will most likely use one of these: |
164 | |
164 | |
165 | ip link set $IFNAME address $MAC mtu $MTU up |
165 | ip link set $IFNAME address $MAC mtu $MTU up # GNU/Linux |
|
|
166 | ifconfig $IFNAME ether $MAC mtu $MTU up # FreeBSD |
|
|
167 | |
|
|
168 | =item IFTYPE=native |
|
|
169 | |
|
|
170 | =item IFSUBTYPE=linux # or freebsd, darwin etc.. |
|
|
171 | |
|
|
172 | The interface type (C<native> or C<tincd>) and the subtype (usually the os |
|
|
173 | name in lowercase) that this vpe was configured for. Can be used to select |
|
|
174 | the correct syntax to use for network-related commands. |
166 | |
175 | |
167 | =item NODENAME=branch1 |
176 | =item NODENAME=branch1 |
168 | |
177 | |
169 | The nickname of the current node, as passed to the vped daemon. |
178 | The nickname of the current node, as passed to the vped daemon. |
170 | |
179 | |
… | |
… | |
206 | =item DESTIP=188.13.66.8 |
215 | =item DESTIP=188.13.66.8 |
207 | |
216 | |
208 | The numerical IP address of the remote host (vped accepts connections from |
217 | The numerical IP address of the remote host (vped accepts connections from |
209 | everywhere, as long as the other host can authenticate itself). |
218 | everywhere, as long as the other host can authenticate itself). |
210 | |
219 | |
211 | =item DESTPORT=407 # deprecated |
220 | =item DESTPORT=655 # deprecated |
212 | |
221 | |
213 | The UDP port used by the other side. |
222 | The UDP port used by the other side. |
214 | |
223 | |
215 | =item STATE=UP |
224 | =item STATE=UP |
216 | |
225 | |
… | |
… | |
233 | |
242 | |
234 | Same as C<node-up>, but gets called whenever a connection is lost. |
243 | Same as C<node-up>, but gets called whenever a connection is lost. |
235 | |
244 | |
236 | =item http-proxy-host = hostname/ip |
245 | =item http-proxy-host = hostname/ip |
237 | |
246 | |
238 | The C<http-proxy>-family of options are only available if vpe was |
247 | The C<http-proxy-*> family of options are only available if vpe was |
239 | compiled with the C<--enable-http-proxy> option and enable tunneling of |
248 | compiled with the C<--enable-http-proxy> option and enable tunneling of |
240 | tcp connections through a http proxy server. |
249 | tcp connections through a http proxy server. |
241 | |
250 | |
242 | C<http-proxy-host> and C<http-proxy-port> should specify the hostname and |
251 | C<http-proxy-host> and C<http-proxy-port> should specify the hostname and |
243 | port number of the proxy server. See C<http-proxy-loginpw> if your proxy |
252 | port number of the proxy server. See C<http-proxy-loginpw> if your proxy |
… | |
… | |
281 | |
290 | |
282 | =over 4 |
291 | =over 4 |
283 | |
292 | |
284 | =item udp-port = port-number |
293 | =item udp-port = port-number |
285 | |
294 | |
286 | Sets the port number used by the UDP protocol (default: C<407>, not |
295 | Sets the port number used by the UDP protocol (default: C<655>, not |
287 | officially assigned by IANA!). |
296 | officially assigned by IANA!). |
288 | |
297 | |
289 | =item tcp-port = port-number |
298 | =item tcp-port = port-number |
290 | |
299 | |
291 | Similar to C<udp-port> (default: C<407>), but sets the TCP port number. |
300 | Similar to C<udp-port> (default: C<655>), but sets the TCP port number. |
292 | |
301 | |
293 | =item enable-rawip = yes|true|on | no|false|off |
302 | =item enable-rawip = yes|true|on | no|false|off |
294 | |
303 | |
295 | Enable the RAW IPv4 transport using the C<ip-proto> protocol |
304 | Enable the RAW IPv4 transport using the C<ip-proto> protocol |
296 | (default: C<no>). This is the best choice, since the overhead per packet |
305 | (default: C<no>). This is the best choice, since the overhead per packet |