Cast eth to char* for ip assignment.