-
-
Save krogla/06c2bc9fae5fe872c805fb8861e3cbae to your computer and use it in GitHub Desktop.
MikroTik RouterOS Script: Configure DHCPv6-PD on the PPPoE interface.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Configure DHCPv6-PD on the PPPoE interface. | |
# | |
# Prior script execution, enable IPv6 package: | |
# /system | |
# package enable ipv6 | |
# reboot | |
# | |
# Resources: | |
# https://kb.pentanet.com.au/faq/how-to-configure-a-mikrotik-routerboard-router-to-accept-ipv6 | |
# https://www.netdaily.org/tag/mikrotik-ipv6/ | |
/ipv6 dhcp-client | |
add interface=pppoe-out1 pool-name=pppoe-pd \ | |
pool-prefix-length=56 request=prefix | |
/ipv6 dhcp-server | |
add interface=bridge address-pool=pppoe-pd name=server-pd | |
/ipv6 address | |
add interface=bridge from-pool=pppoe-pd advertise=yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment