The Saigon CTT Semester 1 CHAPTER 11 Le Chi Trung.

Slides:



Advertisements
Similar presentations
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.
Advertisements

Chapter 22 Network Layer: Delivery, Forwarding, and Routing.
Cisco S3 C5 Routing Protocols. Network Design Characteristics Reliable – provides mechanisms for error detection and correction Connectivity – incorporate.
Routing Basics By Craig Lindstrom. Overview Routing Process Routing Process Default Routing Default Routing Static Routing Static Routing Dynamic Routing.
CISCO NETWORKING ACADEMY Chabot College ELEC Routed and Routing Protocols.
CCNA Guide to Cisco Networking Fundamentals Fourth Edition
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts – Chapter.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.1 Routing Working at a Small-to-Medium Business or ISP – Chapter 6.
Mod 10 – Routing Protocols
CCNA 2 v3.1 Module 6.
Routing Fundamentals and Subnetting
Routing and Routing Protocols
Routing.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.0 Module 10 Routing Fundamentals and Subnets.
Institute of Technology Sligo - Dept of Computing Chapter 11 Layer 3 Protocols Paul Flynn.
IST 228\Ch5\IP Routing1. 2  Review of Chapter 4 Start the router simulator. You will see the prompt "Router>". This is the user mode prompt. Change the.
Chapter 5 IP Routing Routing Protocol vs. Routed Protocol
Routing ROUTING. Router A router is a device that determines the next network point to which a packet should be forwarded toward its destination Allow.
1 Semester 2 Module 6 Routing and Routing Protocols YuDa college of business James Chen
Network Layer (Part IV). Overview A router is a type of internetworking device that passes data packets between networks based on Layer 3 addresses. A.
Connecting Networks © 2004 Cisco Systems, Inc. All rights reserved. Exploring How Routing Works INTRO v2.0—4-1.
Each computer and router interface maintains an ARP table for Layer 2 communication The ARP table is only effective for the broadcast domain (or LAN)
Chapter 4: Managing LAN Traffic
Chabot College Chapter 5 – Routing Protocols: IGRP Review Questions Semester IIIELEC Semester III ELEC
CCNA Guide to Cisco Networking Chapter 8: Routing Protocols and Network Address Translation.
CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
CCNA 1 version 3.0 Rick Graziani Cabrillo College
Routing and Routing Protocols Routing Protocols Overview.
1 Introducing Routing 1. Dynamic routing - information is learned from other routers, and routing protocols adjust routes automatically. 2. Static routing.
M.Menelaou CCNA2 ROUTING. M.Menelaou ROUTING Routing is the process that a router uses to forward packets toward the destination network. A router makes.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 6 Routing and Routing Protocols.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 6 Routing and Routing Protocols.
Introduction to Dynamic Routing Protocol
CISCO NETWORKING ACADEMY PROGRAM (CNAP) Routing Fundamentals & Subnets
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.
1. 2 Anatomy of an IP Packet IP packets consist of the data from upper layers plus an IP header. The IP header consists of the following:
CCNA 1 Module 10 Routing Fundamentals and Subnets.
Routing ROUTING Presented by Aditya Kumar Gupta Lecturer, Department of Computer Application SMS Varanasi.
© 2002, Cisco Systems, Inc. All rights reserved. 1 Determining IP Routes.
Page 110/27/2015 A router ‘knows’ only of networks attached to it directly – unless you configure a static route or use routing protocols Routing protocols.
Routing Fundamentals & Subnets
Sem 1v2 Chapter 11 Routing Protocols. A simple definition of router functionality -- a device which makes best path routing decisions based on layer 3.
© 2002, Cisco Systems, Inc. All rights reserved. 1 Routing Overview.
CCNA 1 v3.0 Module 10 Routing Fundamentals and Subnets.
Routing and Routing Protocols
Routing Fundamentals and Subnets Introduction to IT and Communications Technology CE
IP Routing Principles. Network-Layer Protocol Operations Each router provides network layer (routing) services X Y A B C Application Presentation Session.
Chapter 5 IP Routing Routing Protocol vs. Routed Protocol.
1 Version 3.1 Module 6 Routed & Routing Protocols.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.0 Module 10 Routing Fundamentals and Subnets.
Routing protocols. 1.Introduction A routing protocol is the communication used between routers. A routing protocol allows routers to share information.
Routing and Routing Protocols PJC CCNA Semester 2 Ver. 3.0 by William Kelly.
© 2002, Cisco Systems, Inc. All rights reserved..
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 1 Module 10 Routing Fundamentals and Subnets.
Cisco 2 - Routers Perrine modified by Brierley Page 13/21/2016 Chapter 4 Module 6 Routing & Routing Protocols.
1 Layer 3: Protocols Honolulu Community College Cisco Academy Training Center Semester 1 Version
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.1 Routing Working at a Small-to-Medium Business or ISP – Chapter 6.
VCC Semester 1 CHAPTER 11. VCC  Content Layer 3 Devices ARP concept Network layer services Routed and routing protocols Protocol analyzer.
Routing and Routing Protocols CCNA 2 v3 – Module 6.
Introduction to Dynamic Routing Protocol
Working at a Small-to-Medium Business or ISP – Chapter 6
Semester 3, Chapter 5 Allan Johnson
CCNA 2 v3.1 Module 6 Routing and Routing Protocols
Network Layer (Part V).
Network Layer Path Determination.
[Networking Fundamentals] [Y. K. Choi]
Routing Fundamentals and Subnets
Working at a Small-to-Medium Business or ISP – Chapter 6
Routing.
Presentation transcript:

The Saigon CTT Semester 1 CHAPTER 11 Le Chi Trung

The Saigon CTT  Content Layer 3 Devices ARP concept Network layer services Routed and routing protocols Protocol analyzer

The Saigon CTT  Schedule

The Saigon CTT LAYER 3 DEVICES AND NETWORK TO NETWORK COMMUNICATION

The Saigon CTT  Internetworking

The Saigon CTT  Path determination Path determination is the process that the router uses to choose the next hop in the path for the packet to travel to its destination based on the link bandwidth, hop, delay...

The Saigon CTT  Router A router is a type of internetworking device that passes data packets between networks, based on Layer 3 addresses. A router has the ability to make intelligent decisions regarding the best path for delivery of data on the network.

The Saigon CTT  IP addresses IP addresses are implemented in software, and refer to the network on which a device is located. IP addressing scheme, according to their geographical location, department, or floor within a building. Because they are implemented in software, IP addresses are fairly easy to change.

The Saigon CTT  Router and Bridge

The Saigon CTT  Router connections Routers connect two or more networks, each of which must have a unique network number in order for routing to be successful. The unique network number is incorporated into the IP address that is assigned to each device attached to that network.

The Saigon CTT  Router Interface

The Saigon CTT  Router function

The Saigon CTT  Router function (cont.1) Strips off the data link header, carried by the frame. (The data link header contains the MAC addresses of the source and destination.) Strips off the data link header, carried by the frame. (The data link header contains the MAC addresses of the source and destination.)

The Saigon CTT  Router function (cont.2) Examines the network layer address to determine the destination network.

The Saigon CTT  Router function (cont.3) Consults its routing tables to determine which of its interfaces it will use to send the data, in order for it to reach its destination network.

The Saigon CTT  Router function (cont.4) Send the data out interface B1, the router would encapsulate the data in the appropriate data link frame.

The Saigon CTT  Router Interface example Interface is a router’s attachment to a network, it may also be referred to as a port. In IP routing. Each interface must have a separate, unique network address.

The Saigon CTT  IP address assignment static addressing and dynamic addressing

The Saigon CTT  Static addressing You must go to each individual device and configure it with an IP address. You should keep very meticulous records, because problems can occur on the network if you use duplicate IP addresses.

The Saigon CTT  Dynamic addressing There are a few different methods that you can use to assign IP addresses dynamically: –RARP: Reverse Address Resolution Protocol. –BOOTP: BOOTstrap Protocol. –DHCP: Dynamic Host Configuration Protocol.

The Saigon CTT  Dynamic addressing: RARP MAC: Known IP: Unknown MAC: Known IP: Unknown RARP Request RARP Reply RARP server

The Saigon CTT  Dynamic addressing: BOOTP MAC: Known IP: Unknown MAC: Known IP: Unknown UDP Broadcast BOOTP server MAC1 – IP1 MAC2 – IP2 MAC3 – IP3 MAC1 – IP1 MAC2 – IP2 MAC3 – IP3 IP Address Gateway IP of server Vendor-specific IP Address Gateway IP of server Vendor-specific

The Saigon CTT  Dynamic addressing: DHCP MAC: Known IP: Unknown MAC: Known IP: Unknown DHCP Discover UDP Broadcast DHCP Offer UDP Broadcast DHCP server IP1 IP2 IP3 IP1 IP2 IP3 DHCP Request DHCP Ack IP Address Gateway IP of servers And more … IP Address Gateway IP of servers And more …

The Saigon CTT  Review The role of router in network. Address assignment. Static addressing. Dynamic addressing.

The Saigon CTT ARP CONCEPT

The Saigon CTT  Encapsulation

The Saigon CTT  Address resolution protocol In order for devices to communicate, the sending devices need both the IP addresses and the MAC addresses of the destination devices. When they try to communicate with devices whose IP addresses they know, they must determine the MAC addresses. ARP enables a computer to find the MAC address of the computer that is associated with an IP address.

The Saigon CTT  Address resolution protocol

The Saigon CTT  ARP table in host RAM

The Saigon CTT A.B.C A.B.C A.B.C ABC  ARP operation ARP Table: ? MAC A.B.C MAC ? IP IP Data

The Saigon CTT A.B.C A.B.C A.B.C ABC  ARP operation: ARP request MAC A.B.C MAC ff.ff.ff.ff.ff.ff IP IP What is your MAC Addr?

The Saigon CTT A.B.C A.B.C A.B.C ABC  ARP operation: Checking MAC A.B.C MAC ff.ff.ff.ff.ff.ff IP IP What is your MAC Addr? That is my IP

The Saigon CTT A.B.C A.B.C A.B.C ABC  ARP operation: ARP reply MAC A.B.C MAC A.B.C IP IP This is my MAC Addr

The Saigon CTT A.B.C A.B.C A.B.C ABC  ARP operation: Caching ARP Table: A.B.C – MAC A.B.C MAC A.B.C IP IP Data

The Saigon CTT  ARP: Destination local

The Saigon CTT  Internetwork communication How to communicate with devices that are not on the same physical network segment.

The Saigon CTT  Default gateway In order for a device to communicate with another device on another network, you must supply it with a default gateway. A default gateway is the IP address of the interface on the router that connects to the network segment on which the source host is located. In order for a device to send data to the address of a device that is on another network segment, the source device sends the data to a default gateway.

The Saigon CTT  Proxy ARP Proxy ARP is a variation of the ARP. In the case the source host does not have a default gateway configured. ARP Reply

The Saigon CTT  ARP: Destination not local

The Saigon CTT  ARP Flowchart Send Data to a device Send Data Send an ARP request Get an ARP reply Is the MAC address in my ARP cache N Y

The Saigon CTT  Flowchart: Exercises Create flowcharts for the following processes: –RARP –BOOTP –DHCP –Proxy ARP (in router)

The Saigon CTT  ARP table in router The router interface connected to the network has an IP address for that network. Routers, just like every other device on the network, send and receive data on the network. If router connects to a LAN, it builds ARP tables that maps IP addresses to MAC addresses in that interface.

The Saigon CTT  ARP table in routers and in hosts

The Saigon CTT  Review What is the purpose of ARP protocol? How does ARP protocol work? What is the role of default gateway? What is proxy ARP?

The Saigon CTT NETWORK LAYER SERVICES

The Saigon CTT  Connection oriented network services A connection is established between the sender and the recipient before any data is transferred.

The Saigon CTT  Circuit switched Connection-oriented network processes are often referred to as circuit switched. These processes establish a connection with the recipient, first, and then begin the data transfer. All packets travel sequentially across the same physical circuit, or more commonly, across the same virtual circuit.

The Saigon CTT  Connectionless network services They treat each packet separately. IP is a connectionless system.

The Saigon CTT  Packet switched Connectionless network processes are often referred to as packet switched. When the packets pass from source to destination, they can: –Switch to different paths. –Arrive out of order. Devices make the path determination for each packet based on a variety of criteria. Some of the criteria may differ from packet to packet.

The Saigon CTT  Review Comparing connectionless and connection-oriented services. IP is a connectionless system.

The Saigon CTT ROUTED AND ROUTING PROTOCOLS

The Saigon CTT  Network protocols In order to allow two host communicate together through internetwork, they need a same network protocol. Protocols are like languages. IP is a network layer protocol.

The Saigon CTT  Network protocol operation

The Saigon CTT  Routed protocol Protocols that provide support for the network layer are called routed or routable protocols. IP is a network layer protocol, and because of that, it can be routed over an internetwork.

The Saigon CTT  Protocol addressing variations

The Saigon CTT  Three important routed protocols TCP/IP:04 bytes –Class A: 1 byte network + 3 bytes host –Class B: 2 bytes network + 2 bytes host –Class C: 3 bytes network + 1 byte host IPX/SPX:10 bytes –4 bytes network + 6 bytes host AppleTalk:03 bytes –2 bytes network + 1 byte host

The Saigon CTT  Non-routable protocol Non-routable protocols are protocols that do not support Layer 3. The most common of these non-routable protocols is NetBEUI. NetBEUI is a small, fast, and efficient protocol that is limited to running on one segment.

The Saigon CTT  Addressing of a routable protocol

The Saigon CTT  Routing table E E E2

The Saigon CTT  Multi-protocol routing

The Saigon CTT  Classification #1: Static and Dynamic Static routes: –The network administrator manually enter the routing information in the router. Dynamic routes: –Routers can learn the information from each other on the fly. –Using routing protocol to update routing information. –RIP, IGRP, EIGRP, OSPF …

The Saigon CTT  Static routes

The Saigon CTT  Dynamic routes

The Saigon CTT  Static vs. dynamic routes Static routes: –For hiding parts of an internetwork. –To test a particular link in a network. –For maintaining routing tables whenever there is only one path to a destination network. Dynamic routes: –Maintenance of routing table. –Timely distribution of information in the form of routing updates. –Relies on routing protocol to share knowledge. –Routers can adjust to changing network conditions.

The Saigon CTT  Routing protocol Routing protocols determine the paths that routed protocols follow to their destinations. Routing protocols enable routers that are connected to create a map, internally, of other routers in the network or on the Internet.

The Saigon CTT  Routed vs. Routing protocol Routing protocols determine how routed protocols are routed protocols are routed

The Saigon CTT  Classification #2: IGP and EGP Dynamic routes. Interior Gateway Protocols (RIP, IGRP, EIGRP, OSPF): –Be used within an autonomous system, a network of routers under one administration, like a corporate network, a school district's network, or a government agency's network. Exterior Gateway Protocols (EGP, BGP): –Be used to route packets between autonomous systems.

The Saigon CTT IGP IGP  IGP vs. EGP EGP

The Saigon CTT  Classification #3: DVP and LSP Distance-Vector Protocols (RIP, IGRP): –View network topology from neighbor’s perspective. –Add distance vectors from router to router. –Frequent, periodic updates. –Pass copy of routing tables to neighbor routers. Link State Protocols (OSPF): –Gets common view of entire network topology. –Calculates the shortest path to other routers. –Event-triggered updates. –Passes link state routing updates to other routers.

The Saigon CTT  Distance vector routing

The Saigon CTT  Link state routing

The Saigon CTT  RIP Most popular. Interior Gateway Protocol. Distance Vector Protocol. Only metric is number of hops. Maximum number of hops is 15. Updates every 30 seconds. Doesn’t always select fastest path. Generates lots of network traffic.

The Saigon CTT  IGRP and EIGRP Cisco proprietary. Interior Gateway Protocol. Distance Vector Protocol. Metric is compose of bandwidth, load, delay and reliability. Maximum number of hops is 255. Updates every 90 seconds. EIGRP is an advanced version of IGRP, that is hybrid routing protocol.

The Saigon CTT  OSPF Open Shortest Path First. Interior Gateway Protocol. Link State Protocol. Metric is compose of cost, speed, traffic, reliability, and security. Event-triggered updates.

The Saigon CTT  Routing with RIP (11.8.9) SubnetNextMetric … Exercise Exercise

The Saigon CTT  Preparation for LAB Lab companion: –11.9.1

The Saigon CTT  Review Compare routed and routing protocols. Classification of routing protocols.

The Saigon CTT