ARP Scenarios CIS 81 and CST 311 Rick Graziani Fall 2005.

Slides:



Advertisements
Similar presentations
Everything.
Advertisements

Access Control List (ACL)
ARP AND RARP ROUTED AND ROUTING Tyler Bish. ARP There are a variety of ways that devices can determine the MAC addresses they need to add to the encapsulated.
Chapter 9 ARP CIS 82 Routing Protocols and Concepts Rick Graziani Cabrillo College Last Updated: 5/13/2008.
10: ICMPv6 Neighbor Discovery
1 IP Forwarding Relates to Lab 3. Covers the principles of end-to-end datagram delivery in IP networks.
IP Routing Static Routing Information management 2 Groep T Leuven – Information department 2/14 The Router Router Interface is a physical.
 WAN uses Serial ports  Ethernet Ports:  Straight through  Cross over.
Delivery and Forwarding of
1 Chapter 22 Network layer Delivery, Forwarding and Routing.
Switching Topic 4 Inter-VLAN routing. Agenda Routing process Routing VLANs – Traditional model – Router-on-a-stick – Multilayer switches EtherChannel.
Cisco Networking Academy Program Address Resolution Protocol ARP The Address Resolution Protocol Who are we ARPing for? or Who for ARP thou?
Ch. 9 – Basic Router Troubleshooting CCNA 2 version 3.0.
Ch. 1 – Scaling IP Addresses NAT/PAT and DHCP CMPSC-358 (CCNA 4 ) Spring 2007.
IP Routing: an Introduction. Quiz
Instructor & Todd Lammle
ICMP: Ping and Trace CCNA 1 version 3.0 Rick Graziani Spring 2005.
1 IP Forwarding Relates to Lab 3. Covers the principles of end-to-end datagram delivery in IP networks.
Everything. MACIP End-host IP: MAC: 11:11:11:11:11 gateway IP: MAC: 22:22:22:22:22 Google server IP: MACIP MACInterfaceMACInterface.
Lecture 8 Modeling & Simulation of Communication Networks.
VLANs (Virtual LANs) CIS 83 Fall 2006 CCNA 3 Rick Graziani Cabrillo College.
CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
CCNA Introduction to Networking 5.0 Rick Graziani Cabrillo College
Network Redundancy Multiple paths may exist between systems. Redundancy is not a requirement of a packet switching network. Redundancy was part of the.
DHCP: Dynamic Host Configuration Protocol
Network Layer – Subnetting and Control Protocols Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing,
1 Computer Communication & Networks Lecture 20 Network Layer: IP and Address Mapping (contd.) Waleed.
Exploring the Packet Delivery Process Chapter
Ch. 9 – Basic Router Troubleshooting CCNA 2 version 3.0 Rick Graziani Cabrillo College.
1 IP Forwarding Relates to Lab 3. Covers the principles of end-to-end datagram delivery in IP networks.
Cisco – Chapter 11 Routers All You Ever Wanted To Know But Were Afraid to Ask.
Cisco – S1C10 Routers All You Ever Wanted To Know But Were Afraid to Ask.
CMPT 471 Networking II Address Resolution IPv4 ARP RARP 1© Janice Regan, 2012.
Hubs to VLANs Cisco Networking Academy Program © Cisco Systems, Inc From Hubs to VLANs.
NUS.SOC.CS2105 Ooi Wei Tsang Application Transport Network Link Physical you are here.
© 2007 Cisco Systems, Inc. All rights reserved. 1 Network Addressing Networking for Home and Small Businesses – Chapter 5 Darren Shaver – Modified Fall.
Access Control List (ACL) W.lilakiatsakun. ACL Fundamental ► Introduction to ACLs ► How ACLs work ► Creating ACLs ► The function of a wildcard mask.
Dr. Clincy1 Chapter 6 Delivery & Forwarding of IP Packets Lecture #4 Items you should understand by now – before routing Physical Addressing – with in.
1 Pertemuan 26 Integrating Network using Routing Protocol.
ARP The Process and the Protocol. Note to reader The information explained in this section is a simplification and extrapolation of the actual ARP determination.
Basic Routing Principles V1.2. Objectives Understand the function of router Know the basic conception in routing Know the working principle of router.
LAN Switching Concepts. Overview Ethernet networks used to be built using repeaters. When the performance of these networks began to suffer because too.
The University of Bolton School of Games Computing & Creative Technologies LCT2516 Network Architecture CCNA Exploration LAN Switching and Wireless Chapter.
Routing Fundamentals and Subnets Introduction to IT and Communications Technology CE
Chapter 3.  Upon completion of this chapter, you should be able to:  Select and install network cards to meet network connection requirements  Connect.
1 12-Jan-16 OSI network layer CCNA Exploration Semester 1 Chapter 5.
Cisco Confidential © 2013 Cisco and/or its affiliates. All rights reserved. 1 Cisco Networking Training (CCENT/CCT/CCNA R&S) Rick Rowe Ron Giannetti.
Copyright 2009 Kenneth M. Chipps Ph.D. Addressing in Networks Last Update
End-host IP: MAC: 11:11:11:11:11 gateway IP: MAC: 22:22:22:22:22 Google server IP: interne t interface DNS server IP:
Cisco Routers Routers collectively provide the main feature of the network layer—the capability to forward packets end-to-end through a network. routers.
g Silly Switching Hiding Behind a Mask Unreliable Exchange Port Wine.
Instructor & Todd Lammle
Datagram Forwarding.
Behrouz A. Forouzan TCP/IP Protocol Suite, 3rd Ed.
MAC Address Tables on Connected Switches
CIS 116 IPv6 Fundamentals 2 – Primer Rick Graziani Cabrillo College
ARP: Address Resolution Protocol
Introduction to Networking
Introduction to Networking
CT1403 Lecture #3 Peer to Peer NWs
5 Network Layer Part II Computer Networks Tutun Juhana
Net 323: NETWORK Protocols
One Upon A Time Computer Networks
Advanced Computer Networks
Chapter 2: Static Routing
Ethernet: A Multi-access Network
Rick Graziani Cabrillo College
Example 9 (Continued) 1. The first mask (/26) is applied to the destination address. The result is , which does not match the corresponding network.
Figure 6.11 Configuration for Example 4
Figure 6.6 Default routing
Presentation transcript:

ARP Scenarios CIS 81 and CST 311 Rick Graziani Fall 2005

Rick Graziani Scenario 1: Sending packets directly to the destination when going inside the network IP: Mask: Def.Gate: MAC: 2790 IP: Mask: MAC: 6883

Rick Graziani Does the Pc0 need to issue an ARP Request before sending out this packet? –Framing the ARP Request: What is the Destination MAC Address? _______________ –ARP Request: I know ____________, but I need to know the ____________. –ARP Reply: You knew my ____________, but here is my _____________. –What information is added to the ARP Table? _________________________ What does Pc0 do with the ARP Request information?

Rick Graziani IP: Mask: Def.Gate: MAC: 2790 ARP Table IP: Mask: MAC: 6883 IP: Mask: MAC: D Is the Source IP Address and Destination IP Address on the same network (subnet)? How does it determine this? 2. Yes, so the Destination MAC Address must be the MAC Address associated with the Destination IP Address. 3. Examine ARP Table for Destination IP Address and an associated MAC Address. No entry. (Next slide) 0x800ICMP

Rick Graziani IP: Mask: Def.Gate: MAC: 2790 ARP Table IP: Mask: MAC: 6883 IP: Mask: MAC: D Examine ARP Table for Destination IP Address and an associated MAC Address. No entry. 2. Put frame/packet on hold and issue ARP Request 3. ARP Request (broadcast) 4. Update ARP Table from ARP Request and issue ARP Reply (unicast) Update ARP Table 6. Update Ethernet MAC Address of frame and send out frame/packet 6883 ARP Table Switch 1. Learns: Source MAC, 2. Forwards: Switch floods broadcasts out all ports except for incoming port. Switch 1. Learns Source MAC, 2. Forwards: Switch filters unicast out port fa0/1. 0x800ICMP ARP

Rick Graziani IP: Mask: Def.Gate: MAC: 2790 ARP Table IP: Mask: MAC: 6883 IP: Mask: MAC: D Update Ethernet MAC Address of frame and send out frame/packet 6883 ARP Table x800ICMP Switch 1. Learns Source MAC, 2. Forwards: Switch filters unicast out port fa0/1. 2. Pc1 receives the ping, ICMP Echo and prepares the Echo Reply. Pc1 determines Source and Destination IP Addresses are on the same network and that it can forward the packet to the Source of the ICMP Echo Request. ICMP Echo Request

Rick Graziani IP: Mask: Def.Gate: MAC: 2790 ARP Table IP: Mask: MAC: 6883 IP: Mask: MAC: D Update Ethernet MAC Address of frame and send out frame/packet 6883 ARP Table x800ICMP Switch 1. Learns Source MAC, 2. Forwards: Switch filters unicast out port fa0/1. ICMP Echo Reply 1. Pc1 creates IP Packet with ICMP Echo Reply. 2. Pc1 examines the Destination IP Address and notices it is on same network as its Source IP Address, and looks for Dest.IP in its ARP Table. 3. The information is in the ARP Table so Pc1 encapsulates the IP packet into an Ethernet frame with the MAC address of

Rick Graziani Scenario 2: Sending packets to the default gateway when going outside the network IP: Mask: Def.Gate: MAC: 2790 IP: Mask: Def.Gate: MAC: 6883

Rick Graziani IP: Mask: Def.Gate: MAC: 2790 ARP Table IP: Mask: MAC: 6883 IP: Mask: MAC: D Is the Source IP Address and Destination IP Address on the same network (subnet)? How does it determine this? 2. No, so the Destination MAC Address must be the MAC Address associated with the IP Address of the Default gateway (router). 3. Examine ARP Table for Destination IP Address and an associated MAC Address. No entry. (Next slide) 0x800ICMP

Rick Graziani IP: Mask: Def.Gate: MAC: 2790 ARP Table IP: Mask: MAC: D Examine ARP Table for Destination IP Address and an associated MAC Address. No entry. 2. Put frame/packet on hold and issue ARP Request 3. ARP Request (broadcast) 4. Update ARP Table from ARP Request and issue ARP Reply (unicast) D Update ARP Table 6. Update Ethernet MAC Address of frame and send out frame/packet D155 Router ARP Table Switch 1. Learns: Source MAC, 2. Forwards: Switch floods broadcasts out all ports except for incoming port. Switch 1. Learns Source MAC, 2. Forwards: Switch filters unicast out port fa0/1. 0x800

Rick Graziani Now, what does the router do with it? The rest of this information is covered in CIS 82 (CST 312). This is just a preview! Let’s see if we can figure it out!

Rick Graziani Router copies in Ethernet frame, because the Destination MAC Address matches its Ethernet interface MAC Address. The router strips off the Ethernet header and examines the Layer 3 IP packet. IP: Mask: MAC: D155 IP: Mask: MAC: 9894

Rick Graziani 1. The router looks for the Destination IP Address in the routing table. 2. The Destination IP Address of the packet belongs to the /24 network in its routing table. 3. The port or exit interface is FastEternet0/1. This is an Ethernet interface, which means the router must encapsulate this IP packet into an Ethernet frame. 4. Because this network is “C” directly connected, this means that the device with this Destination IP address is on the same network as the exit interface Fa0/1 and is somewhere on this network. IP: Mask: MAC: D155 IP: Mask: MAC: This is the same process as two hosts on the same network.

Rick Graziani IP: Mask: MAC: D155 IP: Mask: MAC: The IP Packet needs to be encapsulated in an Ethernet Frame x The Destination MAC Address must be the MAC Address associated with the Destination IP Address. 2. Remember, the router’s exit interface’s IP Address is on the same network as the Destination IP Address of the IP packet. This is just like two hosts on the same network! 3. Examine ARP Table for Destination IP Address and an associated MAC Address. No entry. (Next Slide) ICMP

Rick Graziani x800 IP: Mask: MAC: 9894 IP: Mask: MAC: AA42 1. Examine ARP Table for Destination IP Address and an associated MAC Address. No entry. 2. Put frame/packet on hold and issue ARP Request 3. ARP Request (broadcast) Switch 1. Learns Source MAC, 2. Forwards: Switch floods broadcast out all ports except incoming port. ARP Table 4. Update ARP Table from ARP Request and issue ARP Reply (unicast) Switch: 1. Learns Source MAC, 2. Forwards: Switch filters unicast out port fa0/24. Router updates its ARP Table and enters MAC Address into awaiting frame. ARP AA42 ICMP

Rick Graziani x800 IP: Mask: MAC: 9894 IP: Mask: MAC: AA42 1. Now that the IP packet has been encapsulated into an Ethernet frame, the frame can be forwarded on to the switch. ARP Table Packet Forwarding AA42 2. Pc4 receives the ping, ICMP Echo and prepares the Echo Reply. Pc4 determines Source and Destination IP Addresses are on different networks and that it needs to forward the packet to the Default Gateway (router). 3. Pc4 examines its ARP table and finds the MAC Address for the Default Gateway. 4. The ICMP Echo Reply is encapsulated in an Ethernet frame with the MAC Address found in the ARP Table. The frame is sent to the switch. ICMP

Rick Graziani Now, what does the router do with it? Reminder: The rest of this information is covered in CIS 82 (CST 312). This is just a preview! Let’s see if we can figure it out!

Rick Graziani Router copies in Ethernet frame, because the Destination MAC Address matches its Ethernet interface MAC Address. The router strips off the Ethernet header and examines the Layer 3 IP packet. IP: Mask: MAC: D155 IP: Mask: MAC: 9894

Rick Graziani 1. The router looks for the Destination IP Address in the routing table. 2. The Destination IP Address of the packet belongs to the /24 network in its routing table. 3. The port or exit interface is FastEternet0/0. This is an Ethernet interface, which means the router must encapsulate this IP packet into an Ethernet frame. 4. Because this network is “C” directly connected, this means that the device with this Destination IP address is on the same network as the exit interface Fa0/0 and is somewhere on this network. IP: Mask: MAC: D155 IP: Mask: MAC: This is the same process as two hosts on the same network.

Rick Graziani IP: Mask: MAC: D155 IP: Mask: MAC: The IP Packet needs to be encapsulated in an Ethernet Frame D x The Destination MAC Address must be the MAC Address associated with the Destination IP Address. 2. Remember, the router’s exit interface’s IP Address is on the same network as the Destination IP Address of the IP packet. This is just like two hosts on the same network! 3. Examine ARP Table for Destination IP Address and an associated MAC Address. Found it! (Next Slide) 2790ICMP

Rick Graziani Packet Forwarding 1. Now that the IP packet has been encapsulated into an Ethernet frame, the frame can be forwarded on to the switch. Switch 1. Learns Source MAC, 2. Forwards: Switch filters unicast out port fa0/1. 2. Pc0 receives ICMP Echo Reply and displays the information on the screen.

ARP Scenarios CIS 81 and CST 311 Rick Graziani Fall 2005