Changes between Version 3 and Version 4 of Orbit/Building/PXE


Ignore:
Timestamp:
Sep 26, 2005, 1:46:10 PM (19 years ago)
Author:
max
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Orbit/Building/PXE

    v3 v4  
    1818== DHCP Server ==
    1919
    20 ''Information primarily on how to configure DHCP. Maybe attach a sample file''
     20To support PXE we need a DHCP server. This server does not necessarily need to be instantiated at the same machine as the TFTP server, but it's configuration needs to point to it.
     21
     22Installing a DHCP server on Debian is as simple as:
     23
     24{{{
     25% apt-get install dhcp
     26}}}
     27
     28'''Are we using "dhcp3"?'''
     29
     30To support PXE, we need to add to /etc/dhcpd.conf something like:
     31
     32{{{
     33option domain-name "example.com";
     34
     35default-lease-time 600;
     36max-lease-time 7200;
     37
     38allow booting;
     39allow bootp;
     40
     41# The next paragraph needs to be modified to fit your case
     42subnet 192.168.1.0 netmask 255.255.255.0 {
     43  range 192.168.1.200 192.168.1.253;
     44  option broadcast-address 192.168.1.255;
     45# the gateway address which can be different
     46# (access to the internet for instance)
     47  option routers 192.168.1.1;
     48# indicate the dns you want to use
     49  option domain-name-servers 192.168.1.3;
     50}
     51
     52group {
     53 next-server 192.168.1.3;
     54 host tftpclient {
     55# tftp client hardware address
     56  hardware ethernet  00:10:DC:27:6C:15;
     57  filename "/tftpboot/pxelinux.0";
     58 }
     59}
     60
     61}}}
     62
     63'''Where are we getting the 'pxelinux.0' file from? Is that in an apt, or should we add that to our "orbit-pxe-server" package?'''
     64
     65After you have edited the dhcpd configuration file, restart it with "/etc/init.d/dhcpd restart".
    2166
    2267== Installing a TFTP server ==