Community discussions

MikroTik App
 
costel
just joined
Topic Author
Posts: 18
Joined: Sat May 05, 2012 6:05 pm

DHCP v6 error

Mon Jun 14, 2021 6:28 pm

My Mikrotik 850Gx4 log is flooded with "pool6 refused acquire: bad preferred prefix! (1)".
It make impossible to view any usefully log entry, as the error repeat itself every second.
Received addresses are /64 prefix.
 
jonah1810
Frequent Visitor
Frequent Visitor
Posts: 69
Joined: Tue Jul 30, 2019 10:19 pm

Re: DHCP v6 error

Thu Jun 17, 2021 12:56 am

This is a dhcpv6-pd server or client?
post: an export of the dhcpv6 - pd server / client and post an export of the ipv6 pools.
 
costel
just joined
Topic Author
Posts: 18
Joined: Sat May 05, 2012 6:05 pm

Re: DHCP v6 error

Thu Jun 17, 2021 10:15 am

Hello!
/ipv6 dhcp-server print
Flags: D - dynamic, X - disabled, I - invalid 
 #    NAME                                                                                                  INTERFACE                                                                                                  ADDRESS-POOL                                                                                                  PREFERENCE LEASE-TIME
 0    DHCP_LAN_ipv6                                                                                         bridge                                                                                                     static-only                                                                                                          255 3d        
[costel@MikroTik_850Gx4] > /ipv6 pool print       
Flags: D - dynamic 
 #   NAME                                                                                                                                                                                                                                                                   PREFIX                                      PREFIX-LENGTH EXPIRES-AFTER       
 0 D ipv6pool                                                                                                                                                                                                                                                               2a02:2f0c:c20c:f500::/56                               64
 /ipv6 dhcp-server binding print
Flags: I - invalid, X - disabled, R - radius, D - dynamic 
 #    ADDRESS                                                                                                                                  DUID                                                                                             SERVER                                                                                             STATUS 
I observed that ISP prefix is different from pool prefix (56 vs 64), but both are acquired from ISP. By delete bindings error is gone.
I am new to ipv6 and it seems to me that DHCPv6 server is somewhat limited on mikrotik, compared to ipv4.
How can I make static leases on ipv6 like on ipv4 ?

Sorry, I forgot DHCP client:
/ipv6 dhcp-client print
Flags: D - dynamic, X - disabled, I - invalid 
 #    INTERFACE                                                                                          STATUS             REQUEST                                                                                          PREFIX                                                           ADDRESS                                                     
 0    pppoe-digi                                                                                         bound              address                                                                                          2a02:2f0c:c20c:f500::/56, never                                  2a02:2f0c:c2ff:ffff::4f77:ddda, never                       
                                                                                                                            prefix                                                                                          

Who is online

Users browsing this forum: AndyGs, DavidGB, WiseHamster and 110 guests