Difference between revisions of "TFTP server manage netboot kernels"

Line 13: Line 13:
  
 
As you can see you have 3 possibilities:
 
As you can see you have 3 possibilities:
# MAC @ filter. Configuration file name must be:
+
 
 +
 
 +
1. '''MAC @ filter'''. Configuration file name must be:
 
* Start with ARP type '01-'
 
* Start with ARP type '01-'
 
* all in lower case hexadecimal
 
* all in lower case hexadecimal
 
* dash '-' separators instead of ';'  
 
* dash '-' separators instead of ';'  
 
for example a MAC @ 88:99:AA:BB:CC:DD would search for the filename 01-88-99-aa-bb-cc-dd.
 
for example a MAC @ 88:99:AA:BB:CC:DD would search for the filename 01-88-99-aa-bb-cc-dd.
# IP @ filter. Configuration file name must be:
+
 
 +
 
 +
2. '''IP @ filter'''. Configuration file name must be:
 
* host IP / network address in hexadecimal
 
* host IP / network address in hexadecimal
 
* all in upper case
 
* all in upper case
 
e.g. 192.0.2.91 -> C000025B  
 
e.g. 192.0.2.91 -> C000025B  
 +
 +
 +
3. Default configuration
 +
 +
 +
To learn more about all the available option, check out http://www.syslinux.org/wiki/index.php/PXELINUX.
  
  

Revision as of 09:30, 21 August 2014


TFTP configuration

TFTP can manage different configurations, up to 1 per host!

This is how a ThinClient (= netBoot client) will retrieve its configuration:


TFTP getConfiguration()


As you can see you have 3 possibilities:


1. MAC @ filter. Configuration file name must be:

  • Start with ARP type '01-'
  • all in lower case hexadecimal
  • dash '-' separators instead of ';'

for example a MAC @ 88:99:AA:BB:CC:DD would search for the filename 01-88-99-aa-bb-cc-dd.


2. IP @ filter. Configuration file name must be:

  • host IP / network address in hexadecimal
  • all in upper case

e.g. 192.0.2.91 -> C000025B


3. Default configuration


To learn more about all the available option, check out http://www.syslinux.org/wiki/index.php/PXELINUX.



TFTP folder tree

This is how we'll setup our files and folders:

##### TFTP root
/tftpboot/                                   


#### PXE application
/tftpboot/pxelinux.0


#### Boot configuration

/tftpboot/pxelinux.cfg/                # PXE configuration(s)
/tftpboot/pxelinux.cfg/menu.c32        # PXE interactive menu (text)
/tftpboot/pxelinux.cfg/vesamenu.c32    # PXE interactive menu (graphical)

/tftpboot/pxelinux.cfg/default                  # default NetBoot configuration

/tftpboot/pxelinux.cfg/01-ec-a8-6b-fd-da-44     # specific configuration for host with MAC @ "EC-A8-6B-FD-DA-44"


#### Netboot Kernels

/tftpboot/images/