:local interfaceName [/interface get $interface name];
:delay 10
:log info "profile-pppoe-isp client up: ipv6 dhcp-client release";
/ipv6 dhcp-client release [find interface=$interfaceName];
Excuse me, can you guide me with this script, I have no idea how to make it right for my config. Do I need anything else in the ppp config or just insert those line of script?This workaround works for me. Create an on-up script under the PPP profile. This will force a release (and subsequent renewal). This is mine:
Code: Select all:local interfaceName [/interface get $interface name]; :delay 10 :log info "profile-pppoe-isp client up: ipv6 dhcp-client release"; /ipv6 dhcp-client release [find interface=$interfaceName];
This script is supposed to go into the ppp-profile for your connection. You can just copy and paste it as is (if you use Webfig or Winbox). If you use the commandline, it would be the "on-up" field (/ppp profile edit <number> on-up).Excuse me, can you guide me with this script, I have no idea how to make it right for my config. Do I need anything else in the ppp config or just insert those line of script?
thank you for the commandline, it help me for the idea.This script is supposed to go into the ppp-profile for your connection. You can just copy and paste it as is (if you use Webfig or Winbox). If you use the commandline, it would be the "on-up" field (/ppp profile edit <number> on-up).Excuse me, can you guide me with this script, I have no idea how to make it right for my config. Do I need anything else in the ppp config or just insert those line of script?