It is possible to configure a DHCP server to hand out PXE options without a ProxyDHCP server present. This requires setting option 60 to "PXEClient", which will cause gPXE to attempt ProxyDHCP. We assume in several places that dhcp->proxydhcpack is set to the DHCPACK packet containing option 60 set to "PXEClient". When we transition into ProxyDHCPREQUEST, set dhcp->proxydhcpack=dhcp->dhcpack so that this assumption holds true. We ought to rename several references to "proxydhcp" to something more accurate, such as "pxedhcp". Treating a single DHCP response as potentially both DHCPOFFER and ProxyDHCPOFFER does make the code smaller, but the variable names get confusing.tags/v0.9.7
|
|
||
745 |
|
745 |
|
746 |
|
746 |
|
747 |
|
747 |
|
|
748 |
|
|
|
749 |
|
|
|
750 |
|
|
|
751 |
|
|
|
752 |
|
|
|
753 |
|
|
|
754 |
|
|
748 |
|
755 |
|
749 |
|
756 |
|
750 |
|
757 |
|
|
|
||
990 |
|
997 |
|
991 |
|
998 |
|
992 |
|
999 |
|
993 |
|
|
|
|
1000 |
|
|
994 |
|
1001 |
|
995 |
|
1002 |
|
996 |
|
1003 |
|