Kazi Fall 2007 CSCI 370/EENG 480 1 CSCI-370/EENG-480 Computer Networks Khurram Kazi.

Slides:



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

Network Layer4-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
1 CCNA 3 v3.1 Module 1. 2 CCNA 3 Module 1 Introduction to Classless Routing.
Kazi Spring 2008 CSCI 6901 CSCI-690 Computer Networks Khurram Kazi.
Kazi Spring 2008 CSCI 6901 CSCI-690 Computer Networks Khurram Kazi.
11- IP Network Layer4-1. Network Layer4-2 The Internet Network layer forwarding table Host, router network layer functions: Routing protocols path selection.
Kazi Fall 2007 CSCI 370/EENG CSCI-370/EENG-480 Computer Networks Khurram Kazi.
Kazi Fall 2007 CSCI 370/EENG 4801 CSCI-370/EENG-480 Computer Networks Khurram Kazi.
Fall 2008CSCI 690 CSCI-690 C omputer Networks: Shrinking the globe one click at a time Lecture 4 Khurram Kazi.
Network Layer4-1 Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving side,
Lecture Week 3 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts.
© N. Ganesan, All rights reserved. Chapter IP Routing.
Chapter Subnets in TCP/IP Networks © N. Ganesan, Ph.D.
RSC Part II: Network Layer 3. IP addressing Redes y Servicios de Comunicaciones Universidad Carlos III de Madrid These slides are, mainly, part of the.
Fall 2006Computer Networks19-1 Chapter 19. Host-to-Host Delivery: Internetworking, Addressing, and Routing 19.1 Internetworks 19.2 Addressing 19.3 Routing.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 4: Addressing in an Enterprise Network Introducing Routing and Switching in the.
Dr. John P. Abraham Professor University of Texas Pan American Internet Routing and Routing Protocols.
IP (Internet Protocol) –the network level protocol in the Internet. –Philosophy – minimum functionality in IP, smartness at the end system. –What does.
Routing Information Protocol (RIP). Intra-and Interdomain Routing An internet is divided into autonomous systems. An autonomous system (AS) is a group.
1 Computer Communication & Networks Lecture 22 Network Layer: Delivery, Forwarding, Routing (contd.)
Routing and Routing Protocols Routing Protocols Overview.
Network Layer introduction 4.2 virtual circuit and datagram networks 4.3 what’s inside a router 4.4 IP: Internet Protocol  datagram format  IPv4.
Data Communications and Computer Networks Chapter 4 CS 3830 Lecture 18 Omar Meqdadi Department of Computer Science and Software Engineering University.
Introduction to Classless Routing
4: Network Layer4a-1 Hierarchical Routing r aggregate routers into regions, “autonomous systems” (AS) r routers in same AS run same routing protocol m.
CCNA 1 Module 10 Routing Fundamentals and Subnets.
111 What Is VLSM and Why Is It Used?. 222 Classful and Classless Routing Classful (basic subnetting) Classful routing protocols require that a single.
Interior Gateway Protocol. Introduction An IGP (Interior Gateway Protocol) is a protocol for exchanging routing information between gateways (hosts with.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 4: Addressing in an Enterprise Network Introducing Routing and Switching in the.
Chapter 9. Implementing Scalability Features in Your Internetwork.
Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 1 Lesson 7 Internet Protocol (IP) Routing.
1 Internet Routing. 2 Terminology Forwarding –Refers to datagram transfer –Performed by host or router –Uses routing table Routing –Refers to propagation.
1 Network Layer Lecture 13 Imran Ahmed University of Management & Technology.
CS 350 Chapter-9,10. Implementation of Connectionless Service Routing within a datagram network ISP’s equipment A’s table (initially) A’s table (later)
Network Layer4-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
Network Layer4-1 The Internet Network layer forwarding table Host, router network layer functions: Routing protocols path selection RIP, OSPF, BGP IP protocol.
IP addresses. Network Layer introduction 4.2 virtual circuit and datagram networks 4.3 what’s inside a router 4.4 IP: Internet Protocol datagram.
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.
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”
CCNA 1 v3.0 Module 10 Routing Fundamentals and Subnets.
1 Version 3.1 Module 6 Routed & Routing Protocols.
CS470 Computer Networking Protocols
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 1 Module 10 Routing Fundamentals and Subnets.
Ch 22. Routing Direct and Indirect Delivery.
The Internet Network layer
Data Communications and Computer Networks Chapter 4 CS 3830 Lecture 19 Omar Meqdadi Department of Computer Science and Software Engineering University.
1 Lecture, November 20, 2002 Message Delivery to Processes Internet Addressing Address resolution protocol (ARP) Dynamic host reconfiguration protocol.
Chapter 25 Internet Routing. Static Routing manually configured routes that do not change Used by hosts whose routing table contains one static route.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
Delivery and Forwarding Chapter 18 COMP 3270 Computer Networks Computing Science Thompson Rivers University.
Computer Networks 0110-IP Gergely Windisch
1 ECE453 – Introduction to Computer Networks Lecture 11 – Network Layer III – IP Protocol.
Chapter Subnets in TCP/IP Networks © N. Ganesan, Ph.D.
Assignment 1  Chapter 1:  Question 11  Question 13  Question 14  Question 33  Question 34  Chapter 2:  Question 6  Question 39  Chapter 3: 
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The Network Layer Chapter
The Network Layer Chapter 5 Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education- Prentice Hall, 2011.
1 Most important algorithms! Routing Algorithms Properties Shortest Path Routing Flooding Distance Vector Routing Link State routing Hierarchical routing.
1 Computer Networks Chapter 5. Network layer The network layer is concerned with getting packets from the source all the way to the destination. Getting.
Introduction to Networks
Routing Information Protocol (RIP)
COMP 3270 Computer Networks
Chapter 5 The Network Layer.
Routing.
CS 457 – Lecture 10 Internetworking and IP
Delivery and Routing of IP Packets
Dynamic Routing and OSPF
Network Layer I have learned from life no matter how far you go
Chapter 4 Network Layer Computer Networking: A Top Down Approach 5th edition. Jim Kurose, Keith Ross Addison-Wesley, April Network Layer.
Figure 6.11 Configuration for Example 4
Routing.
Presentation transcript:

Kazi Fall 2007 CSCI 370/EENG CSCI-370/EENG-480 Computer Networks Khurram Kazi

Kazi Fall 2007 CSCI 370/EENG Major sources of the slides for this lecture  Slides from Tanenbaum’s and William Stallings’ website are used in this lecture  Interworking with TCP/IP, M , Global knowledge, training manual, (  Teach yourself TCP/IP in 24 hours, Joe Casad, Bob Willsey, SAMS  The Internet and Its Protocol, Adrian Farrel’s book.

Kazi Fall 2007 CSCI 370/EENG Reference Network: For discussion purposes

Kazi Fall 2007 CSCI 370/EENG Implementation of Connectionless Service Routing within a diagram subnet.

Kazi Fall 2007 CSCI 370/EENG Implementation of Connection-Oriented Service Routing within a virtual-circuit subnet.

Kazi Fall 2007 CSCI 370/EENG Comparison of Virtual-Circuit and Datagram Subnets 5-4

Kazi Fall 2007 CSCI 370/EENG Routing Algorithms The Optimality Principle Shortest Path Routing Flooding Distance Vector Routing Link State Routing Hierarchical Routing Broadcast Routing Multicast Routing Routing for Mobile Hosts Routing in Ad Hoc Networks

Kazi Fall 2007 CSCI 370/EENG Routing  Routing and forwarding is what the Internet is all about  How can an IP packet from one host be delivered to the destination host?  Within an individual router lies the answer: Routing Table  Routing table maps the destination address carried in a datagram to the address of the next hop along the path (next hop address) and the interface through which the datagram should be forwarded (the outgoing interface)

Kazi Fall 2007 CSCI 370/EENG Routing  In simple networks, routing table can be manually configured or learned from the configuration of interfaces on the router.  In complex networks where there are many routers arranged in a mesh with lots of links between routers, each having different capabilities, manual configuration becomes onerous/troublesome.  Even more important is when there are changes in the network – how do other routers are informed of such changes and how they react to the change.  e.g. Link failure, routers added to the network  Routing protocols are used to collate and distribute information about the network connectivity  Once the connectivity information has been distributed the question of how to compute the best path still remains.  Routing algorithms can be run against the view of the network to determine the best path along which to forward the datagram.

Kazi Fall 2007 CSCI 370/EENG Routing  Routing Information Protocol (RIP) is simple and ubiquitous.  Open Shortest Path First (OSPF) protocol is very popular and has a close rival, Intermediate System to Intermediate System (IS-IS), that performs a similar function  Border Gateway Protocol (BGP) is important for hooking together the many Service Provider networks into a single Internet

Kazi Fall 2007 CSCI 370/EENG Classless Interdomain Routing (CIDR)  Last lecture: IP addresses are grouped in classes  Different nibbles/bytes split the address into network portion and the host portion of the IP address  Network mask indicates the length of the network part of the address – know as prefix length  Earlier networks routed traffic based on the classes (A, B or C type)  Subnetting allows the networks to be divided into smaller segments  Subnetting process defines range of addresses assigned to a subnet according to prefix length  Routing using subnetwork addresses is not quite simple as routing as using class addresses, because knowledge of the network mask (prefix length) is not encoded in the address itself  Routing table must consist of a list of subnetwork addresses (i.e. addresses and prefix length), each mapping to a route or path along which packet for that subnet should be forwarded  Routing table will explode if all addresses have to be included in the routing table. e.g., in class A potentially there are bit prefix subnetworks  The solution within the Internet is to route at an appropriate level of granularity through address aggregation

Kazi Fall 2007 CSCI 370/EENG Route address aggregation SubnetworkSubnetwork MaskAddress Range / – / – / – The subnet addresses can be combined/aggregated as a single subnetwork /26

Kazi Fall 2007 CSCI 370/EENG Simple network showing a multi-access link, a numbered point-to-point link and an un-numbered link Numbered link Loop back address is known as a routable router identifier because it is an IP address that can be installed in the routing tables at other routers

Kazi Fall 2007 CSCI 370/EENG Distance Vectors

Kazi Fall 2007 CSCI 370/EENG Routing Table at Router E. Initial routing Distribution while the link between Routers A and B Disabled DestinationOutgoing Interface DistanceNext Hop E B B F F C B D F A 3F

Kazi Fall 2007 CSCI 370/EENG Routing Table at Router E. After Full Distribution DestinationOutgoing Interface DistanceNext Hop E B B F F C B D F A 2B