SlideShare a Scribd company logo
1 of 12
Chapter -8
IP ROUTING
IP ROUTING PROCESS
IP routing process is fairly simple and doesn’t change,
regardless of the size of your network
For practical : check video on youtube.com
or
www.netbiseducation.com
STEPS OF IP ROUTING
HOST A PING HOST B
1. ICMP creates an echo request payload , which is simply the alphabet
in the data field.
2. ICMP hands that payload to Internet Protocol, which then creates a packet.
This packet contains an IP source address, and IP destination address.
3. Once the packet is created , IP determines whether the destination IP
address is on the local network or a remote one.
4. Since IP has determined that this is a remote request , packet must be
sent to the default gateways so it can be routed to the remote network.
For practical : check video on youtube.com
or
www.netbiseducation.com
STEPS OF IP ROUTING
HOST A PING HOST B
5. The default gateway of Host_A is configured to 172.16.10.1 . For this packet
to be sent to the default gateway , the hardware address of the router
interface Ethernet 0 , which is configured with
the IP address of 172.16.10.1
6. ARP cache of the host is checked to see if the IP address of the default gateway
has already been resolved to a hardware address.
7. If yes , the packet is then free to be handed to the Data Link layer for framing.
To view the ARP cache on your host , use the following command:
C:> arp -a
For practical : check video on youtube.com
or
www.netbiseducation.com
STEPS OF IP ROUTING
HOST A PING HOST B
8. Once the packet and destination hardware address are handed to the Data Link Layer
the lan driver is used to provide media access via the type of LAN being used,
which is Ethernet.
9. A frame is then generated m encapsulating the packet with control information.
Figure: Frame used from Host_A to the Lab_A router when Host_B is pinged.
Destination MAC Source MAC Ether-Type
Field
Packet FCS
CRC
For practical : check video on youtube.com
or
www.netbiseducation.com
STEPS OF IP ROUTING
HOST A PING HOST B
10. Once the frame is completed , it’s handed down to the Physical layer to be
put on the physical medium [twisted –pair wire] one bit at a time.
11. Every device in the collision domain receives these bits and builds the frame.
They each run a CRC and check the answer in the FCS field. If the answer
don’t match the frame is discarded.
• If the CRC matches then the hardware destination address is checked
to see if it matches .
• If it’s a match, then the Ether- Type field is checked to find the protocol
used at the Network Layer.
12. The packet is pulled from the frame, and what is left of the frame is discarded.
The packet is handed to the protocol listed in the Ether- Type field – its given to IP.
For practical : check video on youtube.com
or
www.netbiseducation.com
STEPS OF IP ROUTING
HOST A PING HOST B
13. IP receives the packet and checks the IP destination address.[in routing table
also]
14. The routing table must have an entry for the network 172.16.20.0
OR
The packet will be discarded immediately and an ICMP message will be send
back to the originating device with a destination network unreachable
message.
15. If the router does find an entry for the destination network in its table,
the packet is switched to the exit interface.
16. The router packer-switches the packet to the Ethernet 1 buffer.
For practical : check video on youtube.com
or
www.netbiseducation.com
STEPS OF IP ROUTING
HOST A PING HOST B
17. Ethernet 1 buffer needs to know the hardware address of the destination
host and first checks the ARP cache.
• If the hardware address of Host_B has already been resolved and is in
the router’s ARP cache , then the packet and the hardware address will be
handed down to the Data Link Layer to be framed.
• If the hardware address hasn’t already been resolved . The router will send
an ARP request out E1 looking for the 172.16.20.2 hardware address.
Host_B responds with its hardware address, and the packet and destination
hardware addresses are then both sent to the data link layer for framing.
For practical : check video on youtube.com
or
www.netbiseducation.com
STEPS OF IP ROUTING
HOST A PING HOST B
18. The data link layer creates a frame with the destination and source hardware
addresses , Ether-Type field. And FCS field at the end. The Frame is then handed
to the Physical layer to be sent out on the medium one bit at a time.
19. Host _B receives the frame and immediately runs a CRC. If the result matches
the information in the FCS field, the hardware destination address will be then
checked .
20. At the Network layer, IP receives the packet and runs a CRC on the IP header.
21. The payload is handed to ICMP, which understands that this is an echo request.
22. A packet is then created including the source and destination addresses ,
Protocol field, and payload. The destination device is now Host_A.
For practical : check video on youtube.com
or
www.netbiseducation.com
STEPS OF IP ROUTING
HOST A PING HOST B
23. IP then checks to see whether the destination IP address is a device on
the local LAN or on a remote network.
24. The default gateway IP address is found in the Registry of the window
device, and the ARP cache is checked to see if the hardware address
has already been resolved from an IP ADDRESS.
25. Once the hardware address of the default gateway is found, the packet
and destination hardware addresses are handed down to the data link
layer for framing.
26. Data link layer frames the packet of information.
For practical : check video on youtube.com
or
www.netbiseducation.com
STEPS OF IP ROUTING
HOST A PING HOST B
27. The frame is now handed down to the Physical later to be sent out over
the network medium one bit at a time.
28. The router’s Ethernet 1 interface receives the bits and builds a frame.
The CRC is run , and the FCS field is checked to make sure the answers match.
29. Once the CRC is found to be okay, the hardware destination address is
checked.
30. The protocol is determined to be IP, so it gets the packet. IP runs a CRC
check on the IP header first and then checks the destination IP address.
For practical : check video on youtube.com
or
www.netbiseducation.com
STEPS OF IP ROUTING
HOST A PING HOST B
31. The router then checks the ARP cache to determine whether the hardware
address for 172.16.10.2 has already been resolved.
32. Since the hardware address to 172.16.10.2 is already cached from the
originating trip to Host_B , the hardware address and packet are then
handed to the Data Link Layer.
33. Data Link layer builds a frame with the destination hardware address
and source hardware address and then puts IP in the Ether-Type field.
34. Frame is then handed to the Physical Layer to be sent out into the local
network one bit at a time.
35. Destination host receives the frame, runs a CRC , checks the destination
hardware address, then looks into the Ether- Type field to find out to whom
to hand the packet.
For practical : check video on youtube.com
or
www.netbiseducation.com
STEPS OF IP ROUTING
HOST A PING HOST B
36. IP is the designated receiver and after the packet is handed to IP at the
Network layer, it checks the protocol field for further direction. IP finds
instruction to give the payload to ICMP, and ICMP determine the packet
to be an ICMP Echo reply.
37. ICMP acknowledges that it has received the reply by sending an exclamation
point ! to the user interface. ICMP then attempts to send four more echo
requests to the destination host.
For practical : check video on youtube.com
or
www.netbiseducation.com

More Related Content

What's hot

CCNAX 200 120 dumps
CCNAX 200 120 dumpsCCNAX 200 120 dumps
CCNAX 200 120 dumpsabdulquyyum
 
Arp (address resolution protocol)
Arp (address resolution protocol)Arp (address resolution protocol)
Arp (address resolution protocol)tigerbt
 
RARP, BOOTP, DHCP and PXE Protocols
RARP, BOOTP, DHCP and PXE ProtocolsRARP, BOOTP, DHCP and PXE Protocols
RARP, BOOTP, DHCP and PXE ProtocolsPeter R. Egli
 
Address resolution protocol
Address resolution protocolAddress resolution protocol
Address resolution protocolasimnawaz54
 
Address resolution protocol (ARP)
Address resolution protocol (ARP)Address resolution protocol (ARP)
Address resolution protocol (ARP)NetProtocol Xpert
 
Networking Fundamentals: Transport Protocols (TCP and UDP)
Networking Fundamentals: Transport Protocols (TCP and UDP)Networking Fundamentals: Transport Protocols (TCP and UDP)
Networking Fundamentals: Transport Protocols (TCP and UDP)Andriy Berestovskyy
 
NAT 64 FPGA Implementation
NAT 64 FPGA ImplementationNAT 64 FPGA Implementation
NAT 64 FPGA ImplementationJanith Rukman
 
Arp and rarp
Arp and rarpArp and rarp
Arp and rarpMohd Arif
 
Internet innovation with Multipath TCP
Internet innovation with Multipath TCPInternet innovation with Multipath TCP
Internet innovation with Multipath TCPOlivier Bonaventure
 
IPv6 Fundamentals
IPv6 FundamentalsIPv6 Fundamentals
IPv6 FundamentalsMatt Bynum
 
Arp and rarp
Arp and rarpArp and rarp
Arp and rarp1991shalu
 
Bootp and dhcp
Bootp and dhcpBootp and dhcp
Bootp and dhcpMohd Arif
 
Communication networks_ARP
Communication networks_ARPCommunication networks_ARP
Communication networks_ARPGouravSalla
 

What's hot (20)

Arp Cache Poisoning
Arp Cache PoisoningArp Cache Poisoning
Arp Cache Poisoning
 
CCNAX 200 120 dumps
CCNAX 200 120 dumpsCCNAX 200 120 dumps
CCNAX 200 120 dumps
 
Arp and rarp
Arp and rarpArp and rarp
Arp and rarp
 
Arp (address resolution protocol)
Arp (address resolution protocol)Arp (address resolution protocol)
Arp (address resolution protocol)
 
RARP, BOOTP, DHCP and PXE Protocols
RARP, BOOTP, DHCP and PXE ProtocolsRARP, BOOTP, DHCP and PXE Protocols
RARP, BOOTP, DHCP and PXE Protocols
 
Address resolution protocol
Address resolution protocolAddress resolution protocol
Address resolution protocol
 
Address resolution protocol (ARP)
Address resolution protocol (ARP)Address resolution protocol (ARP)
Address resolution protocol (ARP)
 
Networking Fundamentals: Transport Protocols (TCP and UDP)
Networking Fundamentals: Transport Protocols (TCP and UDP)Networking Fundamentals: Transport Protocols (TCP and UDP)
Networking Fundamentals: Transport Protocols (TCP and UDP)
 
NAT 64 FPGA Implementation
NAT 64 FPGA ImplementationNAT 64 FPGA Implementation
NAT 64 FPGA Implementation
 
Arp and rarp
Arp and rarpArp and rarp
Arp and rarp
 
Multipath TCP
Multipath TCPMultipath TCP
Multipath TCP
 
Internet innovation with Multipath TCP
Internet innovation with Multipath TCPInternet innovation with Multipath TCP
Internet innovation with Multipath TCP
 
IPv6 Fundamentals
IPv6 FundamentalsIPv6 Fundamentals
IPv6 Fundamentals
 
Arp and rarp
Arp and rarpArp and rarp
Arp and rarp
 
ICMP
ICMP ICMP
ICMP
 
Bootp and dhcp
Bootp and dhcpBootp and dhcp
Bootp and dhcp
 
Arpspoofing
ArpspoofingArpspoofing
Arpspoofing
 
Icmp V4 And Icmp V6
Icmp V4 And Icmp V6Icmp V4 And Icmp V6
Icmp V4 And Icmp V6
 
Day-3 PowerPoint
Day-3 PowerPointDay-3 PowerPoint
Day-3 PowerPoint
 
Communication networks_ARP
Communication networks_ARPCommunication networks_ARP
Communication networks_ARP
 

Similar to Router internal Process

Ccna 2 Final V4 1
Ccna 2 Final V4 1Ccna 2 Final V4 1
Ccna 2 Final V4 1stigerj
 
Www ccnav5 net_ccna_1_chapter_3_v5_0_exam_answers_2014
Www ccnav5 net_ccna_1_chapter_3_v5_0_exam_answers_2014Www ccnav5 net_ccna_1_chapter_3_v5_0_exam_answers_2014
Www ccnav5 net_ccna_1_chapter_3_v5_0_exam_answers_2014Đồng Quốc Vương
 
Tcp ip protocol
Tcp ip protocol Tcp ip protocol
Tcp ip protocol saurav-IT
 
SRWE_Module_16.pptx
SRWE_Module_16.pptxSRWE_Module_16.pptx
SRWE_Module_16.pptxRobinRohit2
 
SRWE_Module_16.pptx
SRWE_Module_16.pptxSRWE_Module_16.pptx
SRWE_Module_16.pptxRobinRohit2
 
Net essentials6e ch5
Net essentials6e ch5Net essentials6e ch5
Net essentials6e ch5APSU
 
CCNA R&S-20-Configuring IPv4 Addresses and Routes
CCNA R&S-20-Configuring IPv4 Addresses and RoutesCCNA R&S-20-Configuring IPv4 Addresses and Routes
CCNA R&S-20-Configuring IPv4 Addresses and RoutesAmir Jafari
 
Www ccnav5 net_ccna_1_chapter_7_v5_0_exam_answers_2014
Www ccnav5 net_ccna_1_chapter_7_v5_0_exam_answers_2014Www ccnav5 net_ccna_1_chapter_7_v5_0_exam_answers_2014
Www ccnav5 net_ccna_1_chapter_7_v5_0_exam_answers_2014Đồng Quốc Vương
 
Lecture 5 internet-protocol_assignments
Lecture 5 internet-protocol_assignmentsLecture 5 internet-protocol_assignments
Lecture 5 internet-protocol_assignmentsSerious_SamSoul
 
Ccna 1 chapter 9 v4.0 answers 2011
Ccna 1 chapter 9 v4.0 answers 2011Ccna 1 chapter 9 v4.0 answers 2011
Ccna 1 chapter 9 v4.0 answers 2011Dân Chơi
 
ITN_Module_9.pptx
ITN_Module_9.pptxITN_Module_9.pptx
ITN_Module_9.pptxFhKh5
 
TCP/IP Protocol Architeture
TCP/IP Protocol ArchitetureTCP/IP Protocol Architeture
TCP/IP Protocol ArchitetureManoj Kumar
 

Similar to Router internal Process (20)

Ccna 2 Final V4 1
Ccna 2 Final V4 1Ccna 2 Final V4 1
Ccna 2 Final V4 1
 
CCNA 1 Chapter 6 v5.0 2014
CCNA 1 Chapter 6 v5.0 2014CCNA 1 Chapter 6 v5.0 2014
CCNA 1 Chapter 6 v5.0 2014
 
Itep
ItepItep
Itep
 
Www ccnav5 net_ccna_1_chapter_3_v5_0_exam_answers_2014
Www ccnav5 net_ccna_1_chapter_3_v5_0_exam_answers_2014Www ccnav5 net_ccna_1_chapter_3_v5_0_exam_answers_2014
Www ccnav5 net_ccna_1_chapter_3_v5_0_exam_answers_2014
 
Ccna1v3 mod09
Ccna1v3 mod09Ccna1v3 mod09
Ccna1v3 mod09
 
Tcp ip protocol
Tcp ip protocol Tcp ip protocol
Tcp ip protocol
 
SRWE_Module_16.pptx
SRWE_Module_16.pptxSRWE_Module_16.pptx
SRWE_Module_16.pptx
 
SRWE_Module_16.pptx
SRWE_Module_16.pptxSRWE_Module_16.pptx
SRWE_Module_16.pptx
 
Net essentials6e ch5
Net essentials6e ch5Net essentials6e ch5
Net essentials6e ch5
 
Ccna1v3 Mod09
Ccna1v3 Mod09Ccna1v3 Mod09
Ccna1v3 Mod09
 
CCNA R&S-20-Configuring IPv4 Addresses and Routes
CCNA R&S-20-Configuring IPv4 Addresses and RoutesCCNA R&S-20-Configuring IPv4 Addresses and Routes
CCNA R&S-20-Configuring IPv4 Addresses and Routes
 
Www ccnav5 net_ccna_1_chapter_7_v5_0_exam_answers_2014
Www ccnav5 net_ccna_1_chapter_7_v5_0_exam_answers_2014Www ccnav5 net_ccna_1_chapter_7_v5_0_exam_answers_2014
Www ccnav5 net_ccna_1_chapter_7_v5_0_exam_answers_2014
 
Lecture 5 internet-protocol_assignments
Lecture 5 internet-protocol_assignmentsLecture 5 internet-protocol_assignments
Lecture 5 internet-protocol_assignments
 
TCP/IP and UDP protocols
TCP/IP and UDP protocolsTCP/IP and UDP protocols
TCP/IP and UDP protocols
 
Ccna 1 chapter 9 v4.0 answers 2011
Ccna 1 chapter 9 v4.0 answers 2011Ccna 1 chapter 9 v4.0 answers 2011
Ccna 1 chapter 9 v4.0 answers 2011
 
ITN_Module_9.pptx
ITN_Module_9.pptxITN_Module_9.pptx
ITN_Module_9.pptx
 
ITN_Module_9.pptx
ITN_Module_9.pptxITN_Module_9.pptx
ITN_Module_9.pptx
 
Examen ccna capitulo 6 en ingles
Examen ccna capitulo 6 en inglesExamen ccna capitulo 6 en ingles
Examen ccna capitulo 6 en ingles
 
Ccna guide
Ccna guideCcna guide
Ccna guide
 
TCP/IP Protocol Architeture
TCP/IP Protocol ArchitetureTCP/IP Protocol Architeture
TCP/IP Protocol Architeture
 

Recently uploaded

Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Shubhangi Sonawane
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...KokoStevan
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfChris Hunter
 

Recently uploaded (20)

Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 

Router internal Process

  • 1. Chapter -8 IP ROUTING IP ROUTING PROCESS IP routing process is fairly simple and doesn’t change, regardless of the size of your network For practical : check video on youtube.com or www.netbiseducation.com
  • 2. STEPS OF IP ROUTING HOST A PING HOST B 1. ICMP creates an echo request payload , which is simply the alphabet in the data field. 2. ICMP hands that payload to Internet Protocol, which then creates a packet. This packet contains an IP source address, and IP destination address. 3. Once the packet is created , IP determines whether the destination IP address is on the local network or a remote one. 4. Since IP has determined that this is a remote request , packet must be sent to the default gateways so it can be routed to the remote network. For practical : check video on youtube.com or www.netbiseducation.com
  • 3. STEPS OF IP ROUTING HOST A PING HOST B 5. The default gateway of Host_A is configured to 172.16.10.1 . For this packet to be sent to the default gateway , the hardware address of the router interface Ethernet 0 , which is configured with the IP address of 172.16.10.1 6. ARP cache of the host is checked to see if the IP address of the default gateway has already been resolved to a hardware address. 7. If yes , the packet is then free to be handed to the Data Link layer for framing. To view the ARP cache on your host , use the following command: C:> arp -a For practical : check video on youtube.com or www.netbiseducation.com
  • 4. STEPS OF IP ROUTING HOST A PING HOST B 8. Once the packet and destination hardware address are handed to the Data Link Layer the lan driver is used to provide media access via the type of LAN being used, which is Ethernet. 9. A frame is then generated m encapsulating the packet with control information. Figure: Frame used from Host_A to the Lab_A router when Host_B is pinged. Destination MAC Source MAC Ether-Type Field Packet FCS CRC For practical : check video on youtube.com or www.netbiseducation.com
  • 5. STEPS OF IP ROUTING HOST A PING HOST B 10. Once the frame is completed , it’s handed down to the Physical layer to be put on the physical medium [twisted –pair wire] one bit at a time. 11. Every device in the collision domain receives these bits and builds the frame. They each run a CRC and check the answer in the FCS field. If the answer don’t match the frame is discarded. • If the CRC matches then the hardware destination address is checked to see if it matches . • If it’s a match, then the Ether- Type field is checked to find the protocol used at the Network Layer. 12. The packet is pulled from the frame, and what is left of the frame is discarded. The packet is handed to the protocol listed in the Ether- Type field – its given to IP. For practical : check video on youtube.com or www.netbiseducation.com
  • 6. STEPS OF IP ROUTING HOST A PING HOST B 13. IP receives the packet and checks the IP destination address.[in routing table also] 14. The routing table must have an entry for the network 172.16.20.0 OR The packet will be discarded immediately and an ICMP message will be send back to the originating device with a destination network unreachable message. 15. If the router does find an entry for the destination network in its table, the packet is switched to the exit interface. 16. The router packer-switches the packet to the Ethernet 1 buffer. For practical : check video on youtube.com or www.netbiseducation.com
  • 7. STEPS OF IP ROUTING HOST A PING HOST B 17. Ethernet 1 buffer needs to know the hardware address of the destination host and first checks the ARP cache. • If the hardware address of Host_B has already been resolved and is in the router’s ARP cache , then the packet and the hardware address will be handed down to the Data Link Layer to be framed. • If the hardware address hasn’t already been resolved . The router will send an ARP request out E1 looking for the 172.16.20.2 hardware address. Host_B responds with its hardware address, and the packet and destination hardware addresses are then both sent to the data link layer for framing. For practical : check video on youtube.com or www.netbiseducation.com
  • 8. STEPS OF IP ROUTING HOST A PING HOST B 18. The data link layer creates a frame with the destination and source hardware addresses , Ether-Type field. And FCS field at the end. The Frame is then handed to the Physical layer to be sent out on the medium one bit at a time. 19. Host _B receives the frame and immediately runs a CRC. If the result matches the information in the FCS field, the hardware destination address will be then checked . 20. At the Network layer, IP receives the packet and runs a CRC on the IP header. 21. The payload is handed to ICMP, which understands that this is an echo request. 22. A packet is then created including the source and destination addresses , Protocol field, and payload. The destination device is now Host_A. For practical : check video on youtube.com or www.netbiseducation.com
  • 9. STEPS OF IP ROUTING HOST A PING HOST B 23. IP then checks to see whether the destination IP address is a device on the local LAN or on a remote network. 24. The default gateway IP address is found in the Registry of the window device, and the ARP cache is checked to see if the hardware address has already been resolved from an IP ADDRESS. 25. Once the hardware address of the default gateway is found, the packet and destination hardware addresses are handed down to the data link layer for framing. 26. Data link layer frames the packet of information. For practical : check video on youtube.com or www.netbiseducation.com
  • 10. STEPS OF IP ROUTING HOST A PING HOST B 27. The frame is now handed down to the Physical later to be sent out over the network medium one bit at a time. 28. The router’s Ethernet 1 interface receives the bits and builds a frame. The CRC is run , and the FCS field is checked to make sure the answers match. 29. Once the CRC is found to be okay, the hardware destination address is checked. 30. The protocol is determined to be IP, so it gets the packet. IP runs a CRC check on the IP header first and then checks the destination IP address. For practical : check video on youtube.com or www.netbiseducation.com
  • 11. STEPS OF IP ROUTING HOST A PING HOST B 31. The router then checks the ARP cache to determine whether the hardware address for 172.16.10.2 has already been resolved. 32. Since the hardware address to 172.16.10.2 is already cached from the originating trip to Host_B , the hardware address and packet are then handed to the Data Link Layer. 33. Data Link layer builds a frame with the destination hardware address and source hardware address and then puts IP in the Ether-Type field. 34. Frame is then handed to the Physical Layer to be sent out into the local network one bit at a time. 35. Destination host receives the frame, runs a CRC , checks the destination hardware address, then looks into the Ether- Type field to find out to whom to hand the packet. For practical : check video on youtube.com or www.netbiseducation.com
  • 12. STEPS OF IP ROUTING HOST A PING HOST B 36. IP is the designated receiver and after the packet is handed to IP at the Network layer, it checks the protocol field for further direction. IP finds instruction to give the payload to ICMP, and ICMP determine the packet to be an ICMP Echo reply. 37. ICMP acknowledges that it has received the reply by sending an exclamation point ! to the user interface. ICMP then attempts to send four more echo requests to the destination host. For practical : check video on youtube.com or www.netbiseducation.com