A P P E N D I X C |
Sun Ray and Network Parameter Delivery (DHCP) |
Sun Ray relies on DHCP to obtain network parameters and Sun Ray parameters. Network parameters include IP address, subnet mask, and router.
Sun Ray parameters enable Sun Ray devices to function normally in a Sun Ray environment.For Sun Ray DTUs to be able to discover the Sun Ray server on the network, they need to have at least the AuthSrvr parameter delivered through DHCP.
For a more comprehensive treatment of DHCP, see the Dynamic Host Configuration Protocol RFC at http://www.ietf.org/rfc/rfc2131.txt?number=2131.
For details on DHCP Options and BOOTP Vendor Extensions, see http://www.ietf.org/rfc/rfc2132.txt?number=2132
TABLE C-1 lists the Sun Ray parameter symbol values defined in the DHCP table. The remainder of this appendix describes the encapsulated options.
Sun Ray parameters are encapsulated vendor-specific options; that is, the value for the standard DHCP vendor-specific information is an encapsulated set of options that only the vendor equipment--the Sun Ray server, in this case--knows how to interpret.
For each parameter name, there is a vendor ID, an option code, an option type, and an indication as to whether the parameter is mandatory.
Encapsulated options are somewhat more complicated, as illustrated in the following DHCPINFORM response, or DHCPACK, which shows the taxonomy of the bytes in the vendor-specific information portion.
Note - In this description, hexadecimal values are preceded by 0x and followed by their decimal value, after an = sign, as in 0x2b=43. |
The example begins with 0x2b=43, the DHCP option for vendor-specific information. It has a length of 0x4a=74 bytes, which is the total number of bytes that follow. These bytes contain the encapsulated vendor options.
The remainder of the example represents the value of the vendor-specific information options. The first byte contains the first encapsulated option, whose value is 0x17=23, and the NewTVer option, whose value type is ASCII. The next byte is 0x1d=29, which is the length of the NewTVer string. These options are followed by 29 bytes that represent the string itself.
The ASCII interpretation at the right of the DHCPACK, is
2.0_19.c,REV=2002.09.06.15.54. This is the end of the first encapsulated option. The next byte is the beginning of the next option, Intf, represented by 0x21=33. The next byte, the length, is 0x04=4, and the next four bytes are the ASCII value hme0. That's the end of the second encapsulated option.
The next byte is 0x1f=31, which represents the FWSrvr parameter, whose function is to indicate the IP address of the firmware TFTP server. The next byte is the length, 4, which is always be true for an IP address. The hexadecimal value is
0x81 0x92 0x3a 0x88, which corresponds to the IP address 129.146.58.136.
Copyright © 2004, Sun Microsystems, Inc. All Rights Reserved.