Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#2142 - odhcpd: IPv4 lease table reports as full after 6 leases with 150 lease limit #6993

Closed
openwrt-bot opened this issue Feb 24, 2019 · 1 comment
Labels

Comments

@openwrt-bot
Copy link

mtracy:

This is occurring on trunk build r9419 on x86 (PC Engines APU2). Make menuconfig deselects dnsmasq and selects full version of odhcpd. IPv6 address assignment appears to work normally. Stations get a IPv6 lease but not IPv4.

Sun Feb 24 16:21:03 2019 daemon.warn odhcpd[1892]: Can't assign any IP address -> address space is full
Sun Feb 24 16:21:11 2019 daemon.warn odhcpd[1892]: Can't assign any IP address -> address space is full
Sun Feb 24 16:21:28 2019 daemon.warn odhcpd[1892]: Can't assign any IP address -> address space is full
Sun Feb 24 16:22:01 2019 daemon.warn odhcpd[1892]: Can't assign any IP address -> address space is full
Sun Feb 24 16:22:05 2019 daemon.warn odhcpd[1892]: Can't assign any IP address -> address space is full
Sun Feb 24 16:22:12 2019 daemon.warn odhcpd[1892]: Can't assign any IP address -> address space is full
Sun Feb 24 16:22:29 2019 daemon.warn odhcpd[1892]: Can't assign any IP address -> address space is full
Sun Feb 24 16:22:51 2019 daemon.warn odhcpd[1892]: Can't assign any IP address -> address space is full
Sun Feb 24 16:22:51 2019 daemon.warn odhcpd[1892]: Received DHCPV4_MSG_REQUEST from c8:d0:83:4c:5e:9c on lan
Sun Feb 24 16:22:51 2019 daemon.err odhcpd[1892]: Sent DHCPV4_MSG_NAK to ff:ff:ff:ff:ff:ff - 255.255.255.255
Sun Feb 24 16:22:51 2019 daemon.warn odhcpd[1892]: Can't assign any IP address -> address space is full
Sun Feb 24 16:22:53 2019 daemon.warn odhcpd[1892]: Can't assign any IP address -> address space is full
Sun Feb 24 16:23:44 2019 daemon.warn odhcpd[1892]: Can't assign any IP address -> address space is full
Sun Feb 24 16:23:49 2019 daemon.warn odhcpd[1892]: Can't assign any IP address -> address space is full
Sun Feb 24 16:23:52 2019 daemon.warn odhcpd[1892]: Can't assign any IP address -> address space is full
Sun Feb 24 16:24:00 2019 daemon.warn odhcpd[1892]: Can't assign any IP address -> address space is full
Sun Feb 24 16:24:16 2019 daemon.warn odhcpd[1892]: Can't assign any IP address -> address space is full
Sun Feb 24 16:24:48 2019 daemon.warn odhcpd[1892]: Can't assign any IP address -> address space is full

root@openwrt-gate:~# cat /etc/config/dhcp

config odhcpd 'odhcpd'
option maindhcp '1'
option leasefile '/tmp/hosts/odhcpd'
option leasetrigger '/usr/lib/unbound/odhcpd.sh'
option loglevel '4'

config dhcp 'lan'
option start '100'
option leasetime '12h'
option limit '150'
option interface 'lan'
option dhcpv4 'server'
option dhcpv6 'server'
option ra 'server'
option ra_management '2'

root@openwrt-gate:~# cat /tmp/hosts/odhcpd

eth1 00010001216440c0086698d8b966 0 - 1551072817 272 128 2600:6c5a:4c80:eca::272/128 fd75:485:c591::272/128

eth1 0001000123b28c4a30d9d965a45e 0 - 1551072817 4a8 128 2600:6c5a:4c80:eca::4a8/128 fd75:485:c591::4a8/128

eth1 0001000123b282cbc8d0834c5e9c 0 - 1551072817 535 128 2600:6c5a:4c80:eca::535/128 fd75:485:c591::535/128

2600:6c5a:4c80:eca::819 DESKTOP-R68N6CH
fd75:485:c591::819 DESKTOP-R68N6CH

eth1 0001000123c08b0c4ccc6a7f4a57 6f85971 DESKTOP-R68N6CH 1551072817 819 128 2600:6c5a:4c80:eca::819/128 fd75:485:c591::819/128

eth1 000100012190132c40cbc0e6ce15 0 - 1551072817 b96 128 2600:6c5a:4c80:eca::b96/128 fd75:485:c591::b96/128

2600:6c5a:4c80:eca::df1 kids-PC2
fd75:485:c591::df1 kids-PC2

eth1 0001000122b77f946c0b84dd3315 1274f06d kids-PC2 1551072817 df1 128 2600:6c5a:4c80:eca::df1/128 fd75:485:c591::df1/128

192.168.10.101 Apple-TV-2

eth1 40cbc0e6ce24 ipv4 Apple-TV-2 1551083612 c0a80a65 32 192.168.10.101/32

192.168.10.102 JkL-cZR

eth1 30d9d965a45e ipv4 JkL-cZR 1551085748 c0a80a66 32 192.168.10.102/32

192.168.10.103 Bedroom

eth1 086698d8b965 ipv4 Bedroom 1551083729 c0a80a67 32 192.168.10.103/32

192.168.10.105 DESKTOP-R68N6CH

eth1 f85971e93379 ipv4 DESKTOP-R68N6CH 1551083428 c0a80a69 32 192.168.10.105/32

root@openwrt-gate:~# ubus call dhcp ipv4leases
{
"device": {
"eth1": {
"leases": [
{
"mac": "000000000000",
"hostname": "Apple-TV-2",
"accept-reconf-nonce": false,
"flags": [

                                    ],
                                    "address": "192.168.10.100",
                                    "valid": 624
                            },
                            {
                                    "mac": "40cbc0e6ce24",
                                    "hostname": "Apple-TV-2",
                                    "accept-reconf-nonce": false,
                                    "flags": [
                                            "bound"
                                    ],
                                    "address": "192.168.10.101",
                                    "valid": 40235
                            },
                            {
                                    "mac": "30d9d965a45e",
                                    "hostname": "JkL-cZR",
                                    "accept-reconf-nonce": false,
                                    "flags": [
                                            "bound"
                                    ],
                                    "address": "192.168.10.102",
                                    "valid": 42371
                            },
                            {
                                    "mac": "086698d8b965",
                                    "hostname": "Bedroom",
                                    "accept-reconf-nonce": false,
                                    "flags": [
                                            "bound"
                                    ],
                                    "address": "192.168.10.103",
                                    "valid": 40352
                            },
                            {
                                    "mac": "000000000000",
                                    "hostname": "JkL-cZR",
                                    "accept-reconf-nonce": false,
                                    "flags": [

                                    ],
                                    "address": "192.168.10.104",
                                    "valid": 2118
                            },
                            {
                                    "mac": "f85971e93379",
                                    "hostname": "DESKTOP-R68N6CH",
                                    "accept-reconf-nonce": false,
                                    "flags": [
                                            "bound"
                                    ],
                                    "address": "192.168.10.105",
                                    "valid": 40051
                            }
                    ]
            }
    }

}

@openwrt-bot
Copy link
Author

mtracy:

Git pull and package update was done prior to compile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant