Ipheader Ipv4 Ipv6 4
Ipheader Ipv4 Ipv6 4
UNIT 4
LECTURE-25
Forwarding of IP packets and IP Header
Prepared By: Dr. Krishan kumar, Professor, LPU
LPU
Unit IV
NETWORK LAYER:
IP Addressing: Network layer design issue,
Network layer services, Network layer
performance, IP Addressing Both Classfull and
Classless,
Subnetting and Supernetting, Subnetting
examples, Forwarding of IP packets, IP Header,
IPv6 addressing
keywords
• Packet
• Packet Forwarding
• Interface
• data Segments
• Header
• IP datagram
• Encapsulation
• IHL
• TTL
• Fragementation
TCP/IP Protocol Suite 3
INTRODUCTION
a) Delayed
b) Urgent
c) Forwarding
d) Delivering
Answer:c
Answer:A
In the network specific forwarding method,
there is only one record, the destination of
the packet, in the routing table and not the
other hosts of the network. The other two
forwarding methods are the default method
and the next-hop method.
TCP/IP Protocol Suite 15
Company Placement Interview Question
a) Revolving table
b) Rotating Table
c) Routing Table
d) Re-allocate table
Answer:c
In the next-hop forwarding method, the
routing table of each router in the path
contains the address of only the next hop in
the path of packet.
This method is suitable for short distances
only.
TCP/IP Protocol Suite 17
COMPNAY PLACEMENT INTERVIEW
Question
Answer:d
The size of the routing table in the technique
must be manageable for the network nodes i.e. it
must not be too big.
Security of the forwarding packet is the highest
priority for a technique and must be high enough
so that only authorized senders and receivers can
access the packet’s content.
TCP/IP Protocol Suite 19
Company Placement Interview Question
Answer:c
In Unicast routing, there is only sender and
one receiver. So, if there is instability
between three nodes, in which one is
sender, one is receiver and one is the router
in the path, there is no other path available
for the packet and the stability of the
network is not guaranteed.
TCP/IP Protocol Suite 21
AUDIO/VIDEO LINK
https://www.youtube.com/watch?v=P
VskUP-62Ik
Any Doubt ?
20.35
Table Types of service
20.36
Questions/Answers
Solution
There is an error in this packet. The 4 left-most bits (0100) show
the version, which is correct. The next 4 bits (0010) show the
wrong header length (2 × 4 = 8).
The minimum number of bytes in the header must be 20. The
packet has been corrupted in transmission.
•Network Architect.
•Network Security Manager.
•Network and Computer Systems Administrators.
•Wireless Network Engineer.
•System Engineer.
•Database Administrator.
•Network Programmer.
•Network Service Technician.
TCP/IP Protocol Suite 41
Example 3
IPdatagram
MTU
Header Maximumlength ofdata thatcanbeencapsulatedin aframe Trailer
Frame
TCP/IP Protocol Suite 47
Table MTUs for some networks
20.48
• HYPER channel was a local area networking system for
mainframe computers, especially supercomputers,
introduced by Network Systems Corporation in the 1970s.
0000 1399
LPU
keywords
•IPV6
•Interface Identifier
•Anycast address
•Payload
•IPV6 header
•Extension Header
Address Structure
• 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.
TCP/IP Protocol Suite 64
For Example
Here128 bit IPv6 address represented in binary format and
divided into eight 16-bits blocks:
0010000000000001 0000000000000000 0011001000111000
1101111111100001 0000000001100011 0000000000000000
0000000000000000 1111111011111011
Each block is then converted into Hexadecimal and separated
by ‘:’ symbol:
2001:0000:3238:DFE1:0063:0000:0000:FEFB
Even after converting into Hexadecimal format, IPv6 address
remains long.
Prefix is always set to 1111 110. L bit, is set to 1 if the address is locally
assigned. So far, the meaning of L bit to 0 is not defined.
Therefore, Unique Local IPv6 address always starts with ‘FD’.
TCP/IP Protocol Suite 75
• The wonder of IPv6 lies in its header. An IPv6
address is 4 times larger than IPv4, but surprisingly,
the header of an IPv6 address is only 2 times larger
than that of IPv4.
• IPv6 headers have one Fixed Header and zero or
more Optional (Extension) Headers. All the
necessary information that is essential for a router is
kept in the Fixed Header.
• The Extension Header contains optional
information that helps routers to understand how to
handle a packet/flow.
TCP/IP Protocol Suite 76
Figure 19.14 IPv6 address in binary and hexadecimal colon notation
19.77
Figure 19.15 Abbreviated IPv6 addresses
19.78
QUESTIONS/Answers
D None above
These headers:
1. should be processed by First and subsequent destinations.
2. should be processed by Final Destination.
Extension Headers are arranged one after another in a linked list
manner, as depicted in the following diagram:
20.106
Note -IPv6 is fixed-sized, padding is not necessary. A new field in IPv6 that is used for
identifying that a packet is part of a sequence and has to be handled the same way as
the entire traffic flow.
Table Comparison between IPv4 options and IPv6 extension
headers
20.107
Transition from IPv4 to IPv6
Transition
Dual-stack
20.5
0
Translation
•This approach is distinct from the previously
described transition strategies.
•It allows you to convert IPv4 data to IPv6 data
and vice versa.
•Instead of being encapsulated in a single
convertible interface, traffic is translated to the
target type, whether IPv4 or IPv6. In IPv6
networks, there are two translation techniques.
•b
The IPv4 routers can form a tunnel
Explanation:
•c
Dual-stack is one of the approaches
Explanation:
used to support IPv6 in already existing
systems. ISPs are using it as a method to
transfer from IPv4 to IPv6 completely
eventually due to the lower number of possible
available addresses in IPv4.