Re; [syslinux] Multihomed DHCP and PXE?

Jason Gerfen jason.gerfen at scl.utah.edu
Thu Sep 29 11:49:27 PDT 2005


That is what I thought, but just to clarify:

I am using static dhcp hosts in the dhcpd.conf and our network config. 
is similar to this:

3 subnets

192.168.15.0/24
192.168.16.0/24
192.168.17.0/24

dhcpd.conf

### Global Settings for DHCP Services ###
option domain-name="dom.com";
default-lease-time 900;
max-lease-time 1800;
ddns-update-style none;
authoritative;
allow bootp;
allow booting;

### Static PXE Boot options ###
option space PXE;
option PXE.mtftp-ip     code 1 = ip-address;
option PXE.mtftp-cport  code 2 = unsigned integer 16;
option PXE.mtftp-sport  code 3 = unsigned integer 16;
option PXE.mtftp-tmout  code 4 = unsigned integer 8;
option PXE.mtftp-delay  code 5 = unsigned integer 8;

### Global config per subnet ###
subnet 192.168.15.0
       netmask 255.255.255.0 {
               option domain-name-servers 192.168.15.2, 192.168.15.3;
               option routers 192.168.15.1;
       }
subnet 192.168.16.0
       netmask 255.255.255.0 {
               option domain-name-servers 192.168.16.2, 192.168.16.3;
               option routers 192.168.16.1;
       }
subnet 192.168.17.0
       netmask 255.255.255.0 {
               option domain-name-servers 192.168.17.2, 192.168.17.3;
               option routers 192.168.17.1;
       }

### Static host assignments ###
group {
       next-server 155.97.15.2;
       filename "/tftproot/pxelinux.0";
       host test-01 {
               hardware ethernet xx:xx:xx:xx:xx:xx;
               fixed-address 192.168.15.10;
       }
group {
       next-server 155.97.16.2;
       filename "/tftproot/pxelinux.0";
       host test-02 {
               hardware ethernet xx:xx:xx:xx:xx:xx;
               fixed-address 192.168.16.10;
       }
group {
       next-server 155.97.17.2;
       filename "/tftproot/pxelinux.0";
       host test-03 {
               hardware ethernet xx:xx:xx:xx:xx:xx;
               fixed-address 192.168.17.10;
       }

Where the group specifies each interface the DHCP services is listening 
correct?


H. Peter Anvin wrote:

> Jason Gerfen wrote:
>
>> I am not sure if anyone has done this but I am assuming it has been 
>> done before.  Setting up a multihomed DHCP server accross multiple 
>> network blocks to issue PXE/BOOTP setup actions?  Some background, I 
>> have successfully setup PXE to work with a cross over cable (first 
>> setup and testing env.), moved cient/server to switch and configured 
>> boot menu, images etc.  and now after setting up the PXE/DHCP/TFTP 
>> server to listen on multiple interfaces I am not able to get the 
>> client to get a TFTP connection.
>
>
>
> This is standard, but you have to configure each subnet and interface 
> in dhcpd.conf.
>
>     -hpa




-- 
Jason Gerfen

"My girlfriend threated to
leave me if I went boarding...
I will miss her."
~ DIATRIBE aka FBITKK




More information about the Syslinux mailing list