Professional Documents
Culture Documents
Reg. No 20-NTU-CS-1042
Lab Plan 03
IP addresses, which carry location information and make devices reachable for
communication, are essentially the identifier that permits information to be
exchanged between devices on a network. There must be a means for computers,
routers, and webpages to be distinguished on the internet. A method for
achieving this is provided by IP addresses, which are crucial to the operation of
the internet.
IP addresses, which carry location information and make devices reachable for
communication, are essentially the identifier that permits information to be
exchanged between devices on a network. There must be a means for computers,
routers, and webpages to be distinguished on the internet. A method for
achieving this is provided by IP addresses, which are crucial to the operation of
the internet.
IP Versions:
The two IP versions that are now in use are IPv4 and IPv6. The original IPv4
protocol is still used today on the internet and many corporate networks. On the
other hand, the IPv4 protocol could only accommodate 232 addresses. Due to the
way addresses were distributed, this resulted in a situation where there would
not be enough unique addresses for all devices connected to the internet. The
IPv6 protocol was created by the Internet Engineering Task Force (IETF) and
formally accepted in 1998. This modification greatly increased the address space
and allowed the use of 2128 addresses. Additionally, improvements were made to
routing and security, and adjustments were made to improve the efficiency of IP
packet headers.
IPv4:
IPv4 refers to IP version 4. It is the most recent version and the IP address that is
utilised the most. It is a 32-bit address made up of four numbers that are
separated by "dots," or periods. This address is unique to each device.
Example:-
In an octet, each bit can either be 1 or 0. When a bit is set to 1, the number it
represents counts; when a bit is set to 0, the number it represents does not.
IPv6:
The two sub addresses (identifiers) stated above, which, with an arbitrary boundary separating
them, identify the network and the host to the network, respectively, make up IPv4 addresses,
which are actually 32-bit binary values. As a result, an IP address is typically displayed as 4
octets of decimal digits (0–255) rather than binary integers.
192.168.17.43.
Class A:
Class A addresses are for networks with large number of total hosts. Class A allows for
126 networks by using the first octet for the network ID. The first bit in this octet, is
always zero. The remaining seven bits in this octet complete the network ID. The 24 bits
in the remaining three octets represent the hosts ID and allows for approximately 17
million hosts per network. Class A network number values begin at 1 and end at 127.
Class B:
Class B addresses are for medium to large sized networks. Class B allows for 16,384 networks
by using the first two octets for the network ID. The first two bits in the first octet are always 1 0.
The remaining six bits, together with the second octet, complete the network ID. The 16 bits in
the third and fourth octet represent host ID and allows for approximately 65,000 hosts per
network. Class B network number values begin at 128 and end at 191.
Class D:
Class D IP addresses are not allocated to hosts and are used for multicasting.
Multicasting allows a single host to send a single stream of data to thousands of hosts
across the Internet at the same time. It is often used for audio and video streaming,
such as IP-based cable TV networks. Another example is the delivery of real-time stock
market data from one source to many brokerage companies.
Class E:
Class E IP addresses are not allocated to hosts and are not available for general use.
These are reserved for research purposes.
Range: 240.0.0.0 to 255.255.255.255
o First octet value range from 240 to 255
Number of Networks: N/A
Number of Hosts per Network: