Community discussions

MikroTik App
 
spork
just joined
Topic Author
Posts: 11
Joined: Wed Jun 24, 2009 7:59 pm

DHCPv6-PD server doesnt work correctly

Thu Mar 10, 2016 11:10 am

Hallo,

DHCPv6-PD server correctly allocates prefix to the client, but if client sends renew and has status bound, the expire time will not be prolonged.

Prolongation happens if renew is sent and the server is status waiting.

I enclose log, as obvious evidence.

Server HW: RB450G
RoS: 6.34.2
Tested on client sw: wide-dhcpv6-client, isc-dhcp-client and dibbler-client


Thank you for your help.
Pavel Trefny - SporkNeT s.r.o.

CONFIG:
/ipv6 pool
add name=dhcpv6-1 prefix=2a03:b4c0:ff::/49 prefix-length=64
/ipv6 dhcp-server
add address-pool=dhcpv6-1 interface=ether2-GE lease-time=5m name=server1

LOG:
Feb/29/2016 12:12:13 dhcp,debug,packet recv server: server1 fe80::214:78ff:fe70:36e0 -> ff02::1:2
Feb/29/2016 12:12:13 dhcp,debug,packet type: solicit
Feb/29/2016 12:12:13 dhcp,debug,packet transaction-id: f47a17
Feb/29/2016 12:12:13 dhcp,debug,packet -> clientid: 00010001 1e66242a 001560bc 009b
Feb/29/2016 12:12:13 dhcp,debug,packet -> elapsed_time: 0
Feb/29/2016 12:12:13 dhcp,debug,packet -> ia_pd:
Feb/29/2016 12:12:13 dhcp,debug,packet t1: 0
Feb/29/2016 12:12:13 dhcp,debug,packet t2: 0
Feb/29/2016 12:12:13 dhcp,debug,packet id: 0x0
Feb/29/2016 12:12:13 dhcp,debug processing client:1e66242a001560bc009b iapd:0x0
Feb/29/2016 12:12:13 dhcp,debug added dynamic binding: 1e66242a001560bc009b 2a03:b4c0:ff:4::/64
Feb/29/2016 12:12:13 dhcp,debug offering: 1e66242a001560bc009b 2a03:b4c0:ff:4::/64
Feb/29/2016 12:12:13 dhcp,debug,packet send server1 -> fe80::214:78ff:fe70:36e0%6
Feb/29/2016 12:12:13 dhcp,debug,packet type: advertise
Feb/29/2016 12:12:13 dhcp,debug,packet transaction-id: f47a17
Feb/29/2016 12:12:13 dhcp,debug,packet -> clientid: 00010001 1e66242a 001560bc 009b
Feb/29/2016 12:12:13 dhcp,debug,packet -> serverid: 00030001 d4ca6d3a d117
Feb/29/2016 12:12:13 dhcp,debug,packet -> preference: 255
Feb/29/2016 12:12:13 dhcp,debug,packet -> ia_pd:
Feb/29/2016 12:12:13 dhcp,debug,packet t1: 150
Feb/29/2016 12:12:13 dhcp,debug,packet t2: 240
Feb/29/2016 12:12:13 dhcp,debug,packet id: 0x0
Feb/29/2016 12:12:13 dhcp,debug,packet -> ia_prefix:
Feb/29/2016 12:12:13 dhcp,debug,packet preferred: 270
Feb/29/2016 12:12:13 dhcp,debug,packet valid: 300
Feb/29/2016 12:12:13 dhcp,debug,packet prefix: 2a03:b4c0:ff:4::/64
Feb/29/2016 12:12:13 dhcp,debug,packet recv server: server1 fe80::214:78ff:fe70:36e0 -> ff02::1:2
Feb/29/2016 12:12:13 dhcp,debug,packet type: request
Feb/29/2016 12:12:13 dhcp,debug,packet transaction-id: 3af170
Feb/29/2016 12:12:13 dhcp,debug,packet -> clientid: 00010001 1e66242a 001560bc 009b
Feb/29/2016 12:12:13 dhcp,debug,packet -> serverid: 00030001 d4ca6d3a d117
Feb/29/2016 12:12:13 dhcp,debug,packet -> elapsed_time: 0
Feb/29/2016 12:12:13 dhcp,debug,packet -> ia_pd:
Feb/29/2016 12:12:13 dhcp,debug,packet t1: 0
Feb/29/2016 12:12:13 dhcp,debug,packet t2: 0
Feb/29/2016 12:12:13 dhcp,debug,packet id: 0x0
Feb/29/2016 12:12:13 dhcp,debug,packet -> ia_prefix:
Feb/29/2016 12:12:13 dhcp,debug,packet preferred: 270
Feb/29/2016 12:12:13 dhcp,debug,packet valid: 300
Feb/29/2016 12:12:13 dhcp,debug,packet prefix: 2a03:b4c0:ff:4::/64
Feb/29/2016 12:12:13 dhcp,debug processing client:1e66242a001560bc009b iapd:0x0
Feb/29/2016 12:12:13 dhcp,debug rebound: 1e66242a001560bc009b 2a03:b4c0:ff:4::/64
Feb/29/2016 12:12:13 dhcp,debug,packet send server1 -> fe80::214:78ff:fe70:36e0%6
Feb/29/2016 12:12:13 dhcp,debug,packet type: reply
Feb/29/2016 12:12:13 dhcp,debug,packet transaction-id: 3af170
Feb/29/2016 12:12:13 dhcp,debug,packet -> clientid: 00010001 1e66242a 001560bc 009b
Feb/29/2016 12:12:13 dhcp,debug,packet -> serverid: 00030001 d4ca6d3a d117
Feb/29/2016 12:12:13 dhcp,debug,packet -> ia_pd:
Feb/29/2016 12:12:13 dhcp,debug,packet t1: 150
Feb/29/2016 12:12:13 dhcp,debug,packet t2: 240
Feb/29/2016 12:12:13 dhcp,debug,packet id: 0x0
Feb/29/2016 12:12:13 dhcp,debug,packet -> ia_prefix:
Feb/29/2016 12:12:13 dhcp,debug,packet preferred: 270
Feb/29/2016 12:12:13 dhcp,debug,packet valid: 300
Feb/29/2016 12:12:13 dhcp,debug,packet prefix: 2a03:b4c0:ff:4::/64
Feb/29/2016 12:14:44 dhcp,debug,packet recv server: server1 fe80::214:78ff:fe70:36e0 -> ff02::1:2
Feb/29/2016 12:14:44 dhcp,debug,packet type: renew
Feb/29/2016 12:14:44 dhcp,debug,packet transaction-id: 3de481
Feb/29/2016 12:14:44 dhcp,debug,packet -> clientid: 00010001 1e66242a 001560bc 009b
Feb/29/2016 12:14:44 dhcp,debug,packet -> serverid: 00030001 d4ca6d3a d117
Feb/29/2016 12:14:44 dhcp,debug,packet -> elapsed_time: 0
Feb/29/2016 12:14:44 dhcp,debug,packet -> ia_pd:
Feb/29/2016 12:14:44 dhcp,debug,packet t1: 150
Feb/29/2016 12:14:44 dhcp,debug,packet t2: 240
Feb/29/2016 12:14:44 dhcp,debug,packet id: 0x0
Feb/29/2016 12:14:44 dhcp,debug,packet -> ia_prefix:
Feb/29/2016 12:14:44 dhcp,debug,packet preferred: 270
Feb/29/2016 12:14:44 dhcp,debug,packet valid: 300
Feb/29/2016 12:14:44 dhcp,debug,packet prefix: 2a03:b4c0:ff:4::/64
Feb/29/2016 12:14:44 dhcp,debug processing client:1e66242a001560bc009b iapd:0x0
Feb/29/2016 12:14:44 dhcp,debug rebound: 1e66242a001560bc009b 2a03:b4c0:ff:4::/64
Feb/29/2016 12:14:44 dhcp,debug,packet send server1 -> fe80::214:78ff:fe70:36e0%6
Feb/29/2016 12:14:44 dhcp,debug,packet type: reply
Feb/29/2016 12:14:44 dhcp,debug,packet transaction-id: 3de481
Feb/29/2016 12:14:44 dhcp,debug,packet -> clientid: 00010001 1e66242a 001560bc 009b
Feb/29/2016 12:14:44 dhcp,debug,packet -> serverid: 00030001 d4ca6d3a d117
Feb/29/2016 12:14:44 dhcp,debug,packet -> ia_pd:
Feb/29/2016 12:14:44 dhcp,debug,packet t1: 150
Feb/29/2016 12:14:44 dhcp,debug,packet t2: 240
Feb/29/2016 12:14:44 dhcp,debug,packet id: 0x0
Feb/29/2016 12:14:44 dhcp,debug,packet -> ia_prefix:
Feb/29/2016 12:14:44 dhcp,debug,packet preferred: 270
Feb/29/2016 12:14:44 dhcp,debug,packet valid: 300
Feb/29/2016 12:14:44 dhcp,debug,packet prefix: 2a03:b4c0:ff:4::/64
Feb/29/2016 12:17:14 dhcp,debug,packet recv server: server1 fe80::214:78ff:fe70:36e0 -> ff02::1:2
Feb/29/2016 12:17:14 dhcp,debug,packet type: renew
Feb/29/2016 12:17:14 dhcp,debug,packet transaction-id: 1c91ea
Feb/29/2016 12:17:14 dhcp,debug,packet -> clientid: 00010001 1e66242a 001560bc 009b
Feb/29/2016 12:17:14 dhcp,debug,packet -> serverid: 00030001 d4ca6d3a d117
Feb/29/2016 12:17:14 dhcp,debug,packet -> elapsed_time: 0
Feb/29/2016 12:17:14 dhcp,debug,packet -> ia_pd:
Feb/29/2016 12:17:14 dhcp,debug,packet t1: 150
Feb/29/2016 12:17:14 dhcp,debug,packet t2: 240
Feb/29/2016 12:17:14 dhcp,debug,packet id: 0x0
Feb/29/2016 12:17:14 dhcp,debug,packet -> ia_prefix:
Feb/29/2016 12:17:14 dhcp,debug,packet preferred: 270
Feb/29/2016 12:17:14 dhcp,debug,packet valid: 300
Feb/29/2016 12:17:14 dhcp,debug,packet prefix: 2a03:b4c0:ff:4::/64
Feb/29/2016 12:17:14 dhcp,debug processing client:1e66242a001560bc009b iapd:0x0
Feb/29/2016 12:17:14 dhcp,debug rebound: 1e66242a001560bc009b 2a03:b4c0:ff:4::/64
Feb/29/2016 12:17:14 dhcp,debug,packet send server1 -> fe80::214:78ff:fe70:36e0%6
Feb/29/2016 12:17:14 dhcp,debug,packet type: reply
Feb/29/2016 12:17:14 dhcp,debug,packet transaction-id: 1c91ea
Feb/29/2016 12:17:14 dhcp,debug,packet -> clientid: 00010001 1e66242a 001560bc 009b
Feb/29/2016 12:17:14 dhcp,debug,packet -> serverid: 00030001 d4ca6d3a d117
Feb/29/2016 12:17:14 dhcp,debug,packet -> ia_pd:
Feb/29/2016 12:17:14 dhcp,debug,packet t1: 150
Feb/29/2016 12:17:14 dhcp,debug,packet t2: 240
Feb/29/2016 12:17:14 dhcp,debug,packet id: 0x0
Feb/29/2016 12:17:14 dhcp,debug,packet -> ia_prefix:
Feb/29/2016 12:17:14 dhcp,debug,packet preferred: 270
Feb/29/2016 12:17:14 dhcp,debug,packet valid: 300
Feb/29/2016 12:17:14 dhcp,debug,packet prefix: 2a03:b4c0:ff:4::/64
Feb/29/2016 12:17:20 dhcp,debug expired binding: 1e66242a001560bc009b 2a03:b4c0:ff:4::/64
Feb/29/2016 12:19:44 dhcp,debug,packet recv server: server1 fe80::214:78ff:fe70:36e0 -> ff02::1:2
Feb/29/2016 12:19:44 dhcp,debug,packet type: renew
Feb/29/2016 12:19:44 dhcp,debug,packet transaction-id: c21227
Feb/29/2016 12:19:44 dhcp,debug,packet -> clientid: 00010001 1e66242a 001560bc 009b
Feb/29/2016 12:19:44 dhcp,debug,packet -> serverid: 00030001 d4ca6d3a d117
Feb/29/2016 12:19:44 dhcp,debug,packet -> elapsed_time: 0
Feb/29/2016 12:19:44 dhcp,debug,packet -> ia_pd:
Feb/29/2016 12:19:44 dhcp,debug,packet t1: 150
Feb/29/2016 12:19:44 dhcp,debug,packet t2: 240
Feb/29/2016 12:19:44 dhcp,debug,packet id: 0x0
Feb/29/2016 12:19:44 dhcp,debug,packet -> ia_prefix:
Feb/29/2016 12:19:44 dhcp,debug,packet preferred: 270
Feb/29/2016 12:19:44 dhcp,debug,packet valid: 300
Feb/29/2016 12:19:44 dhcp,debug,packet prefix: 2a03:b4c0:ff:4::/64
Feb/29/2016 12:19:44 dhcp,debug processing client:1e66242a001560bc009b iapd:0x0
Feb/29/2016 12:19:44 dhcp,debug rebound: 1e66242a001560bc009b 2a03:b4c0:ff:4::/64
Feb/29/2016 12:19:44 dhcp,debug,packet send server1 -> fe80::214:78ff:fe70:36e0%6
Feb/29/2016 12:19:44 dhcp,debug,packet type: reply
Feb/29/2016 12:19:44 dhcp,debug,packet transaction-id: c21227
Feb/29/2016 12:19:44 dhcp,debug,packet -> clientid: 00010001 1e66242a 001560bc 009b
Feb/29/2016 12:19:44 dhcp,debug,packet -> serverid: 00030001 d4ca6d3a d117
Feb/29/2016 12:19:44 dhcp,debug,packet -> ia_pd:
Feb/29/2016 12:19:44 dhcp,debug,packet t1: 150
Feb/29/2016 12:19:44 dhcp,debug,packet t2: 240
Feb/29/2016 12:19:44 dhcp,debug,packet id: 0x0
Feb/29/2016 12:19:44 dhcp,debug,packet -> ia_prefix:
Feb/29/2016 12:19:44 dhcp,debug,packet preferred: 270
Feb/29/2016 12:19:44 dhcp,debug,packet valid: 300
Feb/29/2016 12:19:44 dhcp,debug,packet prefix: 2a03:b4c0:ff:4::/64
 
spork
just joined
Topic Author
Posts: 11
Joined: Wed Jun 24, 2009 7:59 pm

Re: DHCPv6-PD server doesnt work correctly

Thu Mar 31, 2016 4:59 pm

Hallo,
I have tried also mikrotik and it works the same as a client There is no extension of expire time.

Who is online

Users browsing this forum: No registered users and 13 guests