SlideShare una empresa de Scribd logo
1 de 59
NETWORK LAYER
Shashikant V. Athawale
Assistant Professor
Department of Computer Engineering,
AISSMS COE ,Pune
OUTLINES
2
 Basics of IPV4
 ICMPV4
 IPV6
 ARP
 RARP
 Mobile IP
 Routing algorithms
 Routing protocols
INTERNET PROTOCOL VERSION 4(IPV4)
3
BASICS OF IPV4
4
 IPv4 is the first network protocol to interconnect different
networks regardless of the medium used.
 Globally unique addressing scheme
 Any two nodes can communicate directly
IPV4 ADDRESSING
5
 Every node is identified by a four byte address
 Networks are divided by subnet classes each class has
a fixed number of network bits
 Communication between nodes on different networks is
established by routers
INTERNET PROTOCOL VERSION 6(IPV6)
6
IPV6 HISTORY
7
 Late 1980s:
⚫ Exponential growth of the Internet
 Late 1990:
⚫ CLNS proposed as IP replacement
 1991-1992:
⚫ Running out of “class-B” network numbers
⚫ Explosive growth of the “default-free” routing table
⚫ Eventual exhaustion of 32-bit address space
 Two efforts – short-term vs. long-term
⚫ More at “The Long and Windy ROAD”
BASICS
8
 General perception is that “IPv6 has not yet taken hold”
IPv4 Address run-out is not “headline news” yet
 More discussions and run-out plans proposed Private
sector requires a business case to “migrate”
 No easy Return on Investment (RoI) computation. But
reality is very different from perception! Something
needs to be done to sustain the Internet growth
 IPv6 or NAT or both or something else?
LARGE ADDRESS SPACE
today (5.5 /8s)
9
 Internet population:
~630 million users end of 2002 – 10% of world pop.
~1320 million users end of 2007 – 20% of world
pop. Future? (World pop. ~9B in 2050)
US uses 81 /8s – this is 3.9 IPv4 addresses per
person
 Repeat this the world over:
6 billion population could require 23.4 billion IPv4
addresses (6 times larger than the IPv4 address pool)
 Emerging Internet economies need address space:
China uses more than 94 million IPv4 addresses
NETWORK ADDRESS TRANSLATION
⚫ Service provision inhibited
10
 Private address space and Network address
translation (NAT) could be used instead of IPv6
 But NAT has many serious issues:
⚫ Breaks the end-to-end model of IP
⚫ Layered NAT devices
⚫ Mandates that the network keeps the state of the
connections
⚫ How to scale NAT performance for large networks?
⚫ Makes fast rerouting difficult
PROTOCOLS AND STANDARDS
 Expanded address space:
⚫ Address length quadrupled to 16 bytes
 Header Format Simplification:
⚫ Fixed length, optional headers are daisy-chained
⚫ IPv6 header is twice as long (40 bytes) as IPv4 header
without options (20 bytes)
 No checksum at the IP network layer
 No hop-by-hop segmentation
⚫ Path MTU discovery
 64 bits aligned
 Authentication and Privacy Capabilities
⚫ IPsec is mandated
 No more broadcast 11
IPV6 HEADER
12
LARGE ADDRESS SPACE
13
 IPv4:
⚫ 32 bits
⚫ = 4,294,967,296 possible addressable devices
 IPv6:
⚫ 128 bits: 4 times the size in bits
⚫ = 3.4 x 1038 possible adressable devises
⚫ =340,282,366,920,938,463,463,374,607,431,768,211,45
6
⚫ ∼ 5 x 1028 addresses per person on the planet
IP ADDRESS REPRESENTATION
 16 bit fields in case insensitive colon hexadecimal
representation
2031:0000:130F:0000:0000:09C0:876A:130B
 Leading zeros in a field are optional:
⚫ 2031:0:130F:0:0:9C0:876A:130B
 Successive fields of 0 represented as ::, but only
once in an address:
⚫ 2031:0:130F::9C0:876A:130B
⚫ 2031::130F::9C0:876A:130B
is ok
is NOT
ok
⚫ 0:0:0:0:0:0:0:1 → ::1
⚫ 0:0:0:0:0:0:0:0 → ::
(loopback address)
(unspecified address) 14
IPV6 GLOBAL UNICAST ADDRESSES
IPv6 Global Unicast addresses are:
Addresses for generic use of IPv6
Hierarchical structure intended to simplify aggregation
15
MULTICAST ADDRESSES
16
 Broadcasts in IPv4:
⚫ Interrupts all devices on the LAN even if the intent of the
request was for a subset
⚫ Can completely swamp the network (“broadcast storm”)
 Broadcasts in IPv6:
⚫ Are not used and replaced by multicast
 Multicast:
⚫ Enables the efficient use of the network
⚫ Multicast address range is much larger
RIP AND RARP
17
ARP AND RARP
18
CONTINUE
19
 A host with IP address 130.23.43.20 and physical
address 0xB23455102210 has a packet to send to
another host with IP address 130.23.43.25 and
physical address 0xA46EF45983AB. The two hosts
are on the same Ethernet network. Show the ARP
request and reply packets encapsulated in Ethernet
frames.
ARP
20
RAP PACKET
21
ENCAPSULATION OF ARP
22
RARP
23
RARP PACKET
24
ENCAPSULATION OF ARAP
25
MOBILE IP
26
MOBILE IP
27
 Mobile IP is a standard that allows users to move
from one network to another without loosing
connectivity.
 Mobile devices have IP addresses that are
associated with one network and moving to another
network means changing IP address.
 Using the mobile IP system will allow users to
achieve this and at the same time make the
underlying process transparent for a user.
BASIC IP ADDRESS
28
 All computers that are connected to the Internet
need to have a valid IP address.
 This address is usually assigned by an Internet
Service Provider (ISP) which in turn has bought a
block of addresses from the Internet Cooperation
for Assigned Names and Numbers (ICANN).
 Most companies never interact with the ICANN
directly. In order for a company to receive valid IP
addresses they contact a local ISP.
 Even local ISP:s do not interact with ICANN but in
turn they contact larger ISP:s and only they contact
ICANN.
NEED FOR IP MOBILE
 Imagine what would happen with your message if
you were to move your computer (and IP address)
to another network then your own.
 The routers would examine the address and
forward it according to the previously described
manner.
 When the message reaches the router, that you
were directly connected to before you moved, it
would not be able to forward the message to you
since you have moved.
 There is no way for a router to know how to reach
you and therefore the message will never arrive to
you. 29
OBTAINING AN IP ADDRESS USING DHCP
 One of the methods involves using the Dynamic Host
Configuration Protocol (DHCP) server at the foreign
network. DHCP is the protocol that dynamically assigns
IP-addresses to connected computers on the network.
 The DHCP server chooses one of the available
addresses and either permanently or temporary assigns
it to the computer on the network.
 When the mobile host arrives at the foreign network he
first needs to discover a DHCP server to obtain an IP
address.
 Discovering the server is easy since it advertises its
presence every 20 seconds, but it is also possible for
the host to broadcast a question if there are any DHCP
servers. 30
ROUTING ALGORITHM
31
LINK STATE ROUTING ALGORITHM
32
 Use a routing protocol to collect the whole network
topology
 Obtain destination reachability information as well
as link weights/states
 Compute shortest paths using Dijkstra’s algorithm
from a node to all other nodes
 Construct routing tables that show the destination
addresses and the next hop addresses
 Note that while Dijkstra’s algorithm gives you end-
to-end routes, the routing tables may only store the
next hop address.
DISTANCE VECTOR TECHNOLOGY
33
 Routes are advertised as vectors of distance and
direction
 Distance is defined in terms of a metric (hop
count...)
 Direction is the next-hop router or exit interface
CONTINUE
34
 The router does not have the knowledge of the
entire path to the destination network, but it knows:
⚫ The direction or interface in which packets should be
forwarded
⚫ The distance or how far it is to the destination network
PACKET FORMAT
35
ROUTING PROTOCOL
36
IP ROUTING
37
RIP - ROUTING INFORMATION PROTOCOL
38
 A simple intra domain protocol
 Straightforward implementation of Distance Vector
Routing
 Each router advertises its minimum distances to
destinations every 30 seconds (or whenever its
routing table changes)
 RIP always uses the hop-count as link metric.
Maximum hop count is 15, with “16” equal to “¥”.
 Routes timeout after 3 minutes if they are not
updated. Route metric is set to ¥ (16) and marked
for deletion
RIP PACKET FORMAT
39
ROUTING WITH RIP
 This is the operation of RIP in routed. Dedicated port for RIP
is UDP port 520.
 Initialization:
⚫ Broadcast a request packet (command = 1, metric=16;
address family=0, metric=16) on the interfaces requesting
current routing tables from routers.
 Request received:
⚫ Routers that receive above request send their entire
routing table.
 Response received:
⚫ Update the routing table (see distance vector algorithm).
 Regular routing updates:
⚫ Every 30 seconds, send all or part of the routing tables to
every neighbor.
 Triggered Updates:
40
OSPF
 OSPF = Open Shortest Path First
 RFC 1247 from 1991
 Alternative solution to RIP as interior gateway
protocol
 OSPF is a link state protocol, i.e., each node has
complete topology information
 OSPF messages are sent directly in IP (and not as
payload of UDP packets)
 Hellos and Link State Advertisements (LSAs)
⚫ To get the topology of the network
 Shortest-path algorithm,
⚫ e.g., Dijkstra’s to precompute routing tables. 41
FEATURES OF OSPF
42
 Provides authentication of routing messages
 Enables load balancing by allowing traffic to be split
evenly across routes with equal cost
 Supports sub netting
 Supports multicasting
BGP
43
 BGP = Border Gateway Protocol
 Currently in version 4
 Note: In the context of BGP, a gateway is nothing
else but an IP router that connects autonomous
systems.
 Inter domain routing protocol for routing between
autonomous systems
 Uses TCP to send routing messages
 BGP is a distance vector protocol, but unlike in RIP,
routing messages in BGP contain complete routes.
 Network administrators can specify routing policies
CONTINUE
 BGP’s goal is to find any path (not an optimal one).
Since the
 internals of the AS are never revealed, finding an
optimal path
 is not feasible.
⚫ For each autonomous system (AS), BGP distinguishes:
⚫ local traffic = traffic with source or destination in AS
⚫ transit traffic = traffic that passes through the AS
⚫ Stub AS = has connection to only one AS, only
 carry local traffic
⚫ Multi homed AS = has connection to >1 AS, but does
 not carry transit traffic
⚫ Transit AS = has connection to >1 AS and carries
 transit traffic
44
PACKET FORMAT
45
CONCLUSION
46
 We explain the network layer concept and different
sub topic of network layer. IPv6 provides sample of
address space and is designed to expand today’s
Internet services.
 Feature-rich IPv6 enabled Internet version 2 may
deliver more than expected.
 Link state routing algorithm are described.
 Different types of routing protocol also we seen.
THANK YOU!!!
59

Más contenido relacionado

Similar a Gohil-Network layer & Address Resolution Protocol.pptx

8-Lect_8 Addressing the Network.tcp.pptx
8-Lect_8 Addressing the Network.tcp.pptx8-Lect_8 Addressing the Network.tcp.pptx
8-Lect_8 Addressing the Network.tcp.pptxZahouAmel1
 
10 IP VERSION SIX (6) WEEK TEN notes.pptx
10 IP VERSION SIX (6)  WEEK TEN notes.pptx10 IP VERSION SIX (6)  WEEK TEN notes.pptx
10 IP VERSION SIX (6) WEEK TEN notes.pptxJoshuaAnnan5
 
ccna 1 v5.0 itn practice final exam answers
ccna 1 v5.0 itn practice final exam answersccna 1 v5.0 itn practice final exam answers
ccna 1 v5.0 itn practice final exam answersĐồng Quốc Vương
 
Basics of multicasting and its implementation on ethernet networks
Basics of multicasting and its implementation on ethernet networksBasics of multicasting and its implementation on ethernet networks
Basics of multicasting and its implementation on ethernet networksReliance Comm
 
Basicsofmulticastinganditsimplementationonethernetnetworks
Basicsofmulticastinganditsimplementationonethernetnetworks Basicsofmulticastinganditsimplementationonethernetnetworks
Basicsofmulticastinganditsimplementationonethernetnetworks Sasank Chaitanya
 
Basic Introduction to Technology (networking).pdf
Basic Introduction to Technology (networking).pdfBasic Introduction to Technology (networking).pdf
Basic Introduction to Technology (networking).pdftthind
 
Ccnav5.org ccna 1-v50_itn_practice_final_exam_answers
Ccnav5.org ccna 1-v50_itn_practice_final_exam_answersCcnav5.org ccna 1-v50_itn_practice_final_exam_answers
Ccnav5.org ccna 1-v50_itn_practice_final_exam_answersĐồng Quốc Vương
 
Networking essentials lect2
Networking essentials lect2Networking essentials lect2
Networking essentials lect2Roman Brovko
 
07 - TCP_IP and the DoD Model.ppt
07 - TCP_IP and the DoD Model.ppt07 - TCP_IP and the DoD Model.ppt
07 - TCP_IP and the DoD Model.pptssuserf7cd2b
 
Compatibility between IPv4 and IPv6
Compatibility between IPv4 and IPv6Compatibility between IPv4 and IPv6
Compatibility between IPv4 and IPv6Zalak Patel
 
Implementation of “Traslator Strategy” For Migration of Ipv4 to Ipv6
Implementation of “Traslator Strategy” For Migration of Ipv4 to Ipv6Implementation of “Traslator Strategy” For Migration of Ipv4 to Ipv6
Implementation of “Traslator Strategy” For Migration of Ipv4 to Ipv6IJERA Editor
 
IP Address
IP AddressIP Address
IP AddressRahul P
 
Lecture 5 internet-protocol_assignments
Lecture 5 internet-protocol_assignmentsLecture 5 internet-protocol_assignments
Lecture 5 internet-protocol_assignmentsSerious_SamSoul
 
Basic networking course
Basic networking courseBasic networking course
Basic networking courseLuxoftTraining
 

Similar a Gohil-Network layer & Address Resolution Protocol.pptx (20)

8-Lect_8 Addressing the Network.tcp.pptx
8-Lect_8 Addressing the Network.tcp.pptx8-Lect_8 Addressing the Network.tcp.pptx
8-Lect_8 Addressing the Network.tcp.pptx
 
10 IP VERSION SIX (6) WEEK TEN notes.pptx
10 IP VERSION SIX (6)  WEEK TEN notes.pptx10 IP VERSION SIX (6)  WEEK TEN notes.pptx
10 IP VERSION SIX (6) WEEK TEN notes.pptx
 
ccna 1 v5.0 itn practice final exam answers
ccna 1 v5.0 itn practice final exam answersccna 1 v5.0 itn practice final exam answers
ccna 1 v5.0 itn practice final exam answers
 
4 ipv6
4 ipv64 ipv6
4 ipv6
 
Basics of multicasting and its implementation on ethernet networks
Basics of multicasting and its implementation on ethernet networksBasics of multicasting and its implementation on ethernet networks
Basics of multicasting and its implementation on ethernet networks
 
Basicsofmulticastinganditsimplementationonethernetnetworks
Basicsofmulticastinganditsimplementationonethernetnetworks Basicsofmulticastinganditsimplementationonethernetnetworks
Basicsofmulticastinganditsimplementationonethernetnetworks
 
Basic Introduction to Technology (networking).pdf
Basic Introduction to Technology (networking).pdfBasic Introduction to Technology (networking).pdf
Basic Introduction to Technology (networking).pdf
 
Ccnav5.org ccna 1-v50_itn_practice_final_exam_answers
Ccnav5.org ccna 1-v50_itn_practice_final_exam_answersCcnav5.org ccna 1-v50_itn_practice_final_exam_answers
Ccnav5.org ccna 1-v50_itn_practice_final_exam_answers
 
Mod5
Mod5Mod5
Mod5
 
Networking essentials lect2
Networking essentials lect2Networking essentials lect2
Networking essentials lect2
 
Network Layer
Network LayerNetwork Layer
Network Layer
 
CSC427_Week_11.pdf
CSC427_Week_11.pdfCSC427_Week_11.pdf
CSC427_Week_11.pdf
 
07 - TCP_IP and the DoD Model.ppt
07 - TCP_IP and the DoD Model.ppt07 - TCP_IP and the DoD Model.ppt
07 - TCP_IP and the DoD Model.ppt
 
Compatibility between IPv4 and IPv6
Compatibility between IPv4 and IPv6Compatibility between IPv4 and IPv6
Compatibility between IPv4 and IPv6
 
Internetworking
InternetworkingInternetworking
Internetworking
 
Ccna1v3 Mod09
Ccna1v3 Mod09Ccna1v3 Mod09
Ccna1v3 Mod09
 
Implementation of “Traslator Strategy” For Migration of Ipv4 to Ipv6
Implementation of “Traslator Strategy” For Migration of Ipv4 to Ipv6Implementation of “Traslator Strategy” For Migration of Ipv4 to Ipv6
Implementation of “Traslator Strategy” For Migration of Ipv4 to Ipv6
 
IP Address
IP AddressIP Address
IP Address
 
Lecture 5 internet-protocol_assignments
Lecture 5 internet-protocol_assignmentsLecture 5 internet-protocol_assignments
Lecture 5 internet-protocol_assignments
 
Basic networking course
Basic networking courseBasic networking course
Basic networking course
 

Más de Juvil2

MODULE-1-LES-1 Activity 2&3.pptx
MODULE-1-LES-1 Activity 2&3.pptxMODULE-1-LES-1 Activity 2&3.pptx
MODULE-1-LES-1 Activity 2&3.pptxJuvil2
 
Operating-System-Neil-Eder-Report-PPT-Final (1).pptx
Operating-System-Neil-Eder-Report-PPT-Final (1).pptxOperating-System-Neil-Eder-Report-PPT-Final (1).pptx
Operating-System-Neil-Eder-Report-PPT-Final (1).pptxJuvil2
 
JBOY PPT SCIENCE.pptx
JBOY PPT SCIENCE.pptxJBOY PPT SCIENCE.pptx
JBOY PPT SCIENCE.pptxJuvil2
 
NEIL-FERDINAND-PPT.pptx
NEIL-FERDINAND-PPT.pptxNEIL-FERDINAND-PPT.pptx
NEIL-FERDINAND-PPT.pptxJuvil2
 
Gohil & Iligan reporting in OSH.pptx
Gohil & Iligan reporting in OSH.pptxGohil & Iligan reporting in OSH.pptx
Gohil & Iligan reporting in OSH.pptxJuvil2
 
PEE-REPORTING (1).pptx
PEE-REPORTING (1).pptxPEE-REPORTING (1).pptx
PEE-REPORTING (1).pptxJuvil2
 

Más de Juvil2 (6)

MODULE-1-LES-1 Activity 2&3.pptx
MODULE-1-LES-1 Activity 2&3.pptxMODULE-1-LES-1 Activity 2&3.pptx
MODULE-1-LES-1 Activity 2&3.pptx
 
Operating-System-Neil-Eder-Report-PPT-Final (1).pptx
Operating-System-Neil-Eder-Report-PPT-Final (1).pptxOperating-System-Neil-Eder-Report-PPT-Final (1).pptx
Operating-System-Neil-Eder-Report-PPT-Final (1).pptx
 
JBOY PPT SCIENCE.pptx
JBOY PPT SCIENCE.pptxJBOY PPT SCIENCE.pptx
JBOY PPT SCIENCE.pptx
 
NEIL-FERDINAND-PPT.pptx
NEIL-FERDINAND-PPT.pptxNEIL-FERDINAND-PPT.pptx
NEIL-FERDINAND-PPT.pptx
 
Gohil & Iligan reporting in OSH.pptx
Gohil & Iligan reporting in OSH.pptxGohil & Iligan reporting in OSH.pptx
Gohil & Iligan reporting in OSH.pptx
 
PEE-REPORTING (1).pptx
PEE-REPORTING (1).pptxPEE-REPORTING (1).pptx
PEE-REPORTING (1).pptx
 

Último

(Sonam Bajaj) Call Girl in Jaipur- 09257276172 Escorts Service 50% Off with C...
(Sonam Bajaj) Call Girl in Jaipur- 09257276172 Escorts Service 50% Off with C...(Sonam Bajaj) Call Girl in Jaipur- 09257276172 Escorts Service 50% Off with C...
(Sonam Bajaj) Call Girl in Jaipur- 09257276172 Escorts Service 50% Off with C...indiancallgirl4rent
 
❤️♀️@ Jaipur Call Girls ❤️♀️@ Meghna Jaipur Call Girls Number CRTHNR Call G...
❤️♀️@ Jaipur Call Girls ❤️♀️@ Meghna Jaipur Call Girls Number CRTHNR   Call G...❤️♀️@ Jaipur Call Girls ❤️♀️@ Meghna Jaipur Call Girls Number CRTHNR   Call G...
❤️♀️@ Jaipur Call Girls ❤️♀️@ Meghna Jaipur Call Girls Number CRTHNR Call G...Gfnyt.com
 
Call Now ☎ 9999965857 !! Call Girls in Hauz Khas Escort Service Delhi N.C.R.
Call Now ☎ 9999965857 !! Call Girls in Hauz Khas Escort Service Delhi N.C.R.Call Now ☎ 9999965857 !! Call Girls in Hauz Khas Escort Service Delhi N.C.R.
Call Now ☎ 9999965857 !! Call Girls in Hauz Khas Escort Service Delhi N.C.R.ktanvi103
 
Call Girls Service In Goa 💋 9316020077💋 Goa Call Girls By Russian Call Girl...
Call Girls Service In Goa  💋 9316020077💋 Goa Call Girls  By Russian Call Girl...Call Girls Service In Goa  💋 9316020077💋 Goa Call Girls  By Russian Call Girl...
Call Girls Service In Goa 💋 9316020077💋 Goa Call Girls By Russian Call Girl...russian goa call girl and escorts service
 
VIP Call Girl DLF Phase 2 Gurgaon (Noida) Just Meet Me@ 9711199012
VIP Call Girl DLF Phase 2 Gurgaon (Noida) Just Meet Me@ 9711199012VIP Call Girl DLF Phase 2 Gurgaon (Noida) Just Meet Me@ 9711199012
VIP Call Girl DLF Phase 2 Gurgaon (Noida) Just Meet Me@ 9711199012adityaroy0215
 
Call Girl Amritsar ❤️♀️@ 8725944379 Amritsar Call Girls Near Me ❤️♀️@ Sexy Ca...
Call Girl Amritsar ❤️♀️@ 8725944379 Amritsar Call Girls Near Me ❤️♀️@ Sexy Ca...Call Girl Amritsar ❤️♀️@ 8725944379 Amritsar Call Girls Near Me ❤️♀️@ Sexy Ca...
Call Girl Amritsar ❤️♀️@ 8725944379 Amritsar Call Girls Near Me ❤️♀️@ Sexy Ca...Sheetaleventcompany
 
Mangalore Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Mangalore Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetMangalore Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Mangalore Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetCall Girls Service
 
Bareilly Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Bareilly Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetBareilly Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Bareilly Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetCall Girls Service
 
Chandigarh Escorts, 😋9988299661 😋50% off at Escort Service in Chandigarh
Chandigarh Escorts, 😋9988299661 😋50% off at Escort Service in ChandigarhChandigarh Escorts, 😋9988299661 😋50% off at Escort Service in Chandigarh
Chandigarh Escorts, 😋9988299661 😋50% off at Escort Service in ChandigarhSheetaleventcompany
 
Call Girl Raipur 📲 9999965857 whatsapp live cam sex service available
Call Girl Raipur 📲 9999965857 whatsapp live cam sex service availableCall Girl Raipur 📲 9999965857 whatsapp live cam sex service available
Call Girl Raipur 📲 9999965857 whatsapp live cam sex service availablegragmanisha42
 
VIP Call Girl Sector 88 Gurgaon Delhi Just Call Me 9899900591
VIP Call Girl Sector 88 Gurgaon Delhi Just Call Me 9899900591VIP Call Girl Sector 88 Gurgaon Delhi Just Call Me 9899900591
VIP Call Girl Sector 88 Gurgaon Delhi Just Call Me 9899900591adityaroy0215
 
Call Girls Chandigarh 👙 7001035870 👙 Genuine WhatsApp Number for Real Meet
Call Girls Chandigarh 👙 7001035870 👙 Genuine WhatsApp Number for Real MeetCall Girls Chandigarh 👙 7001035870 👙 Genuine WhatsApp Number for Real Meet
Call Girls Chandigarh 👙 7001035870 👙 Genuine WhatsApp Number for Real Meetpriyashah722354
 
Russian Call Girls in Noida Pallavi 9711199171 High Class Call Girl Near Me
Russian Call Girls in Noida Pallavi 9711199171 High Class Call Girl Near MeRussian Call Girls in Noida Pallavi 9711199171 High Class Call Girl Near Me
Russian Call Girls in Noida Pallavi 9711199171 High Class Call Girl Near Memriyagarg453
 
Tirupati Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Tirupati Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetTirupati Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Tirupati Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetCall Girls Service
 
Hubli Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Hubli Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetHubli Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Hubli Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetCall Girls Service
 
bhubaneswar Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
bhubaneswar Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meetbhubaneswar Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
bhubaneswar Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetCall Girls Service
 
Call Girl Raipur 📲 9999965857 ヅ10k NiGhT Call Girls In Raipur
Call Girl Raipur 📲 9999965857 ヅ10k NiGhT Call Girls In RaipurCall Girl Raipur 📲 9999965857 ヅ10k NiGhT Call Girls In Raipur
Call Girl Raipur 📲 9999965857 ヅ10k NiGhT Call Girls In Raipurgragmanisha42
 
Jaipur Call Girls 9257276172 Call Girl in Jaipur Rajasthan
Jaipur Call Girls 9257276172 Call Girl in Jaipur RajasthanJaipur Call Girls 9257276172 Call Girl in Jaipur Rajasthan
Jaipur Call Girls 9257276172 Call Girl in Jaipur Rajasthanindiancallgirl4rent
 
Sambalpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Sambalpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetSambalpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Sambalpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetCall Girls Service
 
dhanbad Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
dhanbad Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meetdhanbad Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
dhanbad Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetCall Girls Service
 

Último (20)

(Sonam Bajaj) Call Girl in Jaipur- 09257276172 Escorts Service 50% Off with C...
(Sonam Bajaj) Call Girl in Jaipur- 09257276172 Escorts Service 50% Off with C...(Sonam Bajaj) Call Girl in Jaipur- 09257276172 Escorts Service 50% Off with C...
(Sonam Bajaj) Call Girl in Jaipur- 09257276172 Escorts Service 50% Off with C...
 
❤️♀️@ Jaipur Call Girls ❤️♀️@ Meghna Jaipur Call Girls Number CRTHNR Call G...
❤️♀️@ Jaipur Call Girls ❤️♀️@ Meghna Jaipur Call Girls Number CRTHNR   Call G...❤️♀️@ Jaipur Call Girls ❤️♀️@ Meghna Jaipur Call Girls Number CRTHNR   Call G...
❤️♀️@ Jaipur Call Girls ❤️♀️@ Meghna Jaipur Call Girls Number CRTHNR Call G...
 
Call Now ☎ 9999965857 !! Call Girls in Hauz Khas Escort Service Delhi N.C.R.
Call Now ☎ 9999965857 !! Call Girls in Hauz Khas Escort Service Delhi N.C.R.Call Now ☎ 9999965857 !! Call Girls in Hauz Khas Escort Service Delhi N.C.R.
Call Now ☎ 9999965857 !! Call Girls in Hauz Khas Escort Service Delhi N.C.R.
 
Call Girls Service In Goa 💋 9316020077💋 Goa Call Girls By Russian Call Girl...
Call Girls Service In Goa  💋 9316020077💋 Goa Call Girls  By Russian Call Girl...Call Girls Service In Goa  💋 9316020077💋 Goa Call Girls  By Russian Call Girl...
Call Girls Service In Goa 💋 9316020077💋 Goa Call Girls By Russian Call Girl...
 
VIP Call Girl DLF Phase 2 Gurgaon (Noida) Just Meet Me@ 9711199012
VIP Call Girl DLF Phase 2 Gurgaon (Noida) Just Meet Me@ 9711199012VIP Call Girl DLF Phase 2 Gurgaon (Noida) Just Meet Me@ 9711199012
VIP Call Girl DLF Phase 2 Gurgaon (Noida) Just Meet Me@ 9711199012
 
Call Girl Amritsar ❤️♀️@ 8725944379 Amritsar Call Girls Near Me ❤️♀️@ Sexy Ca...
Call Girl Amritsar ❤️♀️@ 8725944379 Amritsar Call Girls Near Me ❤️♀️@ Sexy Ca...Call Girl Amritsar ❤️♀️@ 8725944379 Amritsar Call Girls Near Me ❤️♀️@ Sexy Ca...
Call Girl Amritsar ❤️♀️@ 8725944379 Amritsar Call Girls Near Me ❤️♀️@ Sexy Ca...
 
Mangalore Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Mangalore Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetMangalore Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Mangalore Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
 
Bareilly Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Bareilly Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetBareilly Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Bareilly Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
 
Chandigarh Escorts, 😋9988299661 😋50% off at Escort Service in Chandigarh
Chandigarh Escorts, 😋9988299661 😋50% off at Escort Service in ChandigarhChandigarh Escorts, 😋9988299661 😋50% off at Escort Service in Chandigarh
Chandigarh Escorts, 😋9988299661 😋50% off at Escort Service in Chandigarh
 
Call Girl Raipur 📲 9999965857 whatsapp live cam sex service available
Call Girl Raipur 📲 9999965857 whatsapp live cam sex service availableCall Girl Raipur 📲 9999965857 whatsapp live cam sex service available
Call Girl Raipur 📲 9999965857 whatsapp live cam sex service available
 
VIP Call Girl Sector 88 Gurgaon Delhi Just Call Me 9899900591
VIP Call Girl Sector 88 Gurgaon Delhi Just Call Me 9899900591VIP Call Girl Sector 88 Gurgaon Delhi Just Call Me 9899900591
VIP Call Girl Sector 88 Gurgaon Delhi Just Call Me 9899900591
 
Call Girls Chandigarh 👙 7001035870 👙 Genuine WhatsApp Number for Real Meet
Call Girls Chandigarh 👙 7001035870 👙 Genuine WhatsApp Number for Real MeetCall Girls Chandigarh 👙 7001035870 👙 Genuine WhatsApp Number for Real Meet
Call Girls Chandigarh 👙 7001035870 👙 Genuine WhatsApp Number for Real Meet
 
Russian Call Girls in Noida Pallavi 9711199171 High Class Call Girl Near Me
Russian Call Girls in Noida Pallavi 9711199171 High Class Call Girl Near MeRussian Call Girls in Noida Pallavi 9711199171 High Class Call Girl Near Me
Russian Call Girls in Noida Pallavi 9711199171 High Class Call Girl Near Me
 
Tirupati Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Tirupati Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetTirupati Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Tirupati Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
 
Hubli Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Hubli Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetHubli Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Hubli Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
 
bhubaneswar Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
bhubaneswar Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meetbhubaneswar Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
bhubaneswar Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
 
Call Girl Raipur 📲 9999965857 ヅ10k NiGhT Call Girls In Raipur
Call Girl Raipur 📲 9999965857 ヅ10k NiGhT Call Girls In RaipurCall Girl Raipur 📲 9999965857 ヅ10k NiGhT Call Girls In Raipur
Call Girl Raipur 📲 9999965857 ヅ10k NiGhT Call Girls In Raipur
 
Jaipur Call Girls 9257276172 Call Girl in Jaipur Rajasthan
Jaipur Call Girls 9257276172 Call Girl in Jaipur RajasthanJaipur Call Girls 9257276172 Call Girl in Jaipur Rajasthan
Jaipur Call Girls 9257276172 Call Girl in Jaipur Rajasthan
 
Sambalpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Sambalpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetSambalpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Sambalpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
 
dhanbad Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
dhanbad Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meetdhanbad Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
dhanbad Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
 

Gohil-Network layer & Address Resolution Protocol.pptx

  • 1. NETWORK LAYER Shashikant V. Athawale Assistant Professor Department of Computer Engineering, AISSMS COE ,Pune
  • 2. OUTLINES 2  Basics of IPV4  ICMPV4  IPV6  ARP  RARP  Mobile IP  Routing algorithms  Routing protocols
  • 4. BASICS OF IPV4 4  IPv4 is the first network protocol to interconnect different networks regardless of the medium used.  Globally unique addressing scheme  Any two nodes can communicate directly
  • 5. IPV4 ADDRESSING 5  Every node is identified by a four byte address  Networks are divided by subnet classes each class has a fixed number of network bits  Communication between nodes on different networks is established by routers
  • 7. IPV6 HISTORY 7  Late 1980s: ⚫ Exponential growth of the Internet  Late 1990: ⚫ CLNS proposed as IP replacement  1991-1992: ⚫ Running out of “class-B” network numbers ⚫ Explosive growth of the “default-free” routing table ⚫ Eventual exhaustion of 32-bit address space  Two efforts – short-term vs. long-term ⚫ More at “The Long and Windy ROAD”
  • 8. BASICS 8  General perception is that “IPv6 has not yet taken hold” IPv4 Address run-out is not “headline news” yet  More discussions and run-out plans proposed Private sector requires a business case to “migrate”  No easy Return on Investment (RoI) computation. But reality is very different from perception! Something needs to be done to sustain the Internet growth  IPv6 or NAT or both or something else?
  • 9. LARGE ADDRESS SPACE today (5.5 /8s) 9  Internet population: ~630 million users end of 2002 – 10% of world pop. ~1320 million users end of 2007 – 20% of world pop. Future? (World pop. ~9B in 2050) US uses 81 /8s – this is 3.9 IPv4 addresses per person  Repeat this the world over: 6 billion population could require 23.4 billion IPv4 addresses (6 times larger than the IPv4 address pool)  Emerging Internet economies need address space: China uses more than 94 million IPv4 addresses
  • 10. NETWORK ADDRESS TRANSLATION ⚫ Service provision inhibited 10  Private address space and Network address translation (NAT) could be used instead of IPv6  But NAT has many serious issues: ⚫ Breaks the end-to-end model of IP ⚫ Layered NAT devices ⚫ Mandates that the network keeps the state of the connections ⚫ How to scale NAT performance for large networks? ⚫ Makes fast rerouting difficult
  • 11. PROTOCOLS AND STANDARDS  Expanded address space: ⚫ Address length quadrupled to 16 bytes  Header Format Simplification: ⚫ Fixed length, optional headers are daisy-chained ⚫ IPv6 header is twice as long (40 bytes) as IPv4 header without options (20 bytes)  No checksum at the IP network layer  No hop-by-hop segmentation ⚫ Path MTU discovery  64 bits aligned  Authentication and Privacy Capabilities ⚫ IPsec is mandated  No more broadcast 11
  • 13. LARGE ADDRESS SPACE 13  IPv4: ⚫ 32 bits ⚫ = 4,294,967,296 possible addressable devices  IPv6: ⚫ 128 bits: 4 times the size in bits ⚫ = 3.4 x 1038 possible adressable devises ⚫ =340,282,366,920,938,463,463,374,607,431,768,211,45 6 ⚫ ∼ 5 x 1028 addresses per person on the planet
  • 14. IP ADDRESS REPRESENTATION  16 bit fields in case insensitive colon hexadecimal representation 2031:0000:130F:0000:0000:09C0:876A:130B  Leading zeros in a field are optional: ⚫ 2031:0:130F:0:0:9C0:876A:130B  Successive fields of 0 represented as ::, but only once in an address: ⚫ 2031:0:130F::9C0:876A:130B ⚫ 2031::130F::9C0:876A:130B is ok is NOT ok ⚫ 0:0:0:0:0:0:0:1 → ::1 ⚫ 0:0:0:0:0:0:0:0 → :: (loopback address) (unspecified address) 14
  • 15. IPV6 GLOBAL UNICAST ADDRESSES IPv6 Global Unicast addresses are: Addresses for generic use of IPv6 Hierarchical structure intended to simplify aggregation 15
  • 16. MULTICAST ADDRESSES 16  Broadcasts in IPv4: ⚫ Interrupts all devices on the LAN even if the intent of the request was for a subset ⚫ Can completely swamp the network (“broadcast storm”)  Broadcasts in IPv6: ⚫ Are not used and replaced by multicast  Multicast: ⚫ Enables the efficient use of the network ⚫ Multicast address range is much larger
  • 19. CONTINUE 19  A host with IP address 130.23.43.20 and physical address 0xB23455102210 has a packet to send to another host with IP address 130.23.43.25 and physical address 0xA46EF45983AB. The two hosts are on the same Ethernet network. Show the ARP request and reply packets encapsulated in Ethernet frames.
  • 27. MOBILE IP 27  Mobile IP is a standard that allows users to move from one network to another without loosing connectivity.  Mobile devices have IP addresses that are associated with one network and moving to another network means changing IP address.  Using the mobile IP system will allow users to achieve this and at the same time make the underlying process transparent for a user.
  • 28. BASIC IP ADDRESS 28  All computers that are connected to the Internet need to have a valid IP address.  This address is usually assigned by an Internet Service Provider (ISP) which in turn has bought a block of addresses from the Internet Cooperation for Assigned Names and Numbers (ICANN).  Most companies never interact with the ICANN directly. In order for a company to receive valid IP addresses they contact a local ISP.  Even local ISP:s do not interact with ICANN but in turn they contact larger ISP:s and only they contact ICANN.
  • 29. NEED FOR IP MOBILE  Imagine what would happen with your message if you were to move your computer (and IP address) to another network then your own.  The routers would examine the address and forward it according to the previously described manner.  When the message reaches the router, that you were directly connected to before you moved, it would not be able to forward the message to you since you have moved.  There is no way for a router to know how to reach you and therefore the message will never arrive to you. 29
  • 30. OBTAINING AN IP ADDRESS USING DHCP  One of the methods involves using the Dynamic Host Configuration Protocol (DHCP) server at the foreign network. DHCP is the protocol that dynamically assigns IP-addresses to connected computers on the network.  The DHCP server chooses one of the available addresses and either permanently or temporary assigns it to the computer on the network.  When the mobile host arrives at the foreign network he first needs to discover a DHCP server to obtain an IP address.  Discovering the server is easy since it advertises its presence every 20 seconds, but it is also possible for the host to broadcast a question if there are any DHCP servers. 30
  • 32. LINK STATE ROUTING ALGORITHM 32  Use a routing protocol to collect the whole network topology  Obtain destination reachability information as well as link weights/states  Compute shortest paths using Dijkstra’s algorithm from a node to all other nodes  Construct routing tables that show the destination addresses and the next hop addresses  Note that while Dijkstra’s algorithm gives you end- to-end routes, the routing tables may only store the next hop address.
  • 33. DISTANCE VECTOR TECHNOLOGY 33  Routes are advertised as vectors of distance and direction  Distance is defined in terms of a metric (hop count...)  Direction is the next-hop router or exit interface
  • 34. CONTINUE 34  The router does not have the knowledge of the entire path to the destination network, but it knows: ⚫ The direction or interface in which packets should be forwarded ⚫ The distance or how far it is to the destination network
  • 38. RIP - ROUTING INFORMATION PROTOCOL 38  A simple intra domain protocol  Straightforward implementation of Distance Vector Routing  Each router advertises its minimum distances to destinations every 30 seconds (or whenever its routing table changes)  RIP always uses the hop-count as link metric. Maximum hop count is 15, with “16” equal to “¥”.  Routes timeout after 3 minutes if they are not updated. Route metric is set to ¥ (16) and marked for deletion
  • 40. ROUTING WITH RIP  This is the operation of RIP in routed. Dedicated port for RIP is UDP port 520.  Initialization: ⚫ Broadcast a request packet (command = 1, metric=16; address family=0, metric=16) on the interfaces requesting current routing tables from routers.  Request received: ⚫ Routers that receive above request send their entire routing table.  Response received: ⚫ Update the routing table (see distance vector algorithm).  Regular routing updates: ⚫ Every 30 seconds, send all or part of the routing tables to every neighbor.  Triggered Updates: 40
  • 41. OSPF  OSPF = Open Shortest Path First  RFC 1247 from 1991  Alternative solution to RIP as interior gateway protocol  OSPF is a link state protocol, i.e., each node has complete topology information  OSPF messages are sent directly in IP (and not as payload of UDP packets)  Hellos and Link State Advertisements (LSAs) ⚫ To get the topology of the network  Shortest-path algorithm, ⚫ e.g., Dijkstra’s to precompute routing tables. 41
  • 42. FEATURES OF OSPF 42  Provides authentication of routing messages  Enables load balancing by allowing traffic to be split evenly across routes with equal cost  Supports sub netting  Supports multicasting
  • 43. BGP 43  BGP = Border Gateway Protocol  Currently in version 4  Note: In the context of BGP, a gateway is nothing else but an IP router that connects autonomous systems.  Inter domain routing protocol for routing between autonomous systems  Uses TCP to send routing messages  BGP is a distance vector protocol, but unlike in RIP, routing messages in BGP contain complete routes.  Network administrators can specify routing policies
  • 44. CONTINUE  BGP’s goal is to find any path (not an optimal one). Since the  internals of the AS are never revealed, finding an optimal path  is not feasible. ⚫ For each autonomous system (AS), BGP distinguishes: ⚫ local traffic = traffic with source or destination in AS ⚫ transit traffic = traffic that passes through the AS ⚫ Stub AS = has connection to only one AS, only  carry local traffic ⚫ Multi homed AS = has connection to >1 AS, but does  not carry transit traffic ⚫ Transit AS = has connection to >1 AS and carries  transit traffic 44
  • 46. CONCLUSION 46  We explain the network layer concept and different sub topic of network layer. IPv6 provides sample of address space and is designed to expand today’s Internet services.  Feature-rich IPv6 enabled Internet version 2 may deliver more than expected.  Link state routing algorithm are described.  Different types of routing protocol also we seen.
  • 47.
  • 48.
  • 49.
  • 50.
  • 51.
  • 52.
  • 53.
  • 54.
  • 55.
  • 56.
  • 57.
  • 58.