code for writing back fixed IP address fields