Networking November 8, 2001. Administrivia Homework 5 is due on Tuesday Homework 6 will be due next Tuesday If you need help, are concerned about midterm.

Slides:



Advertisements
Similar presentations
Internet and WWW CS216. Open System Interconnection (OSI)
Advertisements

Packet Analyzers, a Threat to Network Security. Agenda Introduction The background of packet analyzers LAN technologies & network protocols Communication.
Network Layer and Transport Layer.
Internet and the web Summary of terms discusses and review.
Administrivia From Thu Nov 8 12:05: Date: Thu, 8 Nov :04: (EST) From: no goodies.
Linux+ Guide to Linux Certification, Second Edition Chapter 14 Network Configuration.
The Internet and the World Wide Web. Una DooneyThe Internet and WWWSlide 2 What is the Internet? A collection of networks (LANS and WANS) around the world.
Bob Baker Communications Bob Baker September 1999.
Data Networking Fundamentals Unit 7 7/2/ Modified by: Brierley.
Chapter 15 Networks.
1 Networking A computer network is a collection of computing devices that are connected in various ways in order to communicate and share resources. The.
15-1 Networking Computer network A collection of computing devices that are connected in various ways in order to communicate and share resources Usually,
Inside of a computer… What happens when you turn your computer on? What loads? Where are applications stored? How are do they run? In what form is information.
Chapter Overview TCP/IP Protocols IP Addressing.
1.  A protocol is a set of rules that governs the communications between computers on a network.  Functions of protocols:  Addressing  Data Packet.
IST 228\Ch3\IP Addressing1 TCP/IP and DoD Model (TCP/IP Model)
CLIENT A client is an application or system that accesses a service made available by a server. applicationserver.
15-1 More Chapter 15 Goals Compare and contrast various technologies for home Internet connections Explain packet switching Describe the basic roles of.
Chapter 15 Networks. Chapter Goals Types of networks Topologies Open Systems Home Internet connections 15-2.
Overview, Circuit & Packet Switching, Addressing
Module 4 - Networking MIS5122: Enterprise Architecture for the IT Auditor.
Introduction to Networks. Objectives The purpose and uses of networks The Key components of a computer network The Different types of network and the.
Laudon & Laudon: Canadian Edition
CHAPTER 2 PCs on the Internet Suraya Alias. The TCP/IP Suite of Protocols Internet applications – client/server applications The client requested data.
Networking Computer network A collection of computing devices that are connected in various ways in order to communicate and share resources Usually,
Review: – computer networks – topology: pair-wise connection, point-to-point networks and broadcast networks – switching techniques packet switching and.
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
Lesson 2 — The Internet and the World Wide Web
2013Dr. Ali Rodan 1 Handout 1 Fundamentals of the Internet.
Introduction to Networking. Key Terms packet  envelope of data sent between computers server  provides services to the network client  requests actions.
Common Devices Used In Computer Networks
How Web Servers and the Internet Work by by: Marshall Brainby: Marshall Brain
Remote Access Chapter 4. Learning Objectives Understand implications of IEEE 802.1x and how it is used Understand VPN technology and its uses for securing.
Copyright © 2002 Pearson Education, Inc. Slide 3-1 CHAPTER 3 Created by, David Zolzer, Northwestern State University—Louisiana The Internet and World Wide.
Networks – Network Architecture Network architecture is specification of design principles (including data formats and procedures) for creating a network.
Networks QUME 185 Introduction to Computer Applications.
© McLean HIGHER COMPUTER NETWORKING Lesson 1 – Protocols and OSI What is a network protocol Description of the OSI model.
CIS 1310 – HTML & CSS 1 Introduction to the Internet.
15-1 Networking Computer network A collection of computing devices that are connected in various ways in order to communicate and share resources.
Chapter 15 Networks. 2 Chapter Goals Describe the core issues related to computer networks List various types of networks and their characteristics Explain.
MySQL and PHP Internet and WWW. Computer Basics A Single Computer.
Information Flow Across the Internet. What is the Internet? A large group of computers that link together to form the Worldwide Area Network (WAN)
Application Layer Khondaker Abdullah-Al-Mamun Lecturer, CSE Instructor, CNAP AUST.
Chapter 1 Communication Networks and Services Network Architecture and Services.
Network Protocols n ISO OSI 7-layer model n TCP/IP suite l TCP/UDP l IP l Ethernet/Token Ring l ICMP.
1 Chapter 8 – TCP/IP Fundamentals TCP/IP Protocols IP Addressing.
TCP/IP (Transmission Control Protocol / Internet Protocol)
NETWORKING FUNDAMENTALS. Network+ Guide to Networks, 4e2.
Networking Material taken mainly from HowStuffWorks.com.
Internet Essentials. The History of the Internet The Internet started when the Advanced Research Projects Agency (ARPA) of the United States Defense Department.
1. Layered Architecture of Communication Networks: TCP/IP Model
Internet Basics. The Internet: Then and Now The Internet was created by the Advanced Research Projects Agency (ARPA) and the U.S. Department of Defense.
15-1 Networking Computer network A collection of computing devices that are connected in various ways in order to communicate and share resources Usually,
Internet.
NETWORK Unit 1 Module: 2 Objective: 7.
Data Networking Fundamentals
Inside of a computer… What happens when you turn your computer on? What loads? Where are applications stored? How are do they run? In what form is information.
15-1 Networking Computer network A collection of computing devices that are connected in various ways in order to communicate and share resources Usually,
Packet Sniffing.
Topic 5: Communication and the Internet
POWERPOINT PRESENTATION ON NETWORKING Presented by Ms
Chapter Goals Compare and contrast various technologies for home Internet connections Explain packet switching Describe the basic roles of various network.
Inside of a computer… What happens when you turn your computer on? What loads? Where are applications stored? How are do they run? In what form is information.
NETWORK Unit 1 Module: 2 Objective: 7.
NETWORK Unit 1 Module: 2 Objective: 7.
Networking Computer network A collection of computing devices that are connected in various ways in order to communicate and share resources Usually,
Networking Computer network A collection of computing devices that are connected in various ways in order to communicate and share resources Usually,
Networking Computer network A collection of computing devices that are connected in various ways in order to communicate and share resources Usually,
Networking Computer network A collection of computing devices that are connected in various ways in order to communicate and share resources Usually,
COMPUTER NETWORKING Presented by Pushpanjali Associate professor
Presentation transcript:

Networking November 8, 2001

Administrivia Homework 5 is due on Tuesday Homework 6 will be due next Tuesday If you need help, are concerned about midterm grade, want to chat, … –Talk to TA’s –Talk to me –To set up time, Send Talk to me after class

Where we are We built a computer We built an operating system to control our computer Next, let’s connect our computer to a bigger network Why??

Where we are We built a computer We built an operating system to control our computer Next, let’s connect our computer to a bigger network Why?? – –Chat –Web –Shared Files –Shared CPUs

Communications methods –I send something to your server –You get it from your server Chat –We both send messages to a server at the same time Web –I interact with something you put on the server Shared Files –I use things that are on your disk Shared CPUs –I run a program on your CPU

The network(s) There is a local network where –I connect to my server –I connect to other machines in my local network There is a larger network where –I connect to your server –I connect to your machine

Your local network Princeton.edu You use a machine in princeton.edu –Machine has a name and a number princeton.edu ( ) cs.princeton.edu ( ) voronoi.cs.princeton.edu ( ) Princeton.edu is You mount files from another machine as your F: drive (UNIX account)

Moving beyond your local network The mailer on your machine is set up to be a client of the Princeton mail server –mail.princeton.edu If you send mail to –The server keeps the mail for the cs111 account If you send mail to –The server sends the mail to the Princeton-cs mail server mail.cs.princeton.edu ( ) –That server keeps the mail for its cs111 account

Communications between servers A server has ports for other machines –Port 25 is outgoing mail server –Port 993 is incoming mail server –Port 80 is http server –… Protocols define how communications work –E.g. http: HyperText Transfer Protocol

Sidebar - What can be broadcast The Friend Center Times Square Baby Kimberly Many Earthcams

Networks – Some buzzwords WANs vs LANs –My Local Area Network (the Local Ethernet) –The Wide Area Network (Internet) Protocols –TCP/IP –SLIP/PPP Routers Firewalls

Simple task – to your uncle Use my modem to connect to my Internet Service Provider (ISP) My ISP decides whether the is in its local area network (LAN) or in the wide area network (WAN) – the internet Handoff (possibly via internet) to his ISP His ISP delivers mail to him

Courtesy of

Communication pieces Modem (Modulator DeModulator) –Converts digital to analog for transfer over phone lines –Speed measured in baud (bits/second) 57.6Kb (might compress) –Communication via X.25 protocol –Allows for PPP/SLIP connection to network Ethernet (for Local Area Network (LAN)) –Uses coaxial cable –Speed measured in Mb (million bits/second), 10/100 Mb common –Everyone on same wire, need backoff strategy for collision Repeater –Enhances signals

Communication pieces (cont.) Wide Area Network (WAN) –Network that is broader than local –Will include many LAN’s Router –Does traffic control between networks Token ring –Other communication network –First get permission, then send information

Communication pieces (cont.) Gateway –Specialized router that does conversion –Functionally similar to modem (w/ routing) Firewall –Establish control policies –Filters packets going in/out

Getting to my uncle traceroute to yahoo.com ( ), 30 hops max, 38 byte packets 1 aegis ( ) ms ms ms 2 csgate.CS.Princeton.EDU ( ) ms ms ms 3 vgate1.Princeton.EDU ( ) ms ms ms 4 tcggate.Princeton.EDU ( ) ms ms ms ( ) ms ms ms 6 gbr1-p50.phlpa.ip.att.net ( ) ms ms ms 7 gbr4-p20.n54ny.ip.att.net ( ) ms ms ms 8 ggr1-p370.n54ny.ip.att.net ( ) ms ms ms 9 pos1-1.core2.NewYork1.Level3.net ( ) ms ms ms 10 ae0-51.mp1.NewYork1.Level3.net ( ) ms ms ms 11 so mp2.SanJose1.Level3.net ( ) ms ms ms 12 gigabitethernet10-2.ipcolo4.SanJose1.Level3.net ( ) ms ms ms 13 * * * 14 ge msr1.pao.yahoo.com ( ) ms ms ms 15 vlan29.bas2-m.snv.yahoo.com ( ) ms ms ms 16 img5.yahoo.com ( ) ms ms ms

Getting to my uncle – leaving PU traceroute to yahoo.com ( ), 30 hops max, 40 byte packets 1 aegis ( ) ms ms ms 2 csgate.CS.Princeton.EDU ( ) ms ms ms 3 vgate1.Princeton.EDU ( ) ms ms ms 4 tcggate.Princeton.EDU ( ) ms ms ms

Getting to my uncle – in my ISP ( ) ms ms ms 6 gbr1-p50.phlpa.ip.att.net ( ) ms ms ms 7 gbr4-p20.n54ny.ip.att.net ( ) ms ms ms 8 ggr1-p370.n54ny.ip.att.net ( ) ms ms ms Signal leaves Princeton, goes to Philadelphia and then to New York

After the handoff 9pos1-1.core2.NewYork1.Level3.net ( ) ms ms ms 10ae0-51.mp1.NewYork1.Level3.net ( ) ms ms ms 11so mp2.SanJose1.Level3.net ( ) ms ms ms 12gigabitethernet10-2.ipcolo4.SanJose1.Level3.net ( ) ms ms ms Signal crosses the country in his ISP

Sidebar on speed It takes us –6.762 ms to get to New York (this is seconds) – ms to get to San Jose Takes ms to get from New York to San Jose Distance from New York to San Jose is 2558 miles Light needs seconds to travel that distance Our signal goes there and back –1 way takes seconds System is running at about 30% of its ultimate limit

What do the numbers mean IP (Internet Protocol) numbers –a.b.c.d where each of a,b,c,d is a byte (number 0-255) Unique identifiers May correspond to names. –Numbers more accurate Can build subnets by fixing upper bytes –In the address is the host's subnet identifier 91 is the host's number on that subnet

Levels of the internet 1. Physical 2. Data Link 3. Network 4. Transport 5. Session 6. Presentation 7. Application

Levels of the internet 1. Physical Basic hardware components for networks. Wire from modem to machine, …. 2. Data Link Format of frames (how data is to be put together) e.g. bit/byte stuffing, checksum 3. Network Address assignment, Packet's forwarding methods ARP (Address Resolution Protocol) used to map an IP address into a hardware address. 4. Transport TCP (Transmission Control Protocol) protocol for the transfer of packets of data to a remote computer. Packets are guaranteed to arrive and in the correct order.

Levels of the internet 5. Session Establishing a communication session, Security, Authentication i.e. passwords 6. Presentation Computers represent data in different ways (char, integer) thus the protocol need to translate the data to and from the local node. 7. Application Specifications for applications using the network, how to send a request, how to specify a filename over the net, how to respond to a request etc..

TCP/IP

Other protocols FTP File Transfer Protocol –FTP enables transferring of text and binary files over TCP connection. Telnet –Telnet is a terminal emulation protocol for use over a TCP connection. It enables users to login to remote hosts SMTP Simple Mail Transfer Protocol - –This protocol is dedicated for sending messages over a TCP connection. HTTP Hyper Text Transport Protocol - –A protocol used to transfer hypertext pages across the world wide web. SNMP Simple Network Management Protocol - –A simple protocol that defines messages related to network management. SNMP allows network devices (e.g. routers) to be configured by any host on the LAN.

SMTP This protocol is dedicated for sending messages over a TCP connection. SMTP defines a set of rules which allows two programs to send and receive mail over the network. The protocol defines the data structure that would be delivered with information regarding the sender, the recipient (or several recipients) and, of course, the mail's body. SMTP lets us specify –Sender –Recipient –Message body

Demo SMTP We can telnet to the mail machine at princeton and send a message Don’t do this at home!!

Why should the internet not work Disorganized –Very heterogeneous –Large dose of anarchy –Grew quickly, continues to grow quickly

Why the internet works TCP/IP Other protocols –http –Smtp Lots of means of testing and seeing the network –Traceroute (on UNIX) (tracert on windows) –ping – (whois command) – (who sees who) o.xml (step by step) o.xml

When things go wrong Code-red virus –On July 19, 2001 more than 359,000 computers were infected with the Code-Red (CRv2) worm in less than 14 hours. At the peak of the infection frenzy, more than 2,000 new hosts were infected each minute. 43% of all infected hosts were in the United States, while 11% originated in Korea followed by 5% in China and 4% in Taiwan. The.NET Top Level Domain (TLD) accounted for 19% of all compromised machines, followed by.COM with 14% and.EDU with 2%. We also observed 136 (0.04%).MIL and 213 (0.05%).GOV hosts infected by the worm. –VisualizationVisualization

The Internet Where did it come from How has it grown Who owns the internet

Internet, as we know it 1960’sDoD built ARPANET –Experimental network –Would function even in event of nuclear war 1985 NSF created NSFNET –Based on ARPRANET –National backbone service –Free to educational and research institutions –Corporations (eg Sprint, MCI) built networks Networks linked to NSFNET

Internet, as we know it (cont.) 1993 InterNIC created by NSF –directory and database services (AT&T) –registration services (Network Solutions Inc.) –information services (General Atomics/CERFnet) 1989 http created by Tim Berners-Lee –Released to high energy physicists in 1991 –Mosaic in 1993 –Netscape in 1994

Internet – key events 1961 Kleinrock –packet-switching theory 1966 Roberts –Plan for ARPANET 1969 –First ARPANET With much help from Hobbes' Internet Timeline Copyright (c) by Robert H Zakon.

First packets sent by Charley Kline at UCLA as he tried logging into SRI. The first attempt resulted in the system crashing as the letter G of LOGIN was entered. (October 29)

Internet – key events (cont.) 1973 –Ethernet invented – is 75% of ARPANET traffic 1974 –TCP designed 1978 –TCP split into TCP and IP 1980 –First virus

Internet – key events (cont.) 1983 –First nameserver –Cut over to TCP/IP 1984 –DNS (Domain Name System) introduced.com,.edu, … –Number of hosts above –CERT (Computer Emergency Response Team) formed in response to Morris worm

Internet – key events (cont.) 1989 –Number of hosts above 100, –ARPANET ceases to exist 1993 –Mosaic; WWW proliferates at a 341,634% annual growth rate of service traffic 1994 –25 th anniversary of ARPANET

Growth in number of hosts

Growth in number of domains

Growth in number of networks

WWW Growth

Who owns the internet? Central organizations –InterNIC and its successors (for names) –ISP’s for transportation The networking community –Setting and following standards IETF ( Internet Engineering Task Force) W3C (World Wide Web Consortium) –Network managers

Who owns the internet? (cont.) We all do –Information wants to be free –A lot of good social behavior is required

What happens next? Various scenarios… –Which one do you believe?

Networking (conclusion) At the bottom –Hardware generating packets –Protocols for packet transmission –Collision, backoff, … In the middle –TCP/IP is the key idea At the top –Some nice tools Ping, traceroute, … are useful –Ports on my machine for http, ftp, fingerd, ping, …

A few questions What does it mean to be connected to the internet? –How is the web different from the internet? What about security? –Child security in chatroom –Would/should you give a credit card number What’s next?