HOSTS/TXT file for static IP addresses

Your MISE comes with a file called HOSTS/TXT:0 that contains an example list of static IP addresses:

	127.0.0.1	localhost
	192.168.1.1	router
	192.168.1.2	PC
	192.168.1.3	TRS-80
	192.168.1.5	printer

127.0.0.1 is called the loopback address and shouldn't be changed. The addresses starting with "192.168" are all local network addresses, assigned by a local router. If you browse your router's URL (in my case http://192.168.1.1) you should be able to set up static IP addresses for your local devices. Consult your router's manual for specific instructions. This will allow the MISE to address all such devices by name using DNS, rather than by their currently-assigned IP address.

Whenever you make changes to your HOSTS/TXT file, you should copy the new file to your MISE4 system floppy.

With one important exception, this file can have the same contents as the one used by your PC. See the section on setting your IP address for more information.

The contents of the HOSTS/TXT file are used by the dnshost assembly module, which you can link to your own custom applications. See the sections on DNS/CMD and DNS2/CMD for example applications.


Back to the main page