dhcp server liuxLinux serverNETWORK ADMINISTRATIONS

How to setup to Netboot Servers to Install Debian 11 Network install PXE Boot

INSTALLING ISC-DHCP-Server

apt update && apt upgrade -y

apt install isc-dhcp-server

nano /etc/dhcp/dhcpd.conf
remove # at authoritative;
change to option domain-name-servers 1.1.1.1, 8.8.8.8;
add

subnet 192.168.80.0 netmask 255.255.255.0 {
range 192.168.80.100 192.168.80.200;
option routers 192.168.80.1;
next-server 192.168.80.3;
option bootfile-name “pxelinux.0″;
}

nano /etc/default/isc-dhcp-server
INTERFACESv4=”eth0”

systemctl start isc-dhcp-server

systemctl enable isc-dhcp-server

INSTALLING TFTP server and seting up debian netboot

apt update && apt upgrade -y

apt install tftpd-hpa -y

wget http://http.us.debian.org/debian/dists/bullseye/main/installer-amd64/current/images/netboot/netboot.tar.gz

cp -r {debian-installer,ldlinux.c32,pxelinux.0,pxelinux.cfg,version.info} /srv/tftp

cd /srv/tftp

ln -s debian-installer/amd64/grubx64.efi .
ln -s debian-installer/amd64/grub .

systemctl restart tftpd-hpa

Links in our description may be affiliate links which help our channel grow.

Check out our new merch store:
https://store.virtualizeeverything.com/
Gear we use:

Gear We Use


source

by virtualize everything

linux dhcp server

Alice AUSTIN

Alice AUSTIN is studying Cisco Systems Engineering. He has passion with both hardware and software and writes articles and reviews for many IT websites.

3 thoughts on “How to setup to Netboot Servers to Install Debian 11 Network install PXE Boot

  • I need this… but not just for one specific os. How do we get different ones. Also, can we do this in docker containers?

  • great, I did it, thanks for the video, now I would like to automate answers to questions during installation, is there a similar lesson planned?

Comments are closed.