iPXE discussion forum
How do I know the dhcp server's address in the shell - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: How do I know the dhcp server's address in the shell (/showthread.php?tid=7184)



How do I know the dhcp server's address in the shell - liangdeta - 2014-01-23 09:18

I have enter the ipxe‘s shell , I want to know the DHCP SERVER's address, is there some command can tell me this?

I use the PXE to load the ipxe, and then I want to use ipxe load the vxworks’ bootrom, the bootrom is stored on the dhcp server, so I want to know the dhcp server's address. Please help me , thanks very much:)

I‘m a CHINESE, my English is not so good, I hope you can understand what I saidBig Grin


RE: How do I know the dhcp server's address in the shell - robinsmidsrod - 2014-01-30 23:00

Depending on how you'd like to use it, one of these alternatives might help you out.
Code:
show dhcp-server
echo ${dhcp-server}