Convert byte to hex. Please help!

why do you copy the entered IP address into gateway IP address?