1 Routing Table  The seven fields Mask: for finding (sub)network address of the destination l Host-specific routing: 255.255.255.255 (/32) l Default routing:

Slides:



Advertisements
Similar presentations
McGraw-Hill © The McGraw-Hill Companies, Inc., 2004 Chapter 22 Network Layer: Delivery, Forwarding, and Routing Copyright © The McGraw-Hill Companies,
Advertisements

1 Chapter 22 Network layer Delivery, Forwarding and Routing.
ECE 4110 – Internetwork Programming TCP/IP Protocol (cont’d)
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization –All routers are identical –Network is flat. Not true in Practice Hierarchical.
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
Unicast Routing Protocols: RIP, OSPF, and BGP
Delivery, Forwarding, and Routing
7/3/2015 Unit-3 : Network Layer 1 CS 1302 Computer Networks — Unit - 3 — — Network Layer — Text Book Behrouz.A. Forouzan, “Data communication and Networking”,
Routing Protocol Pertemuan 21 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.
ROUTING ON THE INTERNET COSC Aug-15. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
INTRA- AND INTERDOMAIN ROUTING Routing inside an autonomous system is referred to as intradomain routing. Routing between autonomous systems is.
Chapter 14 Routing Protocols (RIP, OSPF, and BGP)
Delivery, Forwarding and
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
Interior Gateway Protocols: RIP & OSPF
22.1 Chapter 22 Network Layer: Delivery, Forwarding, and Routing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1 Pertemuan 20 Teknik Routing Matakuliah: H0174/Jaringan Komputer Tahun: 2006 Versi: 1/0.
Routing Information Protocol (RIP). Intra-and Interdomain Routing An internet is divided into autonomous systems. An autonomous system (AS) is a group.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 14 Routing Protocols RIP, OSPF, BGP.
Unicast Routing Protocols  A routing protocol is a combination of rules and procedures that lets routers in the internet inform each other of changes.
Routing and Routing Protocols Routing Protocols Overview.
Introduction to Dynamic Routing Protocol
Code : STM#520-1 Samsung Electronics Co., Ltd. OfficeServ7400 Router Operation Distribution EnglishED01.
1 Routing. 2 Routing is the act of deciding how each individual datagram finds its way through the multiple different paths to its destination. Routing.
Copyright © Lopamudra Roychoudhuri
資 管 Lee Lesson 5 IP Packets: Delivery and Routing IP Layer operation.
Interior Gateway Protocol. Introduction An IGP (Interior Gateway Protocol) is a protocol for exchanging routing information between gateways (hosts with.
Dr. Clincy1 Chapter 6 Delivery & Forwarding of IP Packets Lecture #4 Items you should understand by now – before routing Physical Addressing – with in.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2003 Chapter 6 Delivery and Routing of IP Packets.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 11 Unicast Routing Protocols.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 13 Routing Protocols (RIP, OSPF, BGP)
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 6 Delivery and Routing of IP Packets.
資 管 Lee Lesson 10 RIP, OSPF, and BGP. 資 管 Lee Routing in Internet An internet is divided into autonomous systems. An autonomous system(AS) is a group.
Delivery, Forwarding, and Routing of IP Packets
1 Internet Routing. 2 Terminology Forwarding –Refers to datagram transfer –Performed by host or router –Uses routing table Routing –Refers to propagation.
Link State Routing NETE0521 Presented by Dr.Apichan Kanjanavapastit.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 06_a Routing Protocols: RIP, OSPF, BGP Instructor: Dr. Li-Chuan Chen Date: 10/06/2003 Based in part upon.
7400 Samsung Confidential & Proprietary Information Copyright 2006, All Rights Reserved. -0/35- OfficeServ 7x00 Enterprise IP Solutions Quick Install Guide.
Routing and Routing Protocols
Networking and internetworking devices. Repeater.
TCP/IPTCP/IP Dr. Clincy1 Chapter 6 Delivery & Forwarding of IP Packets.
ICS 156: Networking Lab Magda El Zarki Professor, ICS UC, Irvine.
Routing protocols. Static Routing Routes to destinations are set up manually Route may be up or down but static routes will remain in the routing tables.
1 Kyung Hee University Chapter 6 Delivery Forwarding, and Routing of IP Packets.
Routing protocols. 1.Introduction A routing protocol is the communication used between routers. A routing protocol allows routers to share information.
Routing Algorithms and IP Addressing Routing Algorithms must be ▪ Correctness ▪ Simplicity ▪ Robustness ▪ Stability ▪ Fairness ▪ Optimality.
Computer Networks22-1 Network Layer Delivery, Forwarding, and Routing.
Ch 22. Routing Direct and Indirect Delivery.
RIP Routing Protocol. 2 Routing Recall: There are two parts to routing IP packets: 1. How to pass a packet from an input interface to the output interface.
1. 2  An autonomous system is a region of the Internet that is administered by a single entity.  Examples of autonomous regions are:  UVA’s campus.
TCP/IP Protocol Suite 1 Chapter 14 Upon completion you will be able to: Unicast Routing Protocols: RIP, OSPF, and BGP Distinguish between intra and interdomain.
22.1 Network Layer Delivery, Forwarding, and Routing.
ROUTING ON THE INTERNET COSC Jun-16. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
UNIT 4 NETWORK LAYER. Position of network layer 7/8/2016 UNIT-3 : NETWORK LAYER 2.
Configuration for routing example
Behrouz A. Forouzan TCP/IP Protocol Suite, 3rd Ed.
Kapitel 19: Routing. Kapitel 21: Routing Protocols
Chapter 6 Delivery & Forwarding of IP Packets
Chapter 14 Routing Protocols (RIP, OSPF, and BGP)
(How the routers’ tables are filled in)
COMP 3270 Computer Networks
Chapter 6 Delivery & Forwarding of IP Packets
Chapter 6 Delivery & Forwarding of IP Packets
Chapter 6 Delivery & Forwarding of IP Packets
Delivery, Forwarding, and Routing
Delivery and Routing of IP Packets
Chapter 22. Network Layer: Routing
Chapter 6 Delivery & Forwarding of IP Packets
Presentation transcript:

1 Routing Table  The seven fields Mask: for finding (sub)network address of the destination l Host-specific routing: (/32) l Default routing: (/0) l Unsubnetted network: default mask of each class Destination address: either host address or network address Next-hop address: the address of the next-hop router

2 Routing Table (cont.)  The seven fields (cont.) Flags: l U (Up):  the router is running,  the router is down l G (Gateway):  indirect delivery,  direct delivery l H (Host-Specific):  host-specific address,  network address l D (Added by redirection):  the routing information has been added by a redirection message from ICMP l M (Modified by redirection):  the routing information has been modified by a redirection message from ICMP Reference count: no. of users using this route at any moment Use: no. of packets transmitted through router Interface: the name of the interface

3 Routing Module 1. For each entry in the routing table 1. Apply the mask to packet destination address 2. If (the result matches the value in the destination field) 1. If (the G flag is present) 1. Use the next-hop entry in the table as next-hop address 2. If (the G flag is missing) 1. Use packet destination address (direct delivery) 3. Send packet to fragmentation module with next-hop address 4. Stop 2. If no match is found, send an ICMP error message 3. Stop

4 Examples  Configuration for routing examples

5 Examples (cont.)  Routing table for router R1 in the figure

6 Examples  Make the routing table for router R1 in the following figure. There are three explicit destination networks, two class B and one class C with no subnetting. There is also one access to the rest of the Internet (default route)  The routing table has four rows

7 Examples  Solution MaskDestinationNext HopI/F m m m m0

8 Interior and Exterior Routing  Popular routing protocols

9 Interior and Exterior Routing  Autonomous systems Interior routing Exterior routing

10 RIP (Routing Information Protocol)  Based on distance vector routing, which uses the Bellman-Ford algorithm.  Distance Vector Routing each router periodically shares its knowledge about the entire internet with neighbors the operational principles of this algorithm 1. Sharing knowledge about the entire autonomous system 2. Sharing only with neighbors 3. Sharing at regular intervals

11 RIP  Routing Table Distance Vector Routing Table

12 RIP  The routing table is updated upon receipt of a RIP response message.

13 RIP  Example of updating a routing table

14 OSPF  Link State Routing OSPF uses Link State Routing to update the routing tables in an area Each router shares its knowledge about its neighborhood with every router in the area. 1. Sharing knowledge about the neighborhood 2. Sharing with every other router by flooding 3. Sharing when there is a change cf. Distance Vector Routing : sending the information at regular intervals regardless of change  So, every router can calculate the shortest path between itself and each network

15 OSPF  Dijkstra Algorithm calculating the shortest path between two points on a network using a graph made up of nodes and edges

16 OSPF  Routing Table Each router uses the shortest path tree method to construct its routing table Showing the cost of reaching each network in the area To find the cost of reaching networks outside of the area, the routers use the summary link to network, the summary link to boundary router, and the external link advertisements  Link state routing table for router A