Ip Addressing
Ip Addressing
Ip Addressing
What is IP address?
A numeric addressing system,used by individuals and internet applications to reach a specific computer on a network. A unique identifier, At the Network layer, the packets of the communication need to be identified with the source and destination addresses of the two end systems. It means that each packet has a 32-bit source address and a 32-bit destination address. This 32 bits address is called IP address.
IP usage:
IP structure:
IP addresses consist of four sections. Each section is 8 bits long (known as octets). Each section can range from 0 to 255,separated by decimal point. This is known as dotted decimal notation. Written, for example, 192.168.10.1
Types of IP address :
Network address:
The address by which we refer to the network.
Broadcast address:
A special address used to send data to all hosts in the network.
Network(16 bits)
Host(16 bits)
Class of IP address:
According to the basic of network address host address IP address is of three different class. They are
Class A:
The class A address block was designed to support extremely large networks with more than 16 million host addresses. Class A IP addresses used a fixed /8 prefix with the first octet to . indicate the network address. The remaining three octets were used for host addresses.
Class B
Class B IP address used the two high order octets to indicate the network address. The other two octets specified host addresses. It had slightly more efficient allocation of addresses than class A because it equally divided 25% of the total IP address. Class B IP addresses used a fixed /16 prefix with the first two octet to indicate the network address.
Class C :
The class C address space was the most commonly available of the historic address classes. Class C address blocks used a /24 prefix. It meant that a class C network used only the last octet as host addresses with the three high-order octet used to indicate the network address.
Reserved addresses:
Addresses beginning 127 are reserved for loopback and internal testing. xxx.0.0.0 reserved for network address. xxx.255.255.255 reserved for broadcast.
When a computer is configured to use the same IP address each time it powers up, this is known as a Static IP address. Static IP addresses are manually assigned to a computer by an administrator. Some infrastructure situations have to use static addressing, such as when finding the Domain Name System host, that will translate domain names to IP addresses.
Dynamic IP:
In situations when the computer's IP address is assigned automatically, it is known as a Dynamic IP address. Assigned either by the computer interface or host software itself or assigned by a server using Dynamic Host Configuration Protocol (DHCP). Dynamic IP addresses are most frequently assigned on LANs and broadband networks by Dynamic Host Configuration Protocol (DHCP) servers.
Private IP:
10.0.0.0 172.16.0.0 192.168.0.0 - 10.255.255.255 - 172.31.255.255 - 192.168.255.255
Public IP:
A B C D E
to to to to to
Advantages of IP:
Public IP Address Sharing Easier Expansion Greater Local Control Greater Flexibility In ISP Service Increased Security (Mostly) Transparent
IP versions:
Two versions of the Internet Protocol (IP) are currently in use,IP Version 4 and IP Version 6. The generic term IP address typically still refers to the addresses defined by IPv4.
IPv4:
IPv4 uses 32-bit (4-byte) addresses, which limits the address space to 4,294,967,296 (232) possible unique addresses. IPv4 reserves some addresses for special purposes such as private networks (~18 million addresses) or multicast addresses (~270 million addresses). This reduces the number of addresses that can be allocated to end users and, as the number of addresses available is consumed, IPv4 address exhaustion is inevitable.This foreseeable shortage was the primary motivation for developing IPv6.
IPv6:
The address size was increased from 32 to 128 bits or 16 octets, which, even with a generous assignment of network blocks, is deemed sufficient for the foreseeable future. Mathematically, the new address space provides the potential for a maximum of 2128, or about 3.403 1038 unique addresses. IPv6 has facilities that automatically change the routing prefix of entire networks should the global connectivity or the routing policy change without requiring internal redesign or renumbering.
The large number of IPv6 addresses allows large blocks to be assigned for specific purposes and, where appropriate, to be aggregated for efficient routing. With a large address space, there is not the need to have complex address conservation methods as used in classless inter-domain routing (CIDR).