Quixote wrote:
:-? Isn’t the router supposed to have two IP addresses? One fixed, for the other machines on your LAN to use, and the other one dynamic, to be assigned by the ISP?
At least, that’s the way I always understood it…
That's how it works... though you can have a static address from your ISP, and still require NAT if you want to use more than one host with it.
I assume he meant the 'hosts' file commonly used in lieu of a local DNS- DNS being what allows "
http://www.amiga.org" to point to whatever IP it points to- and something like "
http://www.home" to point to whatever machine on your network is named 'www.' (Or if the machine is named 'bob,' and runs a telnet server, you could 'telnet bob.')
The mess of protocols born of Windows, OS/2, and *much* earlier products were born of a software API- called - bing! - NetBIOS- designed to allow IBM PCs to throw bits on the wire. Not only did that wire not carry Internet Protocol, it wasn't even ethernet or Token Ring.
Seems like a lot of sites are finally covering the history; a year ago, I could only find one good document. Anyhow, in absence of any of the nifty IP services you take for granted today, they rolled their own everything, which became something of the de-facto standard for Wintel LANs (mostly concerned with file and printer sharing).
When IP took over, they made a valiant, if somewhat braindead effort to port the "standard" to it, leading to what IBM called "TCPBEUI" and MS named "NetBIOS over TCP/IP." See, depending who you believe, the NetBIOS Extended User Interface is the framing protocol (IBM), or the wire transport (Microsoft). Thus, on OS/2, the choice was something like NetBEUI over NetBIOS (raw-on-the-wire), or TCPBEUI over TCP/IP (IP encapsulated)... In Windows, they *used* to say NetBIOS over NetBEUI (raw-on-the-wire), or NetBIOS over TCP/IP (IP encapsulated). This also begat extensions like WINS, and weirder things, to allow the normally broadcast-oriented protocol to hop segments and subnets and generally be at all useful to moderately-sized networks.
Edit: Samba, and IIRC most Windows incarnations, can *also* access machines using the IP encapsulation by DNS address, rather than NetBIOS/NetBEUI name, if it's not confusing enough. Technically, you're *supposed* to be using the NetBIOS/NetBEUI or WINS resolver; that's what Network Neighborhood uses to produce its list. Oh yeah, and the whole whatever-over-TCP/IP mess is supposed to be called "CIFS," so you can pretend it's a nicely standard "Common Internet FileSystem" instead of 10lbs. in a 5lb. bag.
This is why MCSEs are often seen carrying around 900 page books and looking haggard. (Actually, as of 2000 or so, the guide I flipped through simply said something like "Select NetBIOS over TCP/IP; in case of failure, the Microsoft Certified technician shall perform a reinstallation of the operating system." Surprising how many pages they spent on issues that ended in 'perform a reinstallation of the operating system.' No word on interoperability with others' products, because... well, why would anyone be using non-Microsoft products?)