Junk Spy TCP/IP Wizard: How to resolve an inconsistent hostname

Overview

TCP/IP uses easy to remember names to refer to computers. It also can translate those names into IP addresses that computers can use. Junk Spy uses hostnames to refer to your computer and your mail server.

Your computer has a host name, but it's not a host name that matches your IP address. To correct this problem, we'll lookup the host name that corresponds to your IP address and then assign that host name to your computer.

Making the changes

To begin open an OS/2 window. At the command line type: netstat -a The output might look something like this: addr 192.168.1.1 interface 0 mask ffffff00 broadcast 192.168.1.254 addr 127.0.0.1 interface 0 mask ff000000 broadcast 127.0.0.1 The first number is your IP address. If you have the address 127.0.0.1 listed, you should use it instead.

Next type the following command:

host 192.168.1.1 replacing 192.168.1.1 with your actual IP address. This command will return the proper host name for your computer. Use this information to set your hostname.


Copyright 1999, 2000, Sundial Systems Corporation. ALL RIGHTS RESERVED.
Junk Spy is a trademark of Sundial Systems Corporation. OS/2 is a registered trademark of International Business Machines Corporation. All other trademarks remain the property of their respective owners.