Subnet Mask In Ethernet Communication

There is a really good post on this site that is only a couple of weeks old. Do a search on this site and you'll find a good explanation for subnet masks, DNS, IP address, and the like.

Russ
 
The subnet mask defines what IP addresses are on the local network. To talk to any of the IPs on the local network your device simply sends a packet to the destination IP. To talk to IPs that are not on the local network your device sends a packet to the gateway IP; this packet must include the ultimate destination IP.

Lets say you've got the following settings on your PC:

IP = 192.168.0.101
Gateway = 192.168.0.1
Subnet = 255.255.255.0

This means that your PC can communicate directly with any IP address of 192.168.0.0 through 192.168.0.255.
For all other IP addresses data must be sent to the gateway.

If your subnet was 255.255.0.0 then your computer could communicate with IPs from 192.168.0.0 through 192.168.255.255.

Hope that helps.
 

Similar Topics

Hi. Rockwell learning curve 132-1b. I was having trouble to change IP address on a EN2TR. Finally found out that I need to change the IP...
Replies
1
Views
743
I was hoping to get some feedback on how a particular network is planned to be setup and see if you all think it is wise, or not. This plant has...
Replies
18
Views
7,833
I am working with a 1768-ENBT and I was able to connect to it through my laptop. My laptop IP is 192.168.1.10 subnet 255.255.255.0 and the PLC...
Replies
12
Views
1,548
I could not connect to or PLC over or network so I checked and the IP address is correct, but the subnet and gateway are incorrect. It has a...
Replies
2
Views
1,982
Hello guys, How can I change subnet mask on ET200. It is grayed out. I am using TIA 14
Replies
9
Views
2,312
Back
Top Bottom