UDP
8.4 IP Addresses
Each TCP/IP node on a network host has a unique IP address. This address provides the information needed to forward packets on the local network and across multiple networks if necessary.
IP addresses are specified as x.x.x.x, where each x is a number from 1 to 254; for example,
192.0.1.99.The Device Server must be assigned a unique IP address to use TCP/IP network functionality.
IP addresses contain three pieces of information: the network, the subnet, and the host.
8.4.1 Network Portion
The network portion of the IP address is determined by the network type: Class A, B, or C.
Table 31 - Network Portion of IP Address
Network Class | Network Portion of Address |
Class A | First byte (2nd, 3rd, and 4th bytes are the host) |
Class B | First 2 bytes (3rd and 4th bytes are the host) |
Class C | First 3 bytes (4th byte is the host) |
In most network examples, the host portion of the address is set to zero.
Table 32 - Available IP Addresses
Class | Reserved | Available |
A | 0.0.0.0 | 1.0.0.0 to 126.0.0.0 |
| 127.0.0.0 |
|
B | 128.0.0.0 | 128.1.0.0 to 191.254.0.0 |
| 191.255.0.0 |
|
C | 192.0.0.0 | 192.0.1.0 to 223.255.254.0 |
| 223.255.255.0 |
|
D, E | 224.0.0.0 to 255.255.255.254 | None (Check this) |
| 255.255.255.255 |
|
Consider the IP address 36.1.3.4. This address is a Class A address; therefore, the network portion of the address is 36.0.0.0 and the host portion is 1.3.4.
8.4.2 Subnet Portion
The subnet portion of the IP address represents which