No problem, it was a fun exercise for me, I am going to do a Win 7 and Linux version with Python eventually.
In answer to a CLI version, i have a stripped down version of this tool which is just an .exe that sets a static mac address based upon an .ini file. The AutoIT code is as follows:
#include <Process.au3>
$IP = IniRead(@UserProfileDir & "\ARP.ini", "Router", "IP", "NotFound")
$MAC = IniRead(@UserProfileDir & "\ARP.ini", "Router", "MAC", "NotFound")
ConsoleWrite("deleting ARP cache if one is there" & @CRLF)
_RunDos("arp -d *" & @CRLF)
ConsoleWrite("Setting static arp entry" & @CRLF)
_RunDos ("arp -s " & $IP & " " & $MAC & @CRLF)
TrayTip("ARP table static", "ARP entry for default gateway made static", 5, 1)
Sleep(2000)
Just compile this into an .exe with AutoIT
The ARP.ini file should look like this:
[Router]
IP = 192.168.1.1
MAC = 00-12-8c-fe-ev-24
The IP is the IP Address of your Router (default gateway)
The MAC is the MAC address of your Router (default gateway)
I have not tested this, but given it to a friend to use, who has had no problems with it.