LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Doubt regarding PXE boot in DHCP envrionment?? (https://www.linuxquestions.org/questions/linux-newbie-8/doubt-regarding-pxe-boot-in-dhcp-envrionment-829303/)

linuxunix 08-30-2010 07:35 AM

Doubt regarding PXE boot in DHCP envrionment??
 
I need your suggestions regarding the PXE boot.I have three machine out of which Machine-1 is the server where necessary instruction are feeded(just like dhcp server).Now What I really want is the other Machines should PXE boot to the dhcp server. But the challenge is "ALL the Boxes are now under corporate DHCP environment".
One solution is VLAN but our IM team is not ready to assign seperate VLAN for 3 machines. Someone suggested me that it is possible that those 3 machines, if configured will always PXE boot to the dhcp. But I dont have any idea how to get it done.
Anyone who can suggest?

jf.argentino 08-30-2010 11:03 AM

I know that the tftp server which store the PXE img doesn't have to be on the same host that the dhcp server.
I've done it once by adding the "next-server X.X.X.X" line to the dhcpd.conf file where X.X.X.X is the tftp server IP address.
Hope it helps a bit

jefro 08-30-2010 03:15 PM

Might consider gpxe. You can boot to any http or ftp server as well as Iscsi and maybe tftp. You can edit the config to boot to where you want no matter the topology.

linuxunix 08-31-2010 12:08 AM

Jefro,

I am in verse to setup an environment:
Host-1 powers-on.
Host-1 starts PXE boot sequence, makes DHCP request.
DHCP server responds with IP and "Next Server" pointing to TFTP server running on Host-2.
Host's PXE ROM makes tftp request and loads gPXE images from tftp server, plus gPXE config pointing to Host-2.
gPXE starts executing on the Host-1.

Can you elaborate how I can setup this environment replacing DHCP.

morphix 08-31-2010 07:33 AM

Quote:

Originally Posted by linuxunix (Post 4083114)
DHCP server responds with IP and "Next Server" pointing to TFTP server running on Host-2.
Host's PXE ROM makes tftp request and loads gPXE images from tftp server, plus gPXE config pointing to Host-2.
gPXE starts executing on the Host-1.

This seems pointless, why have the PXE then load gPXE that points to the same host2?

To me that makes no sense.

Can you please advise exactly what your problems are and what you are wanting to do.

jefro 08-31-2010 04:24 PM

Am I correct that you don't want to edit the corporate dhcp servers?

http://etherboot.org/wiki/pxechaining

morphix 08-31-2010 11:37 PM

That would then atleast require access to modify entries on the PXE server to allow it to boot gPXE (eg. editing PXE config to add another menu option)


All times are GMT -5. The time now is 12:37 PM.