… | |
… | |
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 | |
… | |
… | |
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 |