2010/11/7 sqwbwh <[email protected]>: > Gene Cumm > Forcing your DHCP server to always return option 17 is application specific. > MSDHCP always return option 17 is application specific > What practices can explain it in detail?
-2003 http://technet.microsoft.com/en-us/library/cc778368%28WS.10%29.aspx -2008 http://technet.microsoft.com/en-us/library/cc755282.aspx Or find the equivalent page in your preferred language. Unfortunately, I have no idea if it's possible to force MS-DHCP to do this. You could put the option into a gPXE script and embed it into your gPXE binary. -- -Gene > At 2010-11-07 19:26:31,"Gene Cumm" <[email protected]> wrote: > >>2010/11/6 sqwbwh <[email protected]>: >>> Gene Cumm >>> >>> thank you let I see reasons for this situation occurs. >>> Want to solve this problem. How to do that? >> >>Forcing your DHCP server to always return option 17 is application specific. >> >>http://etherboot.org/wiki/howtos#how_to_use_advanced_dhcp_options >> >>http://etherboot.org/wiki/appnotes/pxelinux_tftp_to_http_migration#original_dhcpd_setup >> >>This person forcibly appended 3a and 3b to >>dhcp-parameter-request-list. This is what you'll need to do. I think >>it's a single byte in hex so 11 should be your option 17 decimal. >> >>-- >>-Gene >> >>> At 2010-11-07 02:49:03,"Gene Cumm" <[email protected]> wrote: >>> >>>>2010/11/6 sqwbwh <[email protected]>: >>>>> Miller, Shao >>>>> use Embedded script >>>>> " >>>>> #!gpxe >>>>> set use-cached 1 >>>>> " >>>>> GPXE not have access to 017 settings >>>>> How can either use the set use-cached 1 >>>>> Also get 017 information? >>>> >>>>Your native PXE client probably did not request it and/or ignored it >>>>when storing the cached DHCP packets. If you do a packet capture >>>>(very easy in a hosted VMware environment), I'd guess you probably >>>>won't see option 17 in the response from the server. It is possible >>>>to configure some DHCP servers to always return certain options. >>>> >>>>However, when you don't "set use-cached 1", the DHCP server is >>>>probably sending it because gPXE is probably requesting it. >>>> >>>>> info: >>>>> ------------ >>>>> Dhcp server set up in the 017 options iscsi: 192.168.0.222:: 3260:: test >>>>> ------------ >>>>> I set it in an embedded script: >>>>> #!gpxe >>>>> set use-cached 1 >>>>> autoboot >>>>> please see 0171.jpg >>>>> -0172.jpg root-path is nothing >>>>> 0172.jpg is add script : >>>>> #!gpxe >>>>> set use-cached 1 >>>>> config >>>>> - >>>>> normal.jpg is no script >>>>> >>>>> >>>>> >>>>> At 2010-11-05 21:13:33,"Miller, Shao" <[email protected]> wrote: >>>>> >>>>>>________________________________________ >>>>>>From: [email protected] [mailto:[email protected]] on behalf of sqwbwh >>>>>>Sent: Friday, November 05, 2010 09:05 >>>>>>To: GPXE Mailing List >>>>>>Subject: [gPXE] How to modify the code can not get DHCP information on the2nd >>>>>> >>>>>> >>>>>>How to modify the code can not get DHCP information on the 2nd?(GPXE only used to boot the system from ISCSI) >>>>>>Is to remove this step. >>>>>>net0: 00:0 c:: 29:08:11:35 on UNDI-PCI02: 01.0 (OPEN) >>>>>> [Link: up, TX: 0 TXE: 0 TX: 0 rxe: 0] >>>>>>DHCP (net0 00:0 c: 29:08:11: d5 ).... ok >>>>>>net0: 192.168.0.202/255.255.255.0 >>>>>> >>>>>>This can speed up boot speed. >>>>>>Normal GPXE run to start from the boot system tftp process takes about 8 seconds or so >>>>>>If removed from the second time for DHCP information will only need a very quick 2.5 seconds. >>>>>> >>>>>>----- >>>>>> >>>>>>You most likely want the 'use-cached' option. It is DHCP gPXE encapsulated option number 178. Or, you can set it in an embedded script: >>>>>> >>>>>> #!gpxe >>>>>> set use-cached 1 >>>>>> autoboot >>>>>> >>>>>>- Shao Miller _______________________________________________ gPXE mailing list [email protected] http://etherboot.org/mailman/listinfo/gpxe
