Community discussions

MikroTik App
 
thiagohfl
newbie
Topic Author
Posts: 27
Joined: Thu Feb 15, 2018 4:46 pm

IPv6 is not advertising

Mon Feb 19, 2018 8:20 pm

Hi guys,

I'm trying to setup my Mikrotik the best way, and I'm satisfied with it... Unless by the fact IPv6 doesn't work properly.
I already setup, and Mikrotik sees my IPv6, I can ping out from mikrotik, etc. My devices connected also gets his IPv6... Until my session PPPoE renew itself (my ISP force the session to renew automatically every 48h), in this case, Mikrotik gets a new Prefix, but it is NOT advertising to my network (until I force it releasing and renewing on device).

When it happens, if I try to ping out (an IPv6 adress) from Mikrotik, it replies perfectly. If I try on my wired computer, it doesn't! (as I said, unless if I reboot the computer, or disable my ethernet, and re-enabling later).

I really don't know what can I do to fix this. It's the only problem I didn't fix yet.

P.S.: if I turn off my Mikrotik and create same scenario in my Archer C7, everything works FLAWLESSLY. Even if the PPPoE renews, devices automatically gets new IPv6, everything works.
 
User avatar
null31
Member Candidate
Member Candidate
Posts: 183
Joined: Fri Dec 23, 2016 6:07 pm
Location: Brazil

Re: IPv6 is not advertising

Mon Feb 19, 2018 10:08 pm

Can you post your IPv6 ND config?
/ipv6 nd export verbose

Probably your prefix lifetime is the default value 30 days and 7 days.
Try to change the lifetime to 48h or less.
/ipv6 nd prefix default set valid-lifetime=2d preferred-lifetime=2d
 
thiagohfl
newbie
Topic Author
Posts: 27
Joined: Thu Feb 15, 2018 4:46 pm

Re: IPv6 is not advertising

Mon Feb 19, 2018 10:36 pm

Can you post your IPv6 ND config?
/ipv6 nd export verbose

Probably your prefix lifetime is the default value 30 days and 7 days.
Try to change the lifetime to 48h or less.
/ipv6 nd prefix default set valid-lifetime=2d preferred-lifetime=2d
I'mma try this, but, when I used to use OpenWRT/LEDE, IPv6 automatically changed in every device when PPPoE session renewed.
Is that as ND lifetime in OpenWRT was 10s (for example)?
/ipv6 nd
set [ find default=yes ] advertise-dns=yes advertise-mac-address=yes disabled=\
    no hop-limit=unspecified interface=all managed-address-configuration=yes \
    mtu=unspecified other-configuration=yes ra-delay=3s ra-interval=3m20s-10m \
    ra-lifetime=30m reachable-time=unspecified retransmit-interval=unspecified
add advertise-dns=yes advertise-mac-address=yes disabled=yes hop-limit=64 \
    interface=bridge managed-address-configuration=no mtu=unspecified \
    other-configuration=no ra-delay=3s ra-interval=3m20s-10m ra-lifetime=30m \
    reachable-time=unspecified retransmit-interval=unspecified
/ipv6 nd prefix default
set autonomous=yes preferred-lifetime=1w valid-lifetime=4w2d
EDIT

I changed the values you said, force the renewing, but it didn't advertise. :/
I look into Neighbor List, the public IPs isn't being advertised, only if I disable my wifi (if the device is a smarthphone), or my ethernet (pc wired), forcing the new IP :(
 
User avatar
null31
Member Candidate
Member Candidate
Posts: 183
Joined: Fri Dec 23, 2016 6:07 pm
Location: Brazil

Re: IPv6 is not advertising

Mon Feb 19, 2018 10:44 pm

The most problem with IPv6 on renew on devices is related to the lifetime of the prefix when use MikroTik.
You can also low the ra-lifetime to 15m.
I don't remember how is the OpenWRT with IPv6 lifetime config, I guess that has as default config a lower value.
 
thiagohfl
newbie
Topic Author
Posts: 27
Joined: Thu Feb 15, 2018 4:46 pm

Re: IPv6 is not advertising

Mon Feb 19, 2018 10:49 pm

The most problem with IPv6 on renew on devices is related to the lifetime of the prefix when use MikroTik.
You can also low the ra-lifetime to 15m.
I don't remember how is the OpenWRT with IPv6 lifetime config, I guess that has as default config a lower value.
I just wanted it to work as it should to :(
I'mma try RA-lifetime too, let's see.

In ND config, the default "interface" is blue by the way, is that a problem?

Also, I have access to my Archer C7 (with OpenWRT)... Do you want me to see what its config? But I don't know where I'd find it.
 
User avatar
null31
Member Candidate
Member Candidate
Posts: 183
Joined: Fri Dec 23, 2016 6:07 pm
Location: Brazil

Re: IPv6 is not advertising

Mon Feb 19, 2018 10:53 pm

In ND config, the default "interface" is blue by the way, is that a problem?
Isn't a problem, its indicate that is a default entry.

I guess that OpenWRT send RA packets to change the prefix on devices when renew the prefix, what the MikroTik doesn't, the packets are sent conform the lifetime, I guess.

@offtopic:
Does the Vivo offer a prefix bigger than /64?
 
thiagohfl
newbie
Topic Author
Posts: 27
Joined: Thu Feb 15, 2018 4:46 pm

Re: IPv6 is not advertising

Mon Feb 19, 2018 10:57 pm

In ND config, the default "interface" is blue by the way, is that a problem?
Isn't a problem, its indicate that is a default entry.

I guess that OpenWRT send RA packets to change the prefix on devices when renew the prefix, what the MikroTik doesn't, the packets are sent conform the lifetime, I guess.

@offtopic:
Does the Vivo offer a prefix bigger than /64?
I got it.
I setup RA-lifetime to be 600s, after, I renewed my IPv6, now I'll wait 10 minutes, lets see...

@offtopic
I don't think so. Tried some, there's no success.
 
thiagohfl
newbie
Topic Author
Posts: 27
Joined: Thu Feb 15, 2018 4:46 pm

Re: IPv6 is not advertising

Mon Feb 19, 2018 11:25 pm

In ND config, the default "interface" is blue by the way, is that a problem?
Isn't a problem, its indicate that is a default entry.

I guess that OpenWRT send RA packets to change the prefix on devices when renew the prefix, what the MikroTik doesn't, the packets are sent conform the lifetime, I guess.

@offtopic:
Does the Vivo offer a prefix bigger than /64?
Sadly no success.
I'm thinking about get back to Archer C7 + OpenWRT/LEDE. :/
 
User avatar
null31
Member Candidate
Member Candidate
Posts: 183
Joined: Fri Dec 23, 2016 6:07 pm
Location: Brazil

Re: IPv6 is not advertising

Mon Feb 19, 2018 11:29 pm

viewtopic.php?f=2&t=73034&p=638097&hili ... me#p638097
viewtopic.php?f=2&t=104807&p=522420&hil ... 3D#p522420
The workaround is to use a low lifetime like 3m~10m... some day the devs will solve this.
 
thiagohfl
newbie
Topic Author
Posts: 27
Joined: Thu Feb 15, 2018 4:46 pm

Re: IPv6 is not advertising

Tue Feb 20, 2018 3:08 am

viewtopic.php?f=2&t=73034&p=638097&hili ... me#p638097
viewtopic.php?f=2&t=104807&p=522420&hil ... 3D#p522420
The workaround is to use a low lifetime like 3m~10m... some day the devs will solve this.
When i tried this, nothing happened. :/
 
thiagohfl
newbie
Topic Author
Posts: 27
Joined: Thu Feb 15, 2018 4:46 pm

Re: IPv6 is not advertising

Tue Feb 20, 2018 3:27 pm

viewtopic.php?f=2&t=73034&p=638097&hili ... me#p638097
viewtopic.php?f=2&t=104807&p=522420&hil ... 3D#p522420
The workaround is to use a low lifetime like 3m~10m... some day the devs will solve this.
When i tried this, nothing happened. :/
Hi thiagohfl,
are you still in the same issue or finding some easy & valuable solution from any expert?? i have the same issue and follow this page for the best solution, plz guide me as well

thanks in advance
I have no answers yet. I’m trying, if I get it to work rightly, I’ll post.

I ask you to do the same, please :)

Best regards,
 
thiagohfl
newbie
Topic Author
Posts: 27
Joined: Thu Feb 15, 2018 4:46 pm

Re: IPv6 is not advertising

Fri Feb 23, 2018 3:43 am

viewtopic.php?f=2&t=73034&p=638097&hili ... me#p638097
viewtopic.php?f=2&t=104807&p=522420&hil ... 3D#p522420
The workaround is to use a low lifetime like 3m~10m... some day the devs will solve this.
When i tried this, nothing happened. :/
Hi thiagohfl,
are you still in the same issue or finding some easy & valuable solution from any expert?? i have the same issue and follow this page for the best solution, plz guide me as well

thanks in advance
Here is the "solution".
viewtopic.php?f=2&t=119901#p593106