1

我在 ubuntu 上配置了 dhcpv6 服务器。我根据接口 ID 为每个客户端定义了静态绑定。但是当客户端请求时,DHCPv6 服务器上的分配失败。“ dhcpd[122762]: send_packet6: 错误的文件描述符

----在dhcpv6服务器上配置----

subnet6 2404:e801:1014::/48 {
    host client-name-2404.e801.1014.5 {
        host-identifier option dhcp6.interface-id "OLT3923.IOT xpon 0/2/0/1:2404:e801:1014::5";
        fixed-address6 2404:e801:1014::5;
        fixed-prefix6 b1a1:3003:1014:5::/64;
    }

----系统日志消息----

dhcpd[122762]: Relay-forward message from 2406:3003:1:5a::1 port 547, link address 2404:e801:1014::1, peer address fe80::244:1ff:fe00:1
dhcpd[122762]: Advertise NA: address 2404:e801:1014::5 to client with duid 00:01:00:01:26:69:f0:4b:00:44:01:00:00:01 iaid = 1 static
dhcpd[122762]: Advertise PD: address b1a1:3003:1014:5::/64 to client with duid 00:01:00:01:26:69:f0:4b:00:44:01:00:00:01 iaid = 2 static
dhcpd[122762]: Sending Relay-reply to 2406:3003:1:5a::1 port 547
dhcpd[122762]: send_packet6: Bad file descriptor
dhcpd[122762]: dhcpv6: send_packet6() sent -1 of 177 bytes
dhcpd[122762]: Relay-forward message from 2406:3003:1:5a::1 port 547, link address 2404:e801:1014::1, peer address fe80::244:1ff:fe00:1
dhcpd[122762]: Advertise NA: address 2404:e801:1014::5 to client with duid 00:01:00:01:26:69:f0:4b:00:44:01:00:00:01 iaid = 1 static
dhcpd[122762]: Advertise PD: address b1a1:3003:1014:5::/64 to client with duid 00:01:00:01:26:69:f0:4b:00:44:01:00:00:01 iaid = 2 static
dhcpd[122762]: Sending Relay-reply to 2406:3003:1:5a::1 port 547
dhcpd[122762]: send_packet6: Bad file descriptor
dhcpd[122762]: dhcpv6: send_packet6() sent -1 of 177 bytes


lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 19.10
Release:        19.10
Codename:       eoan
4

1 回答 1

0

用于 dhcpv6 服务器的接口也有用于其他功能的子接口。

删除子接口后,分配成功。

这看起来像一个限制/错误,但找不到任何文档。

于 2020-06-03T06:54:32.753 回答