
Startup and functions
6874_en_16
PHOENIX CONTACT
3-5
With binary representation of the IP address, the network class is represented by the first
bits. The key factor is the number of "ones" before the first "zero". The assignment of
classes is shown in the following table. The empty cells in the table are not relevant to the
network class and are already used for the network address.
The bits for the network class are followed by those for the network address and the user
address. Depending on the network class, a different number of bits are available, both for
the network address (network ID) and the user address (host ID).
IP addresses can be represented in decimal or hexadecimal form. In decimal notation,
bytes are separated by dots (dotted decimal notation) to show the logical grouping of the
individual bytes.
Possible address combinations
Figure 3-3
Structure of IP addresses
Bit 1
Bit 2
Bit 3
Bit 4
Bit 5
Class A
0
Class B
1
0
Class C
1
1
0
Class D
1
1
1
0
Class E
1
1
1
1
0
Network ID
Host ID
Class A
7 bits
24 bits
Class B
14 bits
16 bits
Class C
21 bits
8 bits
Class D
28-bit multicast identifier
Class E
27 bits (reserved)
The decimal points do not divide the address into a network and user address. Only the
value of the first bits (before the first "zero") specifies the network class and thus the
number of remaining bits in the address.
7 bits
24 bits
14 bits
16 bits
21 bits
8 bits
28 bits
27 bits
Network ID
Host ID
Host ID
Host ID
Identifier for multicast group
Reserved for future applications
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
Class A
0.0.0.0 - 127.255.255.255
Class B
128.0.0.0 - 191.255.255.255
Class C
192.0.0.0 - 223.255.255.255
Class D
224.0.0.0 - 239.255.255.255
Class E
240.0.0.0 - 247.255.255.255
61492009
Network ID
Network ID
RSPSupply - 1-888-532-2706 - www.RSPSupply.com
http://www.RSPSupply.com/p-14178-Phoenix-Contact-2832357-FL-IF-2TX-VS-RJ-D-Media-Module-for-Modular-Switch.aspx