Chapter 3. PXE server

You can get the rpm : pxe-1.2.0-2mdk and pxe-sample-1.2.0-2mdk on the Mandrake Linux cooker repositery [5] This rpm is based on pxe.1.2.tar.gz. found on : http://www.kano.org.uk/projects/pxe/.

File pxe.conf is read by the pxe server to get its informations. You can specify the config file to the pxe server with the -c option. The default pxe.conf is in /etc directory with the vanilla RPM.

Check you have those lines in /etc/services :

altserviceboot  4011/udp   #Alternate Service Boot
	
launch the server :

/etc/rc.d/init.d/pxe start

In the /etc/rc.d/init.d/pxe init script there are 2 lines that add a route to the broadcast address and a route to the multicast address.

route add -host 255.255.255.255 $INTERFACE

route add -net 224.0.0.0 netmask 224.0.0.0 $INTERFACE

where $INTERFACE is the name of the network interface used.

You can check if your server is runnning on port 4011 with :

netstat -na | grep 4011

That command should produce the following output :
	
udp        0      0 0.0.0.0:4011            0.0.0.0:*                           
udp        0      0 192.168.200.1:4011      0.0.0.0:*