IPV6 with Mikrotik

No Need to duplicate this work.
there are many setting under the ip6 forum and pure feedback thread
 
No Need to duplicate this work.
there are many setting under the ip6 forum and pure feedback thread
Well hidden I might add - ok then I have removed my post - no point in trying to do something that is not wanted
 
I have IPV6 running on my openserve account, or at least I think it is running as the usual test website give me a thumbs up.

I suggested on the official IPV6 that the support agents there give us a list of settings that should work and we figure out how that translates to Mikrotik but nothing ever came of that hence m starting this thread. My intent is to post my IPV6 settings here and see if it helps others, or if more intelligent people could point out perhaps where I may have made mistakes in my settings.

So here is my entire /IPV6 export from my router, keen to here from other mikrotik experts:
My PPPOE interface is called "Afrihost_Fibre" and the bridge interface is "bridge".
Areas I would appreciate comments on:
1. the IPV6 address line uses interface bridge, I would have thought the PPOE interface would be the correct one but it does not work like that.
2. I see afrihost suggest /62 prefixes, I have pool-prefix-length=60 but it seems to work, have not tried setting it to 62 yet.


Code:

# may/15/2023 17:22:04 by RouterOS 7.8
# software id = S1U3-0SS6
#
# model = RB750Gr3

/ipv6 dhcp-server add address-pool=fibre disabled=yes interface=bridge name=server1
/ipv6 address add address=::ba69:f4ff:fe5b:1f56 eui-64=yes from-pool=fibre interface=bridge
/ipv6 dhcp-client add add-default-route=yes interface=Afrihost_Fibre pool-name=fibre pool-prefix-length=60 request=prefix
/ipv6 firewall address-list add address=::/128 comment="defconf: unspecified address" list=bad_ipv6
/ipv6 firewall address-list add address=::1/128 comment="defconf: lo" list=bad_ipv6
/ipv6 firewall address-list add address=fec0::/10 comment="defconf: site-local" list=bad_ipv6
/ipv6 firewall address-list add address=::ffff:0.0.0.0/96 comment="defconf: ipv4-mapped" list=bad_ipv6
/ipv6 firewall address-list add address=::/96 comment="defconf: ipv4 compat" list=bad_ipv6
/ipv6 firewall address-list add address=100::/64 comment="defconf: discard only " list=bad_ipv6
/ipv6 firewall address-list add address=2001:db8::/32 comment="defconf: documentation" list=bad_ipv6
/ipv6 firewall address-list add address=2001:10::/28 comment="defconf: ORCHID" list=bad_ipv6
/ipv6 firewall address-list add address=3ffe::/16 comment="defconf: 6bone" list=bad_ipv6
/ipv6 firewall filter add action=accept chain=input comment="defconf: accept ICMPv6" protocol=icmpv6
/ipv6 firewall filter add action=accept chain=input comment="defconf: accept established,related,untracked" connection-state=established,related,untracked
/ipv6 firewall filter add action=accept chain=input comment="defconf: accept DHCPv6-Client prefix delegation." dst-port=546 protocol=udp
/ipv6 firewall filter add action=accept chain=input comment="defconf: accept DHCPv6-Client prefix delegation." dst-port=546 protocol=udp
/ipv6 firewall filter add action=drop chain=input comment="defconf: drop invalid" connection-state=invalid
/ipv6 firewall filter add action=accept chain=input comment="defconf: accept ICMPv6" protocol=icmpv6
/ipv6 firewall filter add action=accept chain=input comment="defconf: accept UDP traceroute" port=33434-33534 protocol=udp
/ipv6 firewall filter add action=accept chain=input comment="defconf: accept IKE" dst-port=500,4500 protocol=udp
/ipv6 firewall filter add action=accept chain=input comment="defconf: accept ipsec AH" protocol=ipsec-ah
/ipv6 firewall filter add action=accept chain=input comment="defconf: accept ipsec ESP" protocol=ipsec-esp
/ipv6 firewall filter add action=accept chain=input comment="defconf: accept all that matches ipsec policy" ipsec-policy=in,ipsec
/ipv6 firewall filter add action=drop chain=input comment="defconf: drop everything else not coming from LAN" in-interface-list=!LAN
/ipv6 firewall filter add action=accept chain=forward comment="defconf: accept established,related,untracked" connection-state=established,related,untracked
/ipv6 firewall filter add action=drop chain=forward comment="defconf: drop invalid" connection-state=invalid
/ipv6 firewall filter add action=drop chain=forward comment="defconf: drop packets with bad src ipv6" src-address-list=bad_ipv6
/ipv6 firewall filter add action=drop chain=forward comment="defconf: drop packets with bad dst ipv6" dst-address-list=bad_ipv6
/ipv6 firewall filter add action=drop chain=forward comment="defconf: rfc4890 drop hop-limit=1" hop-limit=equal:1 protocol=icmpv6
/ipv6 firewall filter add action=accept chain=forward comment="defconf: accept ICMPv6" protocol=icmpv6
/ipv6 firewall filter add action=accept chain=forward comment="defconf: accept HIP" protocol=139
/ipv6 firewall filter add action=accept chain=forward comment="defconf: accept IKE" dst-port=500,4500 protocol=udp
/ipv6 firewall filter add action=accept chain=forward comment="defconf: accept ipsec AH" protocol=ipsec-ah
/ipv6 firewall filter add action=accept chain=forward comment="defconf: accept ipsec ESP" protocol=ipsec-esp
/ipv6 firewall filter add action=accept chain=forward comment="defconf: accept all that matches ipsec policy" ipsec-policy=in,ipsec
/ipv6 firewall filter add action=drop chain=forward comment="defconf: drop everything else not coming from LAN" in-interface-list=!LAN
/ipv6 firewall mangle add action=change-mss chain=forward new-mss=clamp-to-pmtu passthrough=yes protocol=tcp tcp-flags=syn
/ipv6 nd set [ find default=yes ] advertise-dns=no hop-limit=64 ra-interval=20s-1m ra-lifetime=2h reachable-time=16m40s retransmit-interval=6m
/ipv6 nd prefix default set preferred-lifetime=1m30s valid-lifetime=1m30s
/ipv6 settings set max-neighbor-entries=8192

If it can help someone using a Mikrotik we don't mind having it around.

We do supply a /62 for our IPv6.
 
Top
Sign up to the MyBroadband newsletter
X