pxe boot without dhcp in centos 7

Issues related to configuring your network
Post Reply
Cent-pratham
Posts: 9
Joined: 2019/05/31 11:33:48

pxe boot without dhcp in centos 7

Post by Cent-pratham » 2019/06/14 10:34:32

Dear Team,

Please help me for create pxe boot server without dhcp server because i have firewall device in my office and dhcp already configured in firewall, so i dont want to create dhcp server in centos 7.

Thanks,
Pratham

User avatar
jlehtone
Posts: 4523
Joined: 2007/12/11 08:17:33
Location: Finland

Re: pxe boot without dhcp in centos 7

Post by jlehtone » 2019/06/14 12:31:52

PXE boot has steps:
1. BIOS/EFI/network card requests configuration from DHCP server
2. The configuration from DHCP server includes address of TFTP server
3. BIOS/EFI/network card loads bootloader from TFTP server
4. Bootloader loads kernel from TFTP server
5. Kernel loads/mounts/whatever

Step 2 means that the DHCP server must be configured to supply the necessary data.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: pxe boot without dhcp in centos 7

Post by TrevorH » 2019/06/14 14:52:19

The short version of the above: a DHCP server is required
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Cent-pratham
Posts: 9
Joined: 2019/05/31 11:33:48

Re: pxe boot without dhcp in centos 7

Post by Cent-pratham » 2019/06/20 10:46:56

Bro you are right but there is any way where i can use existing my DHCP server.

User avatar
jlehtone
Posts: 4523
Joined: 2007/12/11 08:17:33
Location: Finland

Re: pxe boot without dhcp in centos 7

Post by jlehtone » 2019/06/20 15:06:37

Not sure what you wrote. If you did ask whether you can use the existing DHCP server, then the answer is:

YES, IF you can configure it to provide the necessary options.

Cent-pratham
Posts: 9
Joined: 2019/05/31 11:33:48

Re: pxe boot without dhcp in centos 7

Post by Cent-pratham » 2019/06/22 06:03:00

Bro can you explain me which service help me to use existing dhcp so can search on that thing.

aks
Posts: 3073
Joined: 2014/09/20 11:22:14

Re: pxe boot without dhcp in centos 7

Post by aks » 2019/06/24 00:56:21

You can use a DHCP server that offers the options required by PXE (Google it). These options are "well known" "slots" that define certain things, like where to get the boot image, where to get the root image and so on.

Post Reply