archive

Tag: dyndns

1 article

SCRIPTS scripts

Scriplet: Grabbing PPPoE IP Address

A quick scriptlet I whipped up for a friend tonight to allow them to retrieve an IP addess from a specific PPPoE interface. Handy for updating DynDNS entries among other things. :local wanip [/ip address get [/ip address find where interface=pppoe-wan] address]; :set wanip [:pick $wanip 0 ([:len $wanip]-3) ]; #whatever you want to do … Continue reading Scriplet: Grabbing PPPoE IP Address