hello,
if me help please, i have a problem in configuration ipv6 with tunnel 6to4 in tunnelbroker.net, in the mikrotik create a bridge in the ports
so that everyone is on the same network, So far so good, I set the parameters of the tunnel obtained by tunnel broker, and
ping tests performed from a PC connected to the router and succes ipv6. corroborated on page ipv6-test.com
and if I have native ipv6. So far so good
now, i have a second router which I want to connect to the first router to deliver this also ipv6 to other PCs that are connected to the second router, HERE MI PROBLEM
how to configure my second mikrotik to receive the first router ipv6 ( mikrotik ) and give ipv6 addresses to pc connected to this
i delivery tunnel broker address /64
You need to update your Tunnelbroker profile to receive a /48 block instead of a single /64.
Since the /48 from HE is going to be static, you have two basic options in your own network on how to use them:
- static configuration / static routing
- dynamic assignment with dhcpv6-pd
If you want to use static routing, then what you will do is choose some sub-set of your /48 and static route that to the second router.
The second router doesn’t need to be connected to the main router on the LAN bridged interfaces - in fact things will probably work better if you create a special “transit” link between your routers, which will keep the routing of your LAN segments nice and tidy with only one gateway route.
You don’t need to assign a /64 to this transit link either.
On the main router, create a static route for your sub-block of prefixes, and set the next hop address to be the link-local address of the “sub” router - be sure to include %etherXX at the end of the link-local address so the router knows which interface to use.
On the second router, you just assign /64 prefixes to interfaces as needed, and set the default GW to be the link-local address of the main router (again, use the %etherXX at the end)
Suppose you get the following block from HE:
2001:db8:cafe::/48
You can break that up into /56 sub-blocks which you will either use on the main router or route to sub-routers:
2001:db8:cafe:0100::/56 = router 1’s prefixes
2001:db8:cafe:0200::/56 = router 2’s prefixes
2001:db8:cafe:0300::/56 = router 3’s prefixes
etc…
Suppose you’re using ether5 on router 1 to connect to ether1 on router 2…
Suppose R1’s link-local address on ether5 is fe80:
56ff:fe78:9abc
and R2’s link-local address on ether1 is fe80:
12ff:fe34:5678
On router 1, you would route dst-address=2001:db8:cafe:0200::/56 with gateway=fe80:
12ff:fe34:5678%ether5
On router 2, you would set the default gateway to be dst=::/0 gateway=fe80:
56ff:fe78:9abc%ether1
Then on router 2, you could put any IPv6 address on any interface, so long as it starts with 2001:db8:cafe:02xx…
Or if you’re feeling really awesome, you could enable OSPFv3 and dynamically route your prefixes between the routers. ![]()
And I just noticed that I completely failed to address the dynamic allocation method…
Basically, you would configure an IPv6 address pool with the /48 from HE, and set the prefix-length to /56
Then Configure dhcpv6 server on the ether5 interface on router 1 and set it to use the address pool.
Configure router2 with dhcpv6-client on ether1 and to put the received addresses into a pool on router 2.
Then on router 2, add IPv6 addresses to interfaces using the from-pool method.