lease x.x.x.x unavailable.

Tim Gavin livewire98801 at gmail.com
Fri Mar 26 05:16:11 UTC 2010


Can someone please tell me what I've got wrong?

These are a remote segment via a cisco with a helper-address entry.

Log entries (during one second here, there are 34 echanges of
discover-offer-request-nak):

Mar 25 21:27:07 dhcp dhcpd: DHCPDISCOVER from 00:22:68:69:c9:61
(Sattlelite-PC) via 10.100.224.161
Mar 25 21:27:07 dhcp dhcpd: DHCPOFFER on 10.100.226.189 to
00:22:68:69:c9:61 (Sattlelite-PC) via 10.100.224.161
Mar 25 21:27:07 dhcp dhcpd: DHCPREQUEST for 10.100.226.189
(192.168.220.158) from 00:22:68:69:c9:61 via 10.100.224.161: lease
10.100.226.189 unavailable.
Mar 25 21:27:07 dhcp dhcpd: DHCPNAK on 10.100.226.189 to
00:22:68:69:c9:61 via 10.100.224.161
Mar 25 21:27:07 dhcp dhcpd: DHCPDISCOVER from 00:22:68:69:c9:61
(Sattlelite-PC) via 10.100.224.161
Mar 25 21:27:07 dhcp dhcpd: DHCPOFFER on 10.100.226.189 to
00:22:68:69:c9:61 (Sattlelite-PC) via 10.100.224.161
Mar 25 21:27:07 dhcp dhcpd: DHCPREQUEST for 10.100.226.189
(192.168.220.158) from 00:22:68:69:c9:61 via 10.100.224.161: lease
10.100.226.189 unavailable.
Mar 25 21:27:07 dhcp dhcpd: DHCPNAK on 10.100.226.189 to
00:22:68:69:c9:61 via 10.100.224.161



The segment that was broken:
Grant-CF_hub009-A had the broken address, and Grant-CF_hub009 was
working.  I commented out the second part of the shared-network
statement, and the user got a lease from the first half.


shared-network Grant-CF_hub009 {
#$Grant-CF_hub009
        subnet 10.100.224.160 netmask 255.255.255.240 {
         range 10.100.224.163 10.100.224.174;
         option domain-name-servers 192.168.220.131, 192.168.220.132;
         option domain-name "ifiber.tv";
         option routers 10.100.224.161;
         option broadcast-address 10.100.224.174;
        # default-lease-time 43200;     #12 hours
        # max-lease-time 86400;         #24 hours
         default-lease-time 3600;       #1 hour
         max-lease-time 7200;           #2 hours
         authoritative;
        }
#$Grant-CF_hub009-A
        subnet 10.100.226.176 netmask 255.255.255.240 {
         range 10.100.226.178 10.100.226.190;
         option domain-name-servers 192.168.220.131, 192.168.220.132;
         option domain-name "ifiber.tv";
         option routers 10.100.226.177;
         option broadcast-address 10.100.226.191;
        # default-lease-time 43200;     #12 hours
        # max-lease-time 86400;         #24 hours
         default-lease-time 3600;       #1 hour
         max-lease-time 7200;           #2 hours
         authoritative;
        }
}




A working config from another vlan:


shared-network Phone {

#$Phone - vlan410
        subnet 172.34.241.0 netmask 255.255.255.0 {
          range 172.34.241.5 172.34.241.254;
          option domain-name-servers 192.168.220.131, 192.168.220.132;
          option domain-name "ifiber.tv";
          option routers 172.34.241.1;
          option broadcast-address 172.34.241.255;
          default-lease-time 43200;     #12 hours
          max-lease-time 86400;         #24 hours
#         default-lease-time 3600;      #1 hour
#         max-lease-time 7200;          #2 hours
          authoritative;
        }

#$Phone - vlan410
        subnet 172.34.242.0 netmask 255.255.255.0 {
          range 172.34.242.5 172.34.242.254;
          option domain-name-servers 192.168.220.131, 192.168.220.132;
          option domain-name "ifiber.tv";
          option routers 172.34.242.1;
          option broadcast-address 172.34.241.255;
          default-lease-time 43200;     #12 hours
          max-lease-time 86400;         #24 hours
#         default-lease-time 3600;      #1 hour
#         max-lease-time 7200;          #2 hours
          authoritative;
        }
authoritative;
}


Thanks,

Tim



More information about the dhcp-users mailing list