In article <O$a0Nb#(E-Mail Removed)>, "Jordan Freeland"
<(E-Mail Removed)> wrote:
>> The subnet theory is good. But I don't know how to tell
>> if they're on the same subnet or not! (I know so little
>> about networking that I don't even know enough to look
>> sheepish when I say that.) When I look, the IP addresses
>> match up to the first 2 sets of numbers (xxx.xxx.---.---)
>
>Subnets? Open winipcfg and look at the subnet mask. If they are the same,
>you're on the same.
The subnet mask, by itself, doesn't tell you anything. You need to
look at the IP address and the subnet mask.
Two IP addresses are in the same subnet if, and only if, they're
identical in each bit position where the subnet mask has a 1-bit.
IP addresses and subnet masks are 32-bit binary numbers. Winipcfg
shows them as four 8-bit numbers, since 32-bit strings of 1's and 0's
are hard for people to read.
The most common subnet masks consist of only 255 and 0. For them, two
IP addresses are in the same subnet if, and only if, the IP addresses
are identical in each position where the subnet mask is 255.
For example, in each of these cases, the two IP addresses are in the
same subnet:
192.168.0.1 and 192.168.0.100, subnet mask 255.255.255.0
192.168.100.114 and 192.168.100.222, subnet mask 255.255.255.0
10.1.15.233 and 10.47.111.2, subnet mask 255.0.0.0
In each of these cases, the two IP addresses are in different subnets:
192.168.0.1 and 192.168.100.100, subnet mask 255.255.255.0
10.1.15.233 and 20.47.11.2, subnet mask 255.0.0.0
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)
Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.
Microsoft Most Valuable Professional - Windows Networking
http://mvp.support.microsoft.com
Steve Winograd's Networking FAQ
http://www.bcmaven.com/networking/faq.htm