ENGS4 2004 Lecture 7 ENGS 4 - Lecture 7 Technology of Cyberspace Winter 2004 Thayer School of Engineering Dartmouth College Instructor: George Cybenko,

Slides:



Advertisements
Similar presentations
6.033: Intro to Computer Networks Layering & Routing Dina Katabi & Sam Madden Some slides are contributed by N. McKewon, J. Rexford, I. Stoica.
Advertisements

1 Packet Switching, Layer Models and Protocol Suites Data Communications and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D.
© 2007 Cisco Systems, Inc. All rights reserved. 1 Network Addressing Networking for Home and Small Businesses – Chapter 5.
UNIT-IV Computer Network Network Layer. Network Layer Prepared by - ROHIT KOSHTA In the seven-layer OSI model of computer networking, the network layer.
CS 381 Introduction to computer networks Lecture 2 1/29/2015.
ENGS Lecture 3 ENGS 4 - Lecture 3 Technology of Cyberspace Winter 2004 Thayer School of Engineering Dartmouth College Instructor: George Cybenko,
ENGS 112 Lecture 2 HTML Primer See text or web for more information and examples.
ENGS Lecture 8 ENGS 4 - Lecture 8 Technology of Cyberspace Winter 2004 Thayer School of Engineering Dartmouth College Instructor: George Cybenko,
Introduction to Networking & Telecommunications School of Business Eastern Illinois University © Abdou Illia, Spring 2007 (Week 1, Tuesday 1/9/2007)
ENGS Lecture 4 ENGS 4 - Lecture 4 Technology of Cyberspace Winter 2004 Thayer School of Engineering Dartmouth College Instructor: George Cybenko,
ENGS Lecture 5 ENGS 4 - Lecture 5 Technology of Cyberspace Winter 2004 Thayer School of Engineering Dartmouth College Instructor: George Cybenko,
CS335 Principles of Multimedia Systems Multimedia Over IP Networks -- I Hao Jiang Computer Science Department Boston College Nov. 6, 2007.
ENGS Assignment 2 ENGS 4 - Lecture 8 Technology of Cyberspace Winter 2004 Thayer School of Engineering Dartmouth College Assignment 2 – Due Friday,
ENGS Lecture 6 ENGS 4 - Lecture 6 Technology of Cyberspace Winter 2004 Thayer School of Engineering Dartmouth College Instructor: George Cybenko,
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 13 Introduction to Networks and the Internet.
Extending Networks. Three Levels of Extension Physical Layer –Repeaters Link Layer –Bridges –Switches Network –Routers: “Connecting networks”
8.1 Chapter 8 Switching Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Vocabulary URL = uniform resource locator: web address protocol –set of rules that networked computers follow in order to share data and coordinate communications.
Communication concepts (Continued) Week 2 Lecture 2.
Network Architecture for Cyberspace
The internet and the WWW
Chapter 1: Overview Lecturer: Alias Mohd Telecommunications Department Faculty of Electrical Engineering UTM SET 4573: Data Communication and Switching.
15-1 More Chapter 15 Goals Compare and contrast various technologies for home Internet connections Explain packet switching Describe the basic roles of.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
Lecturer: Ghadah Aldehim
CS448 Computer Networking Chapter 1 Introduction to Computer Networks Instructor: Li Ma Office: NBC 126 Phone: (713)
Section 4 : The OSI Network Layer CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE.
Data Comm. & Networks Instructor: Ibrahim Tariq Lecture 3.
Switched network.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Connecting to the Network Networking for Home and Small Businesses – Chapter.
© 2007 Cisco Systems, Inc. All rights reserved. 1 Network Addressing Networking for Home and Small Businesses – Chapter 5 Darren Shaver – Modified Fall.
Communication Networks Fourth Meeting. Types of Networks  What is a circuit network?  Two people are connected and allocated them their own physical.
ECE 466 Switching Networks. ECE 466 A communication network provides a scalable solution to connect a large number of end systems Communication Networks.
Lecture 6 Introduction To Switching Circuit Switching.
Data and Computer Communications Circuit Switching and Packet Switching.
ECE 4450:427/527 - Computer Networks Spring 2015 Dr. Nghi Tran Department of Electrical & Computer Engineering Lecture 2: Overview of Computer Network.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 03_b Protocol Layering Instructor: Dr. Li-Chuan Chen Date: 09/15/2003 Based in part upon slides of Prof.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Connecting to the Network Networking for Home and Small Businesses.
Lecture 6 Page 1 Advanced Network Security Review of Networking Basics Advanced Network Security Peter Reiher August, 2014.
Networking Fundamentals. Basics Network – collection of nodes and links that cooperate for communication Nodes – computer systems –Internal (routers,
1 UNIT 13 The World Wide Web Lecturer: Kholood Baselm.
BZUPAGES.COM Presentation On SWITCHING TECHNIQUE Presented To; Sir Taimoor Presented By; Beenish Jahangir 07_04 Uzma Noreen 07_08 Tayyaba Jahangir 07_33.
1 ECE453 - Introduction to Computer Networks Lecture 1: Introduction.
Lecture # 03 Switching Course Instructor: Engr. Sana Ziafat.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Connecting to the Network Introduction to Networking Concepts.
Networks. Ethernet  Invented by Dr. Robert Metcalfe in 1970 at Xerox Palo Alto Research Center  Allows group of computers to communicate in a Local.
CSCD 218 : DATA COMMUNICATIONS AND NETWORKING 1
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 CH. 8: SWITCHING & DATAGRAM NETWORKS 7.1.
Topic 6, Lesson 3: The Internet Computer Communications and Networking.
1 Networking and Internetworking Devices we need networking and internetworking devices to extend physical distance and to improve efficiency and manageability.
1 Switching and Forwarding Sections Connecting More Than Two Hosts Multi-access link: Ethernet, wireless –Single physical link, shared by multiple.
Networking Components Quick Guide. Hubs Device that splits a network connection into multiple computers Data is transmitted to all devices attached Computers.
Introduction1-1 Data Communications and Computer Networks Chapter 1 CS 3830 Lecture 2 Omar Meqdadi Department of Computer Science and Software Engineering.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
Data Communication Networks Lec 13 and 14. Network Core- Packet Switching.
Introduction 1-1 1DT057 Distributed Information Systems Chapter 1 Introduction.
Networks DEVICES. Repeater device to amplify or regenerate digital signals received while setting them from one part of a network into another. Works.
2.2 Interfacing Computers MR JOSEPH TAN CHOO KEE TUESDAY 1330 TO 1530
Prepaid by: Guided by: ashwin goswami.
Chapter 2 PHYSICAL LAYER.
Point-to-Point Network Switching
Chapter 3 Switching.
Intro To Computer Networks
ECE 4450:427/527 - Computer Networks Spring 2017
Computer Science 457 Networking and the Internet
Network Core and QoS.
Data Communication Networks
Network Architecture for Cyberspace
Network Core and QoS.
Presentation transcript:

ENGS Lecture 7 ENGS 4 - Lecture 7 Technology of Cyberspace Winter 2004 Thayer School of Engineering Dartmouth College Instructor: George Cybenko, x Assistant: Sharon Cooper (“Shay”), x Course webpage:

ENGS Lecture 7 Today’s Class Wrap-up routing basics from Lecture 6 Sam’s’s mini-lecture Break State-based methods for “Predicting the Future”

ENGS Lecture 7 Circuit Switching Reserve a “circuit” and that “guarantees” services for each user Requires significant “setup time” Good for telephones, bad for web browsing!!!!

ENGS Lecture 7 Packet Switching Send “packets” into the network, routing each packet individually, like the post office. Packets are “routed” through the network, sorted at “switches”. Requires no setup time but no guarantee of service!! Bad for telephones, good for web browsing!!!!

ENGS Lecture 7 Circuit vs Packet Switching Call setup time – s seconds Bandwidth - b bits per second Packet routing overhead – p seconds per hop Message of B bits Distance between end points - d EG Circuit switching requires: s + B/b + d/c seconds EG Packet switching requires: B/b + p*h + d/c seconds Which is better depends on values of parameters!!!

ENGS Lecture 7 B=50,000 b=1,000,000 p=0.005 h=10 Circuit switching is better Packet switching is better

ENGS Lecture 7 IP Packets and routing IP is Internet Protocol (also Intellectual Property sometimes) IP addresses consist of four numbers between 0 and 255 How many possible IP addresses are there in total? What is IP address? Router Network 1 Network 2 A router can be a dedicated piece of hardware or a computer with several network interfaces. Cisco, 3Com, etc sell routers. ?

ENGS Lecture 7 Resolving internet addresses Your computer LAN DHCP Server DNS Server 1. Can I get an IP address, etc? 2. Here is a temporary address and other information. 3. What is the address of is Rest of the world Bridge or gateway or router or switch 5. Send packets to

ENGS Lecture 7

Time vs Frequency Division Multiple Access (TDMA vs FDMA) TDMA – Divide a communications resource or channel using time slots. Users take turns using the same resource by using it only in their allotted slots. FDMA – Divide a communications resource or channel using frequency division. Users simultaneously use the channel but at different frequencies. Space Division Multiple Access (Cellular phone) Code Division Multiple Access (Spread spectrum) Examples?

ENGS Lecture 7 Network routing Routing table in a router looks like..... PatternNext node on path *.*host *.*.*host host 3 defaulthost 4 Router

ENGS Lecture 7 Bellman-Ford Routing A E C D B F Computer/host Distance/cost/delay between hosts

ENGS Lecture 7 A E C D B F A 0 B 1 C * D 2 E * F * A 2 B * C 1 D 0 E 4 F * A 1 B 0 C 3 D * E * F * A * B 3 C 0 D 1 E * F 1 A * B * C 1 D * E 8 F 0 A * B * C * D 4 E 0 F 8 Initial table has distance to each host one hop away and * otherwise.

ENGS Lecture 7 A E C D B F A 0 0 B 1 1 C * 4 D 2 2 E * 6 F * * A 2 2 B * 3 C 1 1 D 0 0 E 4 4 F * 2 A 1 1 B 0 0 C 3 3 D * 3 E * * F * 4 A * 3 B 3 3 C 0 0 D 1 1 E * 5 F 1 1 A * * B * 4 C 1 1 D * 2 E 8 8 F 0 0 A * 6 B * * C * 5 D 4 4 E 0 0 F 8 8 newdistance to X = min( distance to neighbor + distance from neighbor to X) where min is over all neighbors

ENGS Lecture 7 A E C D B F A B C * 4 3 D E * 6 6 F * * 4 A B * 3 3 C D E F * 2 2 A B C D * 3 3 E * * 7 F * 4 4 A * 3 3 B C D E * 5 5 F A * * 4 B * 4 4 C D * 2 2 E F A * 6 6 B * * 7 C * 5 5 D E F Repeat it!!!

ENGS Lecture 7 A E C D B F A B C * D E * F * * 4 4 A B * C D E F * A B C D * E * * 7 7 F * A * B C D E * F A * * 4 4 B * C D * E F A * B * * 7 7 C * D E F Repeat it...stop when the table does not change.

ENGS Lecture 7 A E C D B F A A B B C * D D D E * D F * * 4 4 D A A B * A C C D D E E F * C A A B B C C D * A E * * 7 7 A F * C A * D B B C C D D E * D F F A * * 4 4 C B * C C C D * C E C F F A * D B * * 7 7 D C * D D D E E F D The min neighbor determines the paths

ENGS Lecture 7 A E C D B F A 0 A B 1 B C 3 D D 2 D E 6 D F 4 D A 2 A B 3 A C 1 C D 0 D E 4 E F 2 C A 1 A B 0 B C 3 C D 3 A E 7 A F 4 C A 3 D B 3 B C 0 C D 1 D E 5 D F 1 F A 4 C B 4 C C 1 C D 2 C E 6 C F 0 F A 6 D B 7 D C 5 D D 4 D E 0 E F 6 D Only need the total distances and the next neighbor

ENGS Lecture 7 A E C D B F A 0 A B 1 B C 3 D D 2 D E 6 D F 4 D A 2 A B 3 A C 1 C D 0 D E 4 E F 2 C A 1 A B 0 B C 3 C D 3 A E 7 A F 4 C A 3 D B 3 B C 0 C D 1 D E 5 D F 1 F A 4 C B 4 C C 1 C D 2 C E 6 C F 0 F A 6 D B 7 D C 5 D D 4 D E 0 E F 6 D Ooops...what if the network changes?? 2 Have enough information to keep updating the table until it stops changing

ENGS Lecture 7 Sam’s Mini-lecture

ENGS Lecture 7 Break

ENGS Lecture 7 “Predicting the Future” Newtonian revolution (late 1600’s) : F=ma Concept of “state” introduced The “state” of a system is all that is needed to predict it’s future states. Having additional information about the system’s past states does not help to predict it’s future. This defines the notion of “state”.

ENGS Lecture 7 Example A cannonball shot from a canon. Where will it fall? ??? position + momentum of the canonball is the “state”

ENGS Lecture 7 States transition rules for a cannonball Four state variables: horizontal position at time i: x(i) vertical position at time i: y(i) horizontal momentum at time i: xm(i) vertical momemtum at time i: ym(i) Update rules to go from time i-1 to time i x(i)=x(i-1)+dt*xm(i-1) if (y(i-1) > 0 ) y(i)=y(i-1)+dt*ym(i-1) xm(i)=xm(i-1) ym(i)=ym(i-1)-dt*g

ENGS Lecture 7 Matlab demo

ENGS Lecture 7 Game of Life Rules are very simple Rules describe how to go from one “state” to the next No simple mathematical theory for predicting what state will exist in the future….must simulate in general.

ENGS Lecture 7 State-based Prediction What are examples of state-based prediction? Weather - Astronomy Chemistry Biology Physics Medicine Others?