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