Thursday, April 14, 2011

Mikrotik RB750G IPv6

Home PC (WIN7/IPv4)--> RB250G(IPv4) --> RB750G(IPV4) -->Singtel ADSL(IPV4) --> tunnel broker(IPV6) --> IPv6/IPv4 web site

Tunnel broker

In this example we will use Hurricane Electric tunnel broker services.
After registration click on "Create regular tunnel", enter your IP address and choose closest server to your location. That's it tunnel is now allocated.
Now go to tunnel details, where you will see all the parameters for successful tunnel creation and allocated IPv6 address block.

/interface 6to4
add disabled=no local-address= mtu=1280 name=sixbone \

/ipv6 address
add address=2001:470:35:20::2/64 advertise=no disabled=no eui-64=no \
add address=2001:470:36:20::/64 advertise=yes disabled=no eui-64=no \

/ipv6 route
add disabled=no distance=1 dst-address=::/0 gateway=2001:470:35:20::1 scope=30 \

/ip dns
set allow-remote-requests=yes cache-max-ttl=1w cache-size=2048KiB max-udp-packet-size=512 \

The IPv6 testsite

 I'm changing the DNS to OpenDNS for it's Web Content Filtering.They are IPv6 ready.
/ip dns
set allow-remote-requests=yes cache-max-ttl=1w cache-size=2048KiB \
    max-udp-packet-size=512 servers=,
But there will be 1 test failed.

The only problem with the current setup is if your ISP is providing dynamic IP, you will need to recreate the tunnel everytime it changes.

Configuration provided by HE.

/interface 6to4 add comment="Hurricane Electric IPv6 Tunnel Broker" disabled=no local-address= mtu=1280 name=sit1 remote-address=
/ipv6 route add comment="" disabled=no distance=1 dst-address=2000::/3 gateway=2001:470:35:20::1 scope=30 target-scope=10
/ipv6 address add address=2001:470:35:20::2/64 advertise=yes disabled=no eui-64=no interface=sit1