Stroller wrote:
Sounds like you're getting it.

A computer (this includes routers) cannot have two interfaces on the same 
subnet. They can have multiple network interfaces, as long as they're all on 
different subnets. A router is a computer with multiple network interfaces, 
acting to gateway data  between those subnets.

Whether the machines are on the same subnet is determined by the "subnet mask". 
If the subnet mask is 255.255.0.0 then only the first two bytes of the IP address need to 
be the same for the computers to be on the same subnet. I.E. 192.168.1.1 and 192.168.2.3 
would be on the same subnet if they had the mask of 255.255.0.0.

But a subnet mask of 255.255.255.0 means that the first 3 bytes need to be the 
same for them to be on the same subnet - so 192.168.1.1 would be on the same 
subnet as 192.168.1.2, but not on the same subnet as 192.168.2.3, 192.168.2.4, 
192.168.3.3, or 192.168.44.8.

IP addresses and subnet masks can be written more succinctly using the "/" notation. "/16" means "255.255.0.0", "/24" means 
"255.255.255.0". So 192.168.2.3/16 means "IP address 192.168.2.3, subnet mask 255.255.0.0" whereas 192.168.2.3/24 means "IP address 192.168.2.3, 
subnet mask 255.255.255.0". Ranges are sometimes written 192.168.1.100-200, but don't do that when you're talking about a whole subnet (1-255) because it just looks 
odd. Use the slash notation instead, or just say "192.168.1.x and 192.168.2.y". So this email is to say that I don't know what you're doing writing with a 
">". :P

On these networks the final .255 address (eg. 192.168.1.255) is reserved for 
broadcast use, and you cannot allocate it to your PCs. Addresses ending in a .1 
(e.g. 192.168.0.1) tend generally to be used for the subnet's gateway (the 
router).

When a computer wants to send a packet to a computer on a different subnet it send it to the router 
instead (set in its configuration as the "gateway" to the network, typically the default 
gateway) with the instructions "hi, please forward this to ...".

Stroller.


I'm kind of getting it. I read up on netmask and sort of get it but it is still murky. Basically for my little wimpy network, 255.255.255.0 will suite all my needs. I think.

I set it up like this. The modem uses DHCP to get the IP from AT&T. My local IP from the modem is 192.168.1.2. Then the router has the IP 192.168.2.1 for my connection to the puter. The IP of my puter is 192.168.2.5. The next puter will be 192.168.2.6 or something different anyway.

Basically the modem has its network and the router has its network for the LAN. Another thing I like, I can access the router and modem if needed. I guess 100 for the last number would work too.

I need to read up on the netmask thing some more. It's still murky for sure.

How's it look?  Think it will work for a while?

Dale

:-)  :-)

Reply via email to