GRUEN INTERNATIONAL SCHOOLS, PORT HARCOURTAn IP address is a logical address assigned to a network interface so devices can be identified and packets can be delivered to the correct destination.
IPv4 uses 32 bits and is normally written as four decimal octets, e.g. 192.168.1.10. Each octet ranges from 0 to 255.
IPv6 uses 128 bits and is written in hexadecimal groups, e.g. 2001:db8::1. It provides a much larger address space than IPv4.
Part of an IPv4 address identifies the network and the remaining part identifies a host. The subnet mask indicates which bits belong to the network portion.
CIDR notation expresses the prefix length. For example, 192.168.1.0/24 means the first 24 bits are the network portion.
Subnetting divides one IP network into smaller logical networks called subnets. It helps organize addresses, manage broadcast domains and improve network design.
For a /24 network, borrowing 2 host bits produces 2^2 = 4 subnets and leaves 6 host bits per subnet. This gives 2^6 − 2 = 62 usable host addresses per traditional IPv4 subnet.
HTTP/HTTPS support web communication. DNS translates domain names into IP addresses. DHCP automatically provides network configuration such as IP addresses.
FTP supports file transfer. SMTP sends email, while IMAP and POP3 retrieve email. TCP provides reliable connection-oriented transport; UDP is connectionless and can be preferable for applications where low overhead or speed is important.
Network systems should use suitable authentication, encryption, updates, segmentation and monitoring. HTTPS protects web traffic while it is being transmitted.