First time relayed network

Tuc at Beach House tuctboh at gmail.com
Wed Mar 22 19:12:44 UTC 2017


Hi,


I'm trying to figure out how to do relayed subnets within a datacenter
owners environment and our (sorry, old) 4.1.1-38.P1 ISC DHCP server.
Normally we allocated an interface to our machine for every subnet
that its on, but this new network is "remote" and they won't stretch
L2 to us.

So the normal config isn't what I'm used to, but works :

        subnet 10.14.14.0 netmask 255.255.255.0 {

               interface eth0;
                authoritative;
                allow booting;
                option routers                  10.14.14.1;
                option subnet-mask              255.255.255.0;
                option domain-name              "cust19782.dc.example.com";
                option domain-name-servers      10.14.2.1;
                option ntp-servers              10.14.2.1;
                next-server 10.14.14.11
                filename "pxelinux.0";
                pool {
                        option routers                  10.14.14.1;
                        option domain-name-servers 10.14.2.1;
                        max-lease-time 600;
                        range 10.14.14.200 10.14.14.254;
                        allow unknown-clients;
                }
        }


And the others all are the same, but with different "interface"
statements. It is not wrapped in any sort of "shared-network"
statement.

I'm getting valid Option 82 information, so I did :

class "EXTDHCP" {
match if option agent.link-selection  = "10.14.18.0";
}

And then pretty much the same except removed the "interface"
statement, and added "allow members of "EXTDHCP";" into the pool
statement.

However, all I keep seeing in my logs is :

dhcpd: DHCPDISCOVER from 81:9c:de:3b:61:02 via 10.14.17.2: unknown
network segment

10.14.17.2 is the TOR switch IP thats handling the relay. I can't seem
to find any more in depth debug. Pointers to where I went wrong? (And
"Using DHCPD 4.1.1" if it can't do it is acceptable)


Thanks, Tuc


More information about the dhcp-users mailing list