Hi, I have a problem, OpenWRT displays wrong hostname in "Active DHCPv6 Leases"
section for one of my devices.
In the table, host is labeled as todoistFrame (ulnMonitor.lan)
when I would expect it to be labeled as todoistFrame (todoistFrame.lan)
. All devices are labeled correctly in "Active DHC Leases" section. Both devices have static leases set as follows:
config host
option name 'todoistFrame'
option mac 'B8:27:EB:30:38:32'
option ip '192.168.1.64'
option duid '00010001298602100013ef400927'
config host
option name 'ulnMonitor'
option mac '00:13:EF:40:09:27'
option ip '192.168.1.48'
option duid '000100012d014e4b0013ef400927'
The only clue I have is the fragment below from running command ubus call luci-rpc getHostHints
, where ulnMonitor is associate with its own address (fd37:7772:7f70::48
) and the address of todoistFrame (fd37:7772:7f70::64
).
"00:13:EF:40:09:27": {
"ipaddrs": [
"192.168.1.48"
],
"ip6addrs": [
"fd37:7772:7f70::48",
"fd37:7772:7f70::64",
"fe80::ba14:c39b:b348:f7e4"
],
"name": "ulnMonitor.lan"
},
Is there any way to fix this?
Full output of ubus call luci-rpc getHostHints
command
{
"00:13:EF:40:09:27": {
"ipaddrs": [
"192.168.1.48"
],
"ip6addrs": [
"fd37:7772:7f70::48",
"fd37:7772:7f70::64",
"fe80::ba14:c39b:b348:f7e4"
],
"name": "ulnMonitor.lan"
},
"B8:27:EB:30:38:32": {
"ipaddrs": [
"192.168.1.64"
],
"ip6addrs": [
"fe80::70eb:60f1:ffdb:dd11"
],
"name": "todoistFrame.lan"
},
"00:D8:61:C4:43:15": {
"ipaddrs": [
"192.168.1.24"
],
"ip6addrs": [
"fd37:7772:7f70::24",
"fd37:7772:7f70:0:e92c:67c2:4a2f:9d3c",
"fe80::4080:1911:681c:6e30"
],
"name": "Bumi.lan"
},
"44:91:60:2C:C8:3B": {
"ipaddrs": [
"192.168.1.240"
],
"ip6addrs": [
"fe80::4691:60ff:fe2c:c83b"
],
"name": "GW-4491602CC83B.lan"
},
"54:60:09:9F:DC:C8": {
"ipaddrs": [
"192.168.1.150"
],
"ip6addrs": [
],
"name": "Google-Home.lan"
},
"68:02:B8:8F:21:52": {
"ipaddrs": [
"192.168.0.1"
],
"ip6addrs": [
]
},
"80:AF:CA:07:8C:D4": {
"ipaddrs": [
"192.168.1.1"
],
"ip6addrs": [
"fe80::82af:caff:fe07:8cd4"
],
"name": "Cuda_X6_OpenWrt.lan"
},
"80:AF:CA:07:8C:D5": {
"ipaddrs": [
"192.168.0.150"
],
"ip6addrs": [
"fe80::82af:caff:fe07:8cd5"
]
},
"82:AF:CA:17:8C:D4": {
"ipaddrs": [
],
"ip6addrs": [
"fe80::80af:caff:fe17:8cd4"
]
}
}
/tmp/dhcp.leases content:
1705828268 5c:0c:e6:ee:27:25 192.168.1.140 * *
1705825356 aa:2c:ef:bc:78:a5 192.168.1.212 * 01:aa:2c:ef:bc:78:a5
1705825010 92:b2:0c:2d:54:1c 192.168.1.173 * 01:92:b2:0c:2d:54:1c
1705824359 54:60:09:9f:dc:c8 192.168.1.150 Google-Home *
1705824353 44:91:60:2c:c8:3b 192.168.1.240 GW-4491602CC83B *
1705824344 00:d8:61:c4:43:15 192.168.1.24 Bumi 01:00:d8:61:c4:43:15
1705824343 00:13:ef:40:09:27 192.168.1.48 ulnMonitor 01:00:13:ef:40:09:27
1705824066 b8:27:eb:30:38:32 192.168.1.64 todoistFrame 01:b8:27:eb:30:38:32