LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-18-2014, 12:50 PM   #1
pwn
LQ Newbie
 
Registered: Jul 2010
Posts: 8

Rep: Reputation: 0
Is there a missing flag I need for DHCPD to respond to relayed requests?


Hi all,

Am I missing a flag? DHCP is working for the local NIC subnet (172.16.252.0/25), but not for anything coming over DHCP relay (172.16.251.0/26). TCP dump confirms the relay inbound:

Code:
02:47:40.416725 IP 172.16.252.1.bootps > 172.16.252.3.bootps: BOOTP/DHCP, Request from 00:0c:29:bf:cf:39 (oui Unknown), length 548
02:47:44.480925 IP 172.16.252.1.bootps > 172.16.252.3.bootps: BOOTP/DHCP, Request from 00:0c:29:bf:cf:39 (oui Unknown), length 548
02:47:52.555107 IP 172.16.252.1.bootps > 172.16.252.3.bootps: BOOTP/DHCP, Request from 00:0c:29:bf:cf:39 (oui Unknown), length 548
Here is the config:

Code:
allow booting;
allow bootp;
ignore client-updates;
set vendorclass = option vendor-class-identifier;
option pxe-system-type code 93 = unsigned integer 16;

subnet 172.16.252.0 netmask 255.255.255.128 {
     option routers             172.16.252.1;
     option subnet-mask         255.255.255.128;
     range dynamic-bootp        172.16.252.100 172.16.252.126;
     default-lease-time         21600;
     max-lease-time             43200;
     next-server                172.16.252.3;
     class "pxeclients" {
          match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";
          if option pxe-system-type = 00:02 {
                  filename "ia64/elilo.efi";
          } else if option pxe-system-type = 00:06 {
                  filename "grub/grub-x86.efi";
          } else if option pxe-system-type = 00:07 {
                  filename "grub/grub-x86_64.efi";
          } else {
                  filename "pxelinux.0";
          }
     }
}

subnet 172.16.251.0 netmask 255.255.255.192 {
     option routers             172.16.251.1;
     option subnet-mask         255.255.255.192;
     range dynamic-bootp        172.16.251.48 172.16.251.62;
     default-lease-time         21600;
     max-lease-time             43200;
     next-server                172.16.252.3;
     class "pxeclients" {
          match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";
          if option pxe-system-type = 00:02 {
                  filename "ia64/elilo.efi";
          } else if option pxe-system-type = 00:06 {
                  filename "grub/grub-x86.efi";
          } else if option pxe-system-type = 00:07 {
                  filename "grub/grub-x86_64.efi";
          } else {
                  filename "pxelinux.0";
          }
     }

host galera1.dev
    {
    hardware ethernet 00:0c:29:bf:cf:39;
    fixed-address 172.16.251.2;
    }

}
Thanks in advance!
Morgan

Last edited by pwn; 09-18-2014 at 01:05 PM.
 
Old 09-18-2014, 01:05 PM   #2
pwn
LQ Newbie
 
Registered: Jul 2010
Posts: 8

Original Poster
Rep: Reputation: 0
Bonehead mistake, I put the machine in a different vlan which I had not added a subnet definition for yet.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache server does not respond to LAN http requests fedix Linux - Server 9 07-18-2012 02:51 PM
DHCPD: how to get deamon to respond to relay agents, but not locally Hewson Linux - Networking 4 11-21-2008 04:57 AM
Can't get my http server to respond to requests... garydamm Linux - Networking 9 01-16-2005 10:00 AM
Newbie: Trouble configuring http to respond to outside requests garydamm Linux - Networking 2 01-12-2005 11:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration