CH4 CNM
CH4 CNM
CH4 CNM
4. Logical Addressing :There are two types of addressing performed in the network:
logical addressing and physical addressing. The data link layer performs the physical
addressing, while the network layer does the logical addressing in the OSI model. Logical
addressing is also used to distinguish between the source and destination system. The
network layer adds a header to the packet, which includes the logical addresses of both the
sender and the receiver.
5. Internetworking :This is the most important function performed by the network layer
of the OSI model. It establishes the logical connection between nodes in the same or
different networks.
6. Fragmentation and Reassembly: Fragmentation is the conversion of data packets
into the smallest individual data units capable of being transmitted in the network. At
the receiving end all those fragmented packets are reassembled to create the actual data
in order
3.Broadcast routing : The term broadcast refers to one to all.The IPV4 address
255.255.255.255 is used as a broadcast address Eg. ARP request message,DHCP discover
message
IP Addressing and Network Configuration Marks:16
Classful Addressing
The 32 bit IPV4 address is divided into five sub-classes. These are:
1) Class A 2)Class B 3) Class C 4) Class D 5)Class E
IPv4 address is divided into two parts:
Network ID and Host ID
Class A: IP address belonging to class A are assigned to the networks that contain a large
number of hosts.
Class D:
• IP address belonging to class D are reserved for multi-casting.
• The leading bits D are always set to 1110.
• IP addresses belonging to class D ranges from 224.0.0.0 – 239.255.255.255.
IP Addressing and Network Configuration Marks:16
Class E:
• IP addresses belonging to class E are reserved for experimental and research
purposes.
• IP addresses of class E ranges from 240.0.0.0 – 255.255.255.254.
• The higher order bits of first octet of class E are always set to 1111.
Network Mask
• A network mask helps to know which portion of the address identifies – the network
and which portion of the address identifies the node.
• A mask is a 32-bit binary number.
Class A, B, and C networks have default masks, also known as natural masks.
Class A – 255.0.0.0
Class B – 255.255.0.0
Class C – 255.255.255.0
IPV4 Addressing
Limitations of IPv4
• IP relies on network layer addresses to identify end-points on network, and
each network has a unique IP address.
• IPv4 addresses are exhausting as we can have maximum 232 IPv4 addresses
• Complex host and routing configuration
• non-hierarchical addressing
• large routing tables
• QoS (Quality of Service), mobility ,multihoming
IPV6 Addressing
• An IPv6 address is made of 128 bits divided into eight 16-bits blocks. Each block is
then converted into 4-digit Hexadecimal numbers separated by colon symbols.
• The Address space of IPV6 is 2128
Even after converting into Hexadecimal format, IPv6 address remains long. IPv6 provides
some rules to shorten the address. The rules are as follows:
Rule.1: Discard leading Zero(es):
In Block 2, 0074, the leading two 0s can be omitted
Rule.2: If two of more blocks contain consecutive zeroes, omit them all and replace with
double colon sign : such as ( 7th block):
Consecutive blocks of zeroes such as (3rd 4th and 5th ) can be replaced only once by ::
The Final IPv6 address is FDEC: 74 :: BOFF:0:FFF0
IP Addressing and Network Configuration Marks:16
The Internet has experienced a phenomenal increase of devices accessing the Internet.
Because of this increase, IPv4 addresses are running out. Traditional model of class full
addressing does not allow the address space to be used to its maximum potential. The
solution is IPv6 which can accommodate the increased demand by providing a
much larger address space IPv6 has 128-bit address space or 4 times more address bits
compared to IPv4's 32-bit address space. This large address space will provide enough
address space for many decades to come.
Version: This four-bit field specifies the version of the IP, i.e., 6 in this case.
Priority: It defines the priority of the packet concerning traffic congestion.
Flow label: The reason for designing this protocol is to facilitate with special controlling
for a certain flow of data.
Payload length: It defines the total length of the IP datagram excepting the base header.
Next header: It‟s an eight-bit field describe the header that trails the base header in the
datagram. The next header is one of the optional extension headers which IP uses or the
header for an upper layer protocol such as UDP or TCP.
Hop limit: This eight-bit hop limit field assist with the same functions at the TTL field in
IPv4.
Source address: It is a 16 bytes internet address identifies the source of the datagram.
Destination address: This is 16-byte internet address that generally describes the final
destination of the datagram.
IP Addressing and Network Configuration Marks:16
2. Tunnelling
• Tunnelling is a strategy used when two computers using IPv6 want to communicate
with each other and the packet must pass through a region that uses IPv4.
• To pass through this region, the packet must have an IPv4 address.So the IPv6 packet
is encapsulated in an IPv4 packet when it enters the region.
• To make it clear that the IPv4 packet is carrying an , IPv6 packet as data the protocol
value is set to 41.
3. Header Translation
• In this case, the header format must be totally changed through header translation.
The header of the IPv6 packet is converted to an IPv4 header see figure.
IP Addressing and Network Configuration Marks:16
• To access the Internet, one public IP address is needed, but we can use a private IP
address in our private network.
• The idea of NAT is to allow multiple devices to access the Internet through a
single public address.
• Network Address Translation (NAT) is a process in which one or more local IP
address is translated into one or more Global IP address and vice versa in order to
provide Internet access to the local hosts.
• NAT generally operates on router or firewall.
Elaborate the procedure to divide networks into subnets. Divide given network address in
four equal part to hold maximum 50 devices in each subnet.
IP Addressing and Network Configuration Marks:16