> $RAD_REPLY{'Framed-IP-Address'} = '192.168.77.200'; See if the following helps: use Socket; . . . $RAD_REPLY{'Framed-IP-Address'} = inet_aton('192.168.77.200');