Posts

Showing posts from March, 2018

PXE server (Preboot Execution Environment)

PXE server (Preboot Execution Environment) Combine DHCP service as well as tftp service. Provide ip address through client MAC address, and send boot image for boot up. Condition NIC (Network interface card) have to support PXE function. DHCP and TFTP services are needed. DHCP Ubuntu Install : sudo apt-get install -y isc-dhcp-server Set NIC : vim /etc/default/isc-dhcp-server INTERFACES=<Interface Name> Set Config: sudo vim /etc/dhcp/dhcpd.conf CentOS7 Install : sudo yum install -y dhcp Set NIC : vim /etc/sysconfig/dhcpd DHCPDARGS=<Interface Name> Set Config : vim /etc/dhcp/dhcpd.conf DHCP config (Ubuntu & CentOS) ignore client-updates; default-lease-time 600; max-lease-time 7200; option routers 192.168.1.254; option broadcast-address 192.168.1.255; allow booting; allow bootp; subnet 192.168.1.0 netmask 255.255.255.0 {          ...