I have just bought a RouterBOARD 751G-2HnD I am planning to use as a home gateway. Running RouterOS 6.0beta2 (I've also tried 5.19 - didn't solve any of my problems). Nothing fancy about the setup - the default ether1-gateway interface (WAN) is connected to the cable modem provided by my ISP, while the LAN hosts connect to the default bridge-local which consistis of the other wired interfaces and the wireless one. For IPv4, this worked out of the box. For IPv6, however, I've not yet been able to make it work properly due to a number of issues:
Problem 1: RouterOS does not process my ISP's ICMPv6 Router Advertisements (nor does it send Router Solicitations when the WAN interface comes up). Because of this, no default route is being learned, which means it's not really connected to the internet in any useful fashion. The settings under /ipv6 nd appear to me to be related only to the transmission of Router Advertisements (which it obviously need to do on the LAN interface), but I have not been able to figure out where configure the receiving of Router Advertisements on the WAN interface. As a workaround I can hard-code a static route to the link-local address of my ISP's CMTS, but as that is an ugly and fragile hack I'd rather avoid it if possible.
Problem 2: RouterOS' DHCPv6 client does not request an IA_NA lease (single address) for its WAN port. Since my ISP is using only DHCPv6 for address assignment (Managed-flag set to 1 in their Router Advertisements, and no A-flag/SLAAC), this means that the WAN port does get its own global IPv6 address. This is not a huge problem for forwarding of traffic to and from the LAN, but it should ideally have had its own IPv6 address on the WAN interface it should have been using for its own IPv6 communication to the internet.
Problem 3: The DHCPv6 client does not request the DNS Recursive Name Server option (RFC 3646) from the DHCPv6 server. As this is the only way my ISP is advertising their IPv6 DNS servers to their customers, this means that RouterOS does not learn them at all. /ip dns print shows only their IPv4 DNS servers. I could hard-code them, but again, I'd like to make this work properly if possible.
Problem 4: IPv6 address assignment to the LAN interface does not derive the network part of the address from the prefix pool obtained from my ISP using DHCPv6 Prefix Delegation (IA_PD). At http://wiki.mikrotik.com/wiki/Manual:IP ... r_local_RA I find the syntax explained, but it simply doesn't seem to work. The following is all the commands I've entered since resetting RouterOS to the default configuration, and as you can see, acquiring a prefix using DHCPv6-PD works well enough, and the designated pd-from-isp pool gets initialised, but the IPv6 address definition on the bridge-local interface seems to simply ignore the from-pool option:
Code: Select all
[admin@MikroTik] > /ipv6 dhcp-client add interface=ether1-gateway pool-name=pd-from-isp pool-prefix-length=64
[admin@MikroTik] > /ipv6 dhcp-client print detail
Flags: D - dynamic, X - disabled, I - invalid
0 interface=ether1-gateway pool-name="pd-from-isp" pool-prefix-length=64 status=bound prefix=2a02:fe0:cf16:d0::/60 expires-after=1w6d23h59m45s
duid="00030001d4ca6d4c47c3"
[admin@MikroTik] > /ipv6 pool print detail
Flags: D - dynamic
0 D name="pd-from-isp" prefix=2a02:fe0:cf16:d0::/60 prefix-length=64 expire-time=1w6d23h59m13s
[admin@MikroTik] > /ipv6 address add interface=bridge-local from-pool=pd-from-isp address=::1/64 advertise=yes
[admin@MikroTik] > /ipv6 address print detail where interface=bridge-local
Flags: X - disabled, I - invalid, D - dynamic, G - global, L - link-local
4 DL address=fe80::d6ca:6dff:fe4c:47bf/64 interface=bridge-local actual-interface=bridge-local eui-64=no advertise=no
7 G address=::1/64 interface=bridge-local actual-interface=bridge-local eui-64=no advertise=yes
Code: Select all
linux-laptop$ ip -6 address list scope global dev wlan0
2: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000
inet6 ::25e7:acdd:a7cf:493b/64 scope global temporary dynamic
valid_lft 604569sec preferred_lft 85569sec
inet6 ::21c:bfff:fe02:f2a5/64 scope global dynamic
valid_lft 2591856sec preferred_lft 604656sec
Tore