Using OMAPI to release a DHCP lease on a failover pair

sthaug at nethelp.no sthaug at nethelp.no
Thu Jul 30 20:20:04 UTC 2020


> Interesting. You would only have two available addresses, right? The network address and the broadcast address? Which one does the device answer to?

When using IPv4 /31 there's really no "network address" or "broadcast
address". There are simply two IP addresses. One is the router and the
other is the client. Supported by lots of equipment, and also ISC
DHCP.

Example:

# Router is at lowest address of the /31
subnet 172.16.1.10 netmask 255.255.255.254
{
        option routers 172.16.1.10;
        range 172.16.1.11 172.16.1.11;
}

but you could also do

# Router is at highest address of the /31
subnet 172.16.1.10 netmask 255.255.255.254
{
        option routers 172.16.1.11;
        range 172.16.1.10 172.16.1.10;
}

There is no magic here.

Steinar Haug, Nethelp consulting, sthaug at nethelp.no


More information about the dhcp-users mailing list