cfphoenix said:
<--Network address-->192.168
<--Subnet address--> .1
<--Machine address--> . 100
I agree the subnet mask is 255.255.255.0
Thanks for that. I had slightly misread your post. Your explanation above is not quite right though. I'm far from being a networking expert either but it's not as simple as the above example.
The subnets are determined by the subnet mask, which is itself influenced by the class of the IP address (and so not a fixed layout as above). Subnet masks will determine which of the octets of the address represent the Network ID, and which the Host ID. For a Class B address, the subnet mask would be 255.255.0.0 meaning that the first and second octet represent the Network ID and the third and fourth represent the Host ID. The third octet can be 'hijacked' to create a subnet ID, but this is only for a Class B address.
For a subnet mask of 255.255.255.0, the first three octets are the Network ID (which defines, or is defined by, the 'physical segment' i.e. the way your network is physically laid out) and the last octet is available for you to uniquely identify your Hosts (or machines).
Subnet masks determine subnets.
So in our (Class C) example IP of 192.168.1.n, "192.168.1" is the network ID and the 'n' is available to be allocated as Host ID's (or machine ID's if you like). In this case, subnetting is not employed.
It's very interesting, and I've learnt a lot myself recently.
On my travels, I've found a couple of really interesting sites on IP addressing if you're interested.
The first is an online tutorial, which I'd advise you start from the begining, as it rattles through at a fair pace!
http://www.learntosubnet.com/
The second is a tool for playing with specific IP addresses, which is quite cool.
http://jodies.de/ipcalc
Not trying to be a smartass, just chewing the fat. I'm a self confessed idiot when it comes to IP addressing!
STICK