LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-30-2010, 08:35 AM   #1
linuxunix
Member
 
Registered: Mar 2010
Location: California
Distribution: Slackware
Posts: 235

Rep: Reputation: 18
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?
 
Old 08-30-2010, 12:03 PM   #2
jf.argentino
Member
 
Registered: Apr 2008
Location: Toulon (France)
Distribution: FEDORA CORE
Posts: 493

Rep: Reputation: 50
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
 
Old 08-30-2010, 04:15 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,374

Rep: Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198
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.
 
Old 08-31-2010, 01:08 AM   #4
linuxunix
Member
 
Registered: Mar 2010
Location: California
Distribution: Slackware
Posts: 235

Original Poster
Rep: Reputation: 18
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.

Last edited by linuxunix; 08-31-2010 at 01:13 AM.
 
Old 08-31-2010, 08:33 AM   #5
morphix
Member
 
Registered: Nov 2007
Location: Newcastle, Australia
Distribution: Ubuntu, Debian, Arch
Posts: 53

Rep: Reputation: 15
Quote:
Originally Posted by linuxunix View Post
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.
 
Old 08-31-2010, 05:24 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,374

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

http://etherboot.org/wiki/pxechaining
 
Old 09-01-2010, 12:37 AM   #7
morphix
Member
 
Registered: Nov 2007
Location: Newcastle, Australia
Distribution: Ubuntu, Debian, Arch
Posts: 53

Rep: Reputation: 15
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)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PXE boot DHCP too slow. xtothat Linux - Networking 2 12-19-2010 01:16 AM
DHCP not handing IP to KVM in PXE boot drschloss Linux - Networking 2 09-03-2010 06:31 PM
DHCP works for PXE boot but not for Anaconda fantasygoat Linux - Server 4 04-27-2010 07:57 PM
DHCP, OSCAR cluster installation, VMware server and PXE-boot problem. Azazwa Linux - Newbie 3 03-31-2009 11:52 AM
DHCP server / PXE boot freeindy Linux - Networking 2 03-04-2008 03:31 AM


All times are GMT -5. The time now is 03:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration