CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 12 Introduction to Networks and the Internet.

Slides:



Advertisements
Similar presentations
1 Chapter 9 Computer Networks. 2 Chapter Topics OSI network layers Network Topology Media access control Addressing and routing Network hardware Network.
Advertisements

4-1 Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving side, delivers.
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Spring 2003 Week 6 Introduction to Networks and the Internet.
Chapter 4 Network Layer slides are modified from J. Kurose & K. Ross CPE 400 / 600 Computer Communication Networks Lecture 14.
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 2 Introduction to Networks and the Internet.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 23 Introduction to Computer Networks.
Introduction to Networks and the Internet
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 18 Introduction to Networks and the Internet.
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 13 Introduction to Networks and the Internet.
Chapter 10 Introduction to Wide Area Networks Data Communications and Computer Networks: A Business User’s Approach.
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 15 Introduction to Networks and the Internet.
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 18 Introduction to Networks and the Internet.
1 LAN switching and Bridges Relates to Lab 6. Covers interconnection devices (at different layers) and the difference between LAN switching (bridging)
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 14 Introduction to Networks and the Internet.
WAN Technologies.
1 LAN switching and Bridges Relates to Lab 6. Covers interconnection devices (at different layers) and the difference between LAN switching (bridging)
WAN Technologies & Topologies Lecture 8 October 4, 2000.
CECS 474 Computer Network Interoperability WAN Technologies & Routing
1 Internet Protocol: Forwarding IP Datagrams Chapter 7.
WAN technologies and routing Packet switches and store and forward Hierarchical addresses, routing and routing tables Routing table computation Example.
Data Communications and Computer Networks Chapter 4 CS 3830 Lecture 18 Omar Meqdadi Department of Computer Science and Software Engineering University.
Virtual Circuit Network. Network Layer 2 Network layer r transport segment from sending to receiving host r network layer protocols in every host, router.
Day 12 Chapter 13 WAN Technologies and Routing. Classification of Networks LAN – spans a single building or campus MAN – Spans a city WAN – Spans multiple.
1 WAN Technologies and Routing. 2 Motivation Connect multiple computers Span large geographic distance Cross public right-of-way –Streets –Buildings –Railroads.
COP 4930 Computer Network Projects Summer C 2004 Prof. Roy B. Levow Lecture 3.
Delivery, Forwarding, and Routing of IP Packets
1 Network Layer Lecture 13 Imran Ahmed University of Management & Technology.
The Network Layer.
Networks and Protocols CE Week 2a. Network hardware.
OSI Model. Switches point to point bridges two types store & forward = entire frame received the decision made, and can handle frames with errors cut-through.
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 16 Introduction to Networks and the Internet.
Internet Protocol: Routing IP Datagrams Chapter 8.
1 ECE453 - Introduction to Computer Networks Lecture 1: Introduction.
Univ. of TehranComputer Network1 Advanced topics in Computer Networks University of Tehran Dept. of EE and Computer Engineering By: Dr. Nasser Yazdani.
Describe basic routing concepts. Routers Interconnect Networks Router is responsible for forwarding packets from network to network, from the original.
Data Communications and Computer Networks Chapter 4 CS 3830 Lecture 19 Omar Meqdadi Department of Computer Science and Software Engineering University.
18-WAN Technologies and Dynamic routing Dr. John P. Abraham Professor UTPA.
Network Layer4-1 Chapter 4 Network Layer All material copyright J.F Kurose and K.W. Ross, All Rights Reserved Computer Networking: A Top Down.
1 LAN switching and Bridges Relates to Lab Outline Interconnection devices Bridges/LAN switches vs. Routers Bridges Learning Bridges Transparent.
WAN Technologies. 2 Large Spans and Wide Area Networks MAN networks: Have not been commercially successful.
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.
Ethernet switches and IP routers
Network Layer COMPUTER NETWORKS Networking Standards (Network LAYER)
COMPUTER NETWORKS CS610 Lecture-15 Hammad Khalid Khan.
Link Layer 5.1 Introduction and services
Networks Keywords Network Hardware
Chapter 4 Introduction to Network Layer
The Underlying Technologies
Ch 13 WAN Technologies and Routing
MAC Addresses and ARP 32-bit IP address:
Link-State Routing Protocols
EEC-484/584 Computer Networks
THE NETWORK LAYER.
18-WAN Technologies and Dynamic routing
LAN switching and Bridges
Chapter 4 Introduction to Network Layer
EEC-484/584 Computer Networks
Link-State Routing Protocols
Review of TCP/IP Internetworking
LAN switching and Bridges
Network Layer I have learned from life no matter how far you go
PRESENTATION COMPUTER NETWORKS
Link-State Routing Protocols
Wide Area Networks (WANs), Routing, and Shortest Paths
LAN switching and Bridges
Wide Area Networks (WANs), Routing, and Shortest Paths
COMPUTER NETWORKS CS610 Lecture-16 Hammad Khalid Khan.
Figure 6.11 Configuration for Example 4
Chapter 5 Data Link Layer – Hub, Switch
Packet Switch Architectures
Presentation transcript:

CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 12 Introduction to Networks and the Internet

CMPE 80N - Introduction to Networks and the Internet 2 Announcements Third quiz scheduled for Library presentation on Lecture notes “dilemma”.

CMPE 80N - Introduction to Networks and the Internet 3 The Network Layer Application Transport Data Link Physical Network TCP/IP

CMPE 80N - Introduction to Networks and the Internet 4 Network Layer Main functions: routing and forwarding. –What’s routing? –What’s forwarding?

CMPE 80N - Introduction to Networks and the Internet 5 Routing Find path (route) between source and destination. Analogy: air travel. –To go from San Francisco to NY. Go from SFO to Denver. From Denver to Chicago. From Chicago to NY. Main idea: at every hop, get closer to destination.

CMPE 80N - Introduction to Networks and the Internet 6 Routing Find path (route) between source and destination. Source Destination

CMPE 80N - Introduction to Networks and the Internet 7 Routing (cont’d) Routing means finding a suitable path for a packet from sender to destination A possible route Another possible route Source Destination

CMPE 80N - Introduction to Networks and the Internet 8 Routing (cont’d) A router may need to choose between two or more paths that lead to destination. –Choosing the “shortest” path. Typically, there are multiple hops to make the journey. –Unless hosts are on the same network. The routing algorithm is the part of a network layer software responsible for deciding which output line data should be transmitted on

CMPE 80N - Introduction to Networks and the Internet 9 Forwarding When data is received, forward it in toward the destination.

CMPE 80N - Introduction to Networks and the Internet 10 Who? How? Who performs network layer functions? –Switches/routers. How these functions are carried out? –Later…

CMPE 80N - Introduction to Networks and the Internet 11 Switches or Routers Switches, or routers, receive data on one side and forward it on the other side. Like telephone switches. Source Destination Switch

CMPE 80N - Introduction to Networks and the Internet 12 Wide-Area Network One possibility: connect every host using dedicated line. –Problem?

CMPE 80N - Introduction to Networks and the Internet 13 Wide-Area Network One possibility: connect every host using dedicated line. –Problem? Another possibility: use interconnected switches which are interconnected and connect to hosts. Switch Hosts/ Switches Hosts/ Switches Incoming line/interface Outgoing line/interface

CMPE 80N - Introduction to Networks and the Internet 14 Switch Internals Early WANs used general purpose machines dedicated to the task of switching. Modern WAN switches use special purpose hardware optimized for the switching task.

CMPE 80N - Introduction to Networks and the Internet 15 Store and Forward How switches operate. Shared LANs: only 1 pair of hosts can exchange a frame at a time. WANs: many hosts can send simultaneously. Switch stores data they receive in memory; next switch examines data, determines which interface to send it, and forwards data on.

CMPE 80N - Introduction to Networks and the Internet 16 Queuing If multiple data items arrive for the same outgoing interface, they are queued waiting to be transmitted. Switch

CMPE 80N - Introduction to Networks and the Internet 17 Queuing (cont’d) If multiple data items arrive for the same outgoing interface, they are queued waiting to be transmitted. Switch

CMPE 80N - Introduction to Networks and the Internet 18 Queuing (cont’d) If multiple data items arrive for the same outgoing interface, they are queued waiting to be transmitted. Switch

CMPE 80N - Introduction to Networks and the Internet 19 Next-Hop Forwarding Air travel analogy: SF ->NY –You want to go from SF->NY. –Go to SF airport; go to airline ticketing; ask for cheapest ticket from SF to NY. –Get ticket from SF -> Denver. –At Denver airport, get cheapest ticket to go to NY. –Get ticket from Denver->Chicago, etc.

CMPE 80N - Introduction to Networks and the Internet 20 Next-Hop Forwarding (cont’d) If data not destined to directly connected host, switch forwards it to the cheapest next hop toward destination. Next hop does not depend on source, not on the path traveled so far. Advantage: switch need only examine destination address.

CMPE 80N - Introduction to Networks and the Internet 21 Routing Table Switches need to know where to forward data they receive. –Essentially, destination address -> next hop. Table containing destination and associated next-hop information. Switch 2

CMPE 80N - Introduction to Networks and the Internet 22 Routing Table Air travel analogy: –At each airport there is a table showing the cheapest next hop to every destination. –The source does not matter! –Example: at Denver airport, NY go to Chicago DC go to Chicago Miami go to Houston Houston go to Houston Los Angeles go to Los Angeles San Diego go to Los Angeles

CMPE 80N - Introduction to Networks and the Internet 23 Routing Table: Example Switch 1 Switch 3 A B C D E F 1,1 1,3 2,5 2,6 3,6 3,8 : Destination Next hop A (1,1) Interface 1 B (1,3) Interface 1 C Interface 4 D Interface 4 E Interface 5 F Interface 6 Switch ,1 2,2 2,3 3,1 3,2 3,3 3,4 2,4 At switch 2:

CMPE 80N - Introduction to Networks and the Internet 24 More Routing Table Each router stores information about forwarding in a routing table. –Initialized at system initialization. –Must be updated as network topology changes. Routing table contains a list of destination and next hop for each destination. Routing table is built by routing protocol.

CMPE 80N - Introduction to Networks and the Internet 25 Routing and Hierarchical Addresses Hierarchical addresses allow routing tables to be smaller and more concise. At switch 2: Destination Next hop Destination Next Hop 1,1 Interface 1 1, any Interface 1 1,3 Interface 1 3,6 Interface 4 3,8 Interface 4 3, any Interface 4 2,5 Interface 5 2, any Local 2,6 Interface 6