CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.

Slides:



Advertisements
Similar presentations
1 IP Forwarding Relates to Lab 3. Covers the principles of end-to-end datagram delivery in IP networks.
Advertisements

IP Forwarding Relates to Lab 3.
RIP V1 W.lilakiatsakun.
The subnet /28 has been selected to be further subnetted to support point-to-point serial links. What is the maximum number of serial links.
RIP V2 CCNP S1(5), Chapter 4.
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
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.
1 ELEN 602 Lecture 20 More on Routing RIP, OSPF, BGP.
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
Routing and Routing Protocols
Routing.
1 IP Forwarding Relates to Lab 3. Covers the principles of end-to-end datagram delivery in IP networks.
RIP. A PPROACHES TO S HORTEST P ATH R OUTING There are two basic routing algorithms found on the Internet. 1. Distance Vector Routing Each node knows.
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)
Interior Gateway Protocols: RIP & OSPF
Introduction to Routing and Routing Protocols By Ashar Anwar.
Routing Information Protocol (RIP). Intra-and Interdomain Routing An internet is divided into autonomous systems. An autonomous system (AS) is a group.
M. Menelaou CCNA2 DYNAMIC ROUTING. M. Menelaou DYNAMIC ROUTING Dynamic routing protocols can help simplify the life of a network administrator Routing.
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.
Code : STM#520-1 Samsung Electronics Co., Ltd. OfficeServ7400 Router Operation Distribution EnglishED01.
Review Routing fundamental W.lilakiatsakun. Review Routing Fundamental VLSM VLSM Route Summarization Route Summarization Static & Dynamic Routing Static.
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.
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.
Routing protocols Basic Routing Routing Information Protocol (RIP) Open Shortest Path First (OSPF)
TCP/IP Illustracted Vol1. 제목 : IP Routing ( 수 ) 한 민 규
資 管 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.
1 Network Layer Lecture 13 Imran Ahmed University of Management & Technology.
1 Routing Table  The seven fields Mask: for finding (sub)network address of the destination l Host-specific routing: (/32) l Default routing:
CS4550 Computer Networks II IP : internet protocol, part 2 : packet formats, routing, routing tables, ICMP read feit chapter 6.
1 Network Layer Lecture 13 Imran Ahmed University of Management & Technology.
Objectives After completing this chapter you will be able to: Understand how routers operate Describe Distance Vector and Link State Algorithms Describe.
Network Layer4-1 Datagram networks r no call setup at network layer r routers: no state about end-to-end connections m no network-level concept of “connection”
7400 Samsung Confidential & Proprietary Information Copyright 2006, All Rights Reserved. -0/35- OfficeServ 7x00 Enterprise IP Solutions Quick Install Guide.
Routing and Routing Protocols
TCP/IP Illustracted Vol1. 제목 : IP Routing ( 수 ) 한 민 규
1 Version 3.1 Module 6 Routed & Routing Protocols.
 RIP — A distance vector interior routing protocol  IGRP — The Cisco distance vector interior routing protocol (not used nowadays)  OSPF — A link-state.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 1 Module 10 Routing Fundamentals and Subnets.
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.
IP Internet Protocol. IP TCP UDP ICMPIGMP ARP PPP Ethernet.
Malathi Veeraraghavan (originals by Jörg Liebeherr) 1 Link State Routing Algorithm Use a routing protocol to collect the whole network topology Obtain.
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Chapter 6 Delivery & Forwarding of IP Packets
Routing Information Protocol (RIP)
Routing and Routing Protocols: Routing Static
IP Forwarding Covers the principles of end-to-end datagram delivery in IP networks.
Chapter 6 – Routing.
CCNA 2 v3.1 Module 6 Routing and Routing Protocols
Internet Control Message Protocol (ICMP)
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Routing.
IP Forwarding Relates to Lab 3.
Internet Control Message Protocol (ICMP)
Chapter 6 Delivery & Forwarding of IP Packets
Chapter 3: Dynamic Routing
Routing and Routing Protocols: Routing Static
Internet Control Message Protocol (ICMP)
IP Forwarding Relates to Lab 3.
IP Forwarding Relates to Lab 3.
Networking and Network Protocols (Part2)
IP Forwarding Relates to Lab 3.
Routing.
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Presentation transcript:

CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina

2/10/20052 IP Routing Forward datagrams generated either on local host or on some other hosts toward their ultimate destination Static routing: when network is small, single connection point to other networks, no redundant route existent Dynamic routing: use routing daemon to run routing protocol in order to communicate with other routers

2/10/20053 Kernel Processing at IP Layer IP output: calculate next hop router (if necessary) our packet (one of our IP address or broadcast addresses)? process IP options IP input queue ICMP UDPTCP routing daemon route command netstat command routing table network interfaces IP layer source routing forward datagram (if forwarding enabled) ICMP redirects routing table updates from adjacent routers

2/10/20054 Routing Principles IP performs three steps when searching its routing table 1. Search for a matching host address 2. Search for a matching network address 3. Search for a default entry

2/10/20055 Initialize a Routing Table Three ways to create routing table entries Created by default when an interface is configured Added by route command Created by an ICMP redirect

2/10/20056 route Command Explicitly add or remove routing table entry from configuration files at bootstrap time

2/10/20057 ICMP Redirect Error Sent by a router to sender of an IP datagram when the datagram should have been sent to a different router Used only when the host has a choice of routers to send its datagram to

2/10/20058 Example of ICMP Redirect host R1R2 (1) IP datagram (3) ICMP redirect (2) IP datagram Final destination

2/10/20059 ICMP Redirect type(5)code(0-3) checksum router IP address that should be used IP header + first 8 bytes of original datagram data

2/10/ ICMP Router Solicitation type(10)code(0) checksum unused (sent as 0)

2/10/ ICMP Router Advertisement type(9)code(0) checksum router address [1] preference level [1] router address [2] preference level [2] … number of addresses address entry size(2) lifetime

2/10/ Routing Protocols Executed by routing daemon to communicate routing information with other routers Two types of routing protocols Distance-vector protocols Link-state protocols

2/10/ Distance-vector Protocols Maintain a vector of distances Each router updates its routing table based on vector of distances received from neighbors Example: RIP

2/10/ Link-state Protocols Each router maintains a complete routing table of the network Example: OSPF

2/10/ Routing Information Protocol (RIP) Most widely used routing protocol Carried in UDP datagrams

2/10/ RIP Message Format command(1-6)version(1) (must be 0) bit IP address (must be 0)address family(2) (must be 0) metric(1-16) (up to 24 more routes) 20 bytes

2/10/ RIP Metrics RIP uses hop count as its metric If there are multiple paths, router chooses the one with smallest hop count, and ignores other paths

2/10/ RIP Operation Initialization Request received Response received Regular routing updates Triggered updates

2/10/ Problems with RIP Has no knowledge about subnet addressing Take long time to stabilize after a router or link failure Maximum of metric limits network size No security protection

2/10/ RIP Version 2 Fix some deficiencies of RIP Support multiple domain Include subnet mask Some simple authentication scheme added

2/10/ RIP-2 Message Format command(1-6)version(2) routing domain bit IP address route tagaddress family(2) 32-bit subnet mask 32-bit next-hop IP address metric(1-16) (up to 24 more routes) 20 bytes

2/10/ Next Class Routing protocols: OSPF, BGP UDP Read TI Ch. 10, 11