About this task
In this example, you want
to have
targets A and
B boot
on server
192.10.10.10, and
targets C and
D boot
on server
192.10.11.10, which is on a different subnet (a
valid gateway must be setup for
C and
D in order
to locate the PXE server on a different subnet).
Note: Server type 15 is
translated into 00:0F in hexadecimal. IP address 192.10.10.10 is
translated into C0:0A:0A:0A, and 192.10.10.11 is
translated into C0:0A:0B:0A. Letters R and B are
translated into 52 and 42.
Here are
the options that one must insert in the binary buffer and their values:
- PXE option 6, length 1, value=07
- Value 7 means use PXE_BOOT_SERVERS list, disable
multicast and broadcast discovery
- PXE
option 8, length 7, value = 00:0F:01:C0:0A:0A:0A
- (targets A
and B) Only one IP address is used, the address of the PXE server
for the target which
receives these DHCP options.
- PXE option
8, length 7, value = 00:0F:01:C0:0A:0B:0A
- (targets C
and D) Only one IP address is used, the address of the PXE server
for the target which
receives these DHCP options.
- PXE option
9, length 5, value = 00:0F:02:52:42
- There
is only one line, displaying RB, and which goes
to server type 15 (Tivoli® Provisioning Manager for OS Deployment).
- PXE option A, length 2, value=00:52
- The timeout is set to 0 seconds, meaning that one wants to boot
using the first line of the boot menu ,and the prompt is set to R.Because
the timeout is 0, the prompt text is not displayed, but it must be
at least one character long.
- PXE option
FF
- This closes the buffer
The format
of the binary buffer is similar
to what is used for the DHCP packet itself. The buffer is a list of
options, each option starting with its option number (one byte), followed
by its length (one byte), and its value (a list of bytes).
Here
is the transcription of the above example, for
targets A and
B :
Option 43 =
06:01:07:08:07:00:0F:01:C0:0A:0A:0A:09:05:00:0F:02:52:42:0A:02:00:52:FF
And
for
targets C and
D :
Option 43 =
06:01:07:08:07:00:0F:01:C0:0A:0B:0A:09:05:00:0F:02:52:42:0A:02:00:52:FF