The hosts file comes filled with lots of weird junk that seems to correspond to Apple, but it's all commented out. Basically, all information in here is in a very simple format: host name, a tab, an A, a tab, and then the IP address. You can also create aliases (using CNAME instead of A) and indicate available name servers (using NS instead of A). Basically, though, all you have to do is create a file that looks like this:
hypeserve.hypertype.com A 192.168.124.2
Many thanks to David Boulter at Bucknell University for showing me where to find the Apple documentation for MacTCP.
Copyright 1995 by Simon St.Laurent. All rights reserved. You may print this document for yourself or others at no charge, but commercial distribution without permission is prohibited.
Hypertype