IP

IP (Internet Protocol) is an identifier for a computer or device on a TCP/IP network. Networks using the TCP/IP protocol route messages based on the IP address of the destination. The format of an IP address is a 32-bit numeric address written as four numbers separated by periods. Each number can be zero to 255. For example, 10.5.25.180.

Every computer that communicates over the Internet is assigned an IP address that uniquely identifies the device and distinguishes it from other computers on the Internet. Within an isolated network, IP addresses can be assigned at random if each one is unique. However, to connect a private network to the Internet, registered IP addresses must be used (called Internet addresses) to avoid duplicates. The four numbers in an IP address are used in different ways to identify a particular network and a host on that network.

Four regional Internet registries—ARIN, RIPE NCC, LACNIC, and APNIC—assign Internet addresses from the following three classes.

The number of unassigned Internet addresses is running out, so a new classless scheme called CIDR (Classless Inter-Domain Routing) is gradually replacing the system based on classes A, B, and C and is tied to adoption of IPv6. ICMP (Internet Control Message Protocol) is an extension to the IP defined by RFC 792. ICMP supports packets containing error, control, and informational messages. For example, the ping command uses ICMP to test an Internet connection.

The IP implements all components required for IP forwarding. The various components of the IP include ARP, RARP, RTM, ICMP, IRDP, IGMP, InARP, BOOTP, TFTP, TRACE ROUTE, PING and UDP.