How to use IPv6 on Hinet PPPoE?

ssh to MkiroTik with ssh admin@<mkirotik_ip>. Default username is admin without password.

  1. Make sure you had already connect to internet with PPPoE.

    [admin@MikroTik] > interface pppoe-client add name="pppoe-out1" interface=<etherX> user="12345678@hinet.net" pass="abcdefgh"
    # You can find the user and pass(password) on the card which is provided by Hinet.
    # the interface should be the port connect to hinet modem
    
  2. Check IPv6 package

    [admin@MikroTik] > system package print
    # check ipv6 had already been enable (No X mark in front of ipv6)
    # if not use the following command to enable it
    [admin@MikroTik] > system package enable ipv6
    
  3. Create a DHCP-v6 client

    [admin@MikroTik] > ipv6 dhcp-client add interface="pppoe-out1" pool-name="hinet-ipv6-pool" add-default-route=yes request=prefix
    # add new configuration to ipv6/dhcp-client
    # replace pppoe-out1 with your pppoe interface name in step 1
    # pool-name can set as you like
    
  4. Combine the prefix and ::1

    [admin@MikroTik] > ipv6 address add address=::1/64 from-pool=hinet-ipv6-pool interface=bridge advertise=yes
    # This step will use the prefix from the pool we set on previous command
    # from-pool suould be as same as previous pool-name
    
  5. Check the result

    [admin@MikroTik] > ipv6 address print detail
    # It should show the ipv6 you get
    # you should not see an address start with fe80. Then you check the ip on your computer as well
    

    On MS Windows

    Run > cmd > ipconfig

    On Unix

    Terminal > ip address

    Use website

    https://test-ipv6.com/

Reference

https://blog.downager.com/2013/09/12/RouterOS-%E5%A6%82%E4%BD%95%E8%A8%AD%E5%AE%9AHinet-IPv6-Dual-Stack/ https://wiki.mikrotik.com/wiki/Manual:System/Packages#List_available_packages https://wiki.mikrotik.com/wiki/Manual:IPv6/DHCP_Client https://wiki.mikrotik.com/wiki/Manual:IPv6/Address