Configure the Adapter for Your EtherNet/IP Network | |
|
|
The gateway has two IP addresses (128.1.0.2 and 128.2.0.3). The first must be used by hosts on Network 1 and the second must be used by hosts on Network 2. To be usable, a host’s gateway must be addressed using a net ID matching its own.
Subnet Mask
The subnet mask is used for splitting IP networks into a series of subgroups, or subnets. The mask is a binary pattern that is matched up with the IP address to turn part of the Host ID address field into a field for subnets.
EXAMPLE
Take Network 2 (a Class B network) in the previous example and add another physical network. Selecting the following subnet mask would add two additional net ID bits, allowing for four physical networks:
11111111 11111111 11000000 00000000 = 255.255.192.0
These two bits of the Host ID are used to extend the net ID.
Two bits of the Class B host ID are used to extend the net ID. Each unique combination of bits in the part of the Host ID where subnet mask bits are 1 specifies a different physical network.
Publication