dhcpd6
Ladislav Kaderjak
laco na unicom.sk
Pátek Duben 30 11:12:41 CEST 2021
riesim problem ako spravne nastavit fixne adresy pridelovane DHCP servom, zariadeniam s viac siet. kartami (typicky eth, wlan)
Debian Buster
isc-dhcp-server 4.4.1-2
dhcpd6.conf:
default-lease-time 6000;
max-lease-time 7200;
log-facility local7;
subnet6 2a02:cafe:cafe:cafe::/64 {
range .....
option dhcp6.name-servers ......
option dhcp6.domain-search ....
host rp {
host-identifier option dhcp6.client-id 00:01:00:01:25:1e:c1:c3:b8:27:eb:26:3f:75;
fixed-address6 2a02:cafe:cafe:cafe::9876;
}
}
rp W7: po chvili zahlasi konflikt adries a vsetko ide dalej
rp DebianBuster na jednej karte nastavi fixnu adresu a vsetko ide ako ma
rp MacOS 11.3 na jednej karte nastavi fix addr a potom zacne kolotoc
Apr 29 12:10:27 ic6 dhcpd[7334]: Sending Advertise to fe80::1c6f:f857:7ba0:8411 port 546
Apr 29 12:10:28 ic6 dhcpd[7334]: Request message from fe80::1c6f:f857:7ba0:8411 port 546, transaction ID 0x5A872B00
Apr 29 12:10:28 ic6 dhcpd[7334]: Reply NA: address 2a02:cafe:cafe:cafe::9876 to client with duid 00:01:00:01:26:a7:f7:9a:98:e0:d9:76:c1:13 iaid = 5 static
Apr 29 12:10:28 ic6 dhcpd[7334]: Sending Reply to fe80::1c6f:f857:7ba0:8411 port 546
Apr 29 12:10:29 ic6 dhcpd[7334]: Decline message from fe80::1c6f:f857:7ba0:8411 port 546, transaction ID 0xEAF9EF00
Apr 29 12:10:29 ic6 dhcpd[7334]: Client 00:01:00:01:26:a7:f7:9a:98:e0:d9:76:c1:13 reports address 2a02:cafe:cafe:cafe::9876 is already in use by another host!
Apr 29 12:10:29 ic6 dhcpd[7334]: Sending Reply to fe80::1c6f:f857:7ba0:8411 port 546
Apr 29 12:10:29 ic6 dhcpd[7334]: Solicit message from fe80::1c6f:f857:7ba0:8411 port 546, transaction ID 0xB3B6400
Apr 29 12:10:29 ic6 dhcpd[7334]: Advertise NA: address 2a02:cafe:cafe:cafe::9876 to client with duid 00:01:00:01:26:a7:f7:9a:98:e0:d9:76:c1:13 iaid = 5 static
Apr 29 12:10:29 ic6 dhcpd[7334]: Sending Advertise to fe80::1c6f:f857:7ba0:8411 port 546
Apr 29 12:10:30 ic6 dhcpd[7334]: Request message from fe80::1c6f:f857:7ba0:8411 port 546, transaction ID 0xAE15A000
Apr 29 12:10:30 ic6 dhcpd[7334]: Reply NA: address 2a02:cafe:cafe:cafe::9876 to client with duid 00:01:00:01:26:a7:f7:9a:98:e0:d9:76:c1:13 iaid = 5 static
Apr 29 12:10:30 ic6 dhcpd[7334]: Sending Reply to fe80::1c6f:f857:7ba0:8411 port 546
Apr 29 12:10:31 ic6 dhcpd[7334]: Decline message from fe80::1c6f:f857:7ba0:8411 port 546, transaction ID 0x644CCA00
Apr 29 12:10:31 ic6 dhcpd[7334]: Client 00:01:00:01:26:a7:f7:9a:98:e0:d9:76:c1:13 reports address 2a02:cafe:cafe:cafe::9876 is already in use by another host!
Apr 29 12:10:31 ic6 dhcpd[7334]: Sending Reply to fe80::1c6f:f857:7ba0:8411 port 546
Apr 29 12:10:32 ic6 dhcpd[7334]: Solicit message from fe80::1c6f:f857:7ba0:8411 port 546, transaction ID 0xBFE5EF00
Apr 29 12:10:32 ic6 dhcpd[7334]: Advertise NA: address 2a02:cafe:cafe:cafe::9876 to client with duid 00:01:00:01:26:a7:f7:9a:98:e0:d9:76:c1:13 iaid = 5 static
Apr 29 12:10:32 ic6 dhcpd[7334]: Sending Advertise to fe80::1c6f:f857:7ba0:8411 port 546
Apr 29 12:10:33 ic6 dhcpd[7334]: Request message from fe80::1c6f:f857:7ba0:8411 port 546, transaction ID 0x8473A400
Apr 29 12:10:33 ic6 dhcpd[7334]: Reply NA: address 2a02:cafe:cafe:cafe::9876 to client with duid 00:01:00:01:26:a7:f7:9a:98:e0:d9:76:c1:13 iaid = 5 static
Apr 29 12:10:33 ic6 dhcpd[7334]: Sending Reply to fe80::1c6f:f857:7ba0:8411 port 546
Apr 29 12:10:34 ic6 dhcpd[7334]: Decline message from fe80::1c6f:f857:7ba0:8411 port 546, transaction ID 0x62AE9E00
Apr 29 12:10:34 ic6 dhcpd[7334]: Client 00:01:00:01:26:a7:f7:9a:98:e0:d9:76:c1:13 reports address 2a02:cafe:cafe:cafe::9876 is already in use by another host!
Apr 29 12:10:34 ic6 dhcpd[7334]: Sending Reply to fe80::1c6f:f857:7ba0:8411 port 546
problem (okrem toho, ze je nieco nespravne) je ten, ze ten Mac sa ide upracovat k smrti, t.j. cpu ide ~ 2000% na dojjadre :-)
nie je mi jasne kto ma ukoncit takuto komunikaciu server alebo client, niekde na inet-e som cital, ze server by nemal ponukat IP klientovi s rovnakym DIUD ale inym IAID (neviem vsak ci je to pravda a ak ano ako to nastavit)
podla mna server by po "Decline received." mohol aspon na "default-lease-time"
Vie niekto ako to riesit ?
Další informace o konferenci Linux