Onchange "Change_IP", "@Set_IP_Address()" //When the value Change_IP changes, it runs the code below Function Set_IP_Address() Setsys Com, "load", "Ethip" //This loads the current value of Ethip (the LAN address) for WAN use EthIpAddr2 if Change_IP@ = 1 then //checks to see that the change ip tag is a vlaue of 1 then will run the code below Setsys Com, "Ethip", new_ip@ //Uses the IP address taken from ViewON and sets that as the value of Ethip Setsys Com, "save" //Saves the new IP address a$ = Getsys Com, "Ethip" //Grabs the newly set IP address Print a$ //prints the new IP address Reboot // You need to reboot the device for this change to take effect endif Endfn