Community discussions

MikroTik App
 
piku
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 51
Joined: Sat Feb 10, 2018 10:59 am

ipv6 configure with 2 routerboard bridged

Tue Jan 07, 2020 3:05 pm

Hi everyone,
I have ipv6 from pppoe which works prefectly.
#RB1
/ipv6 address
add address=::172 from-pool=pool-ipv6 interface=bridge1
/ipv6 dhcp-client
add add-default-route=yes interface=pppoe-out1 pool-name=pool-ipv6 request=prefix use-peer-dns=no
/ipv6 nd
add interface=bridge1 managed-address-configuration=yes mtu=1280 other-configuration=yes ra-interval=30s-1m30s
Windows, Android, Openwrt also works in this router's bridge1.
But when I connect another RB to this bridge, it did not get ipv6 address.
try
#RB2 meth1
/ipv6 address
# address pool error: pool not found: test (4)
add address=::bbe2 from-pool=test interface=bridge1
/ipv6 dhcp-client
add add-default-route=yes interface=bridge1 pool-name=test request=prefix
/ipv6 nd
set [ find default=yes ] disabled=yes managed-address-configuration=yes \
    other-configuration=yes
add advertise-dns=no advertise-mac-address=no hop-limit=64 interface=bridge1
/ipv6 settings
set accept-router-advertisements=yes forward=no
or just simple
#RB2 meth2
/ipv6 dhcp-client
add add-default-route=yes interface=bridge1 pool-name=test request=address
but no luck.
I'd like to know which methord is correct and what is the problem.
Thx.
 
User avatar
ccardenas
Trainer
Trainer
Posts: 6
Joined: Thu May 15, 2014 9:04 pm
Location: Spain

Re: ipv6 configure with 2 routerboard bridged

Tue Jan 07, 2020 3:40 pm

Hello!

RouterOS does not listen to RAs unless you disable IPv6 forwarding in IPv6 -> Settings, so RB2 will not acquire any IPv6 from SLAAC nor DHCPv6 client from another RouterBOARD, as RouterOS DHCPv6 server can only delegate prefixes, not single addresses.


Image

On the other hand, you have set "managed-address-configuration=yes", and this flag indicates whether hosts should use stateful autoconfiguration (DHCPv6) to obtain addresses. This is not necessary if you only use SLAAC.
If you are not using any kind of tunnel to reach the IPv6 Internet, is good to leave the MTU value as the 1500 default value, as well.
If you'd want to have an IPv6 on your RouterOS device, you have to add it manually or set up an external DHCPv6 server.

Hope this info can help you.

Regards
 
piku
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 51
Joined: Sat Feb 10, 2018 10:59 am

Re: ipv6 configure with 2 routerboard bridged

Wed Jan 08, 2020 1:00 am

Yes ipv6 forward is disabled but not luck. Still neithor address nor prefix on RB2.
I believe I need SLAAC on RB2, because I think use DHCP server on RB1 is a bad idea