CPSC156a: The Internet Co-Evolution of Technology and Society Lecture 3: September 11, 2003 Internet Basics, continued Acknowledgments: R. Wang and J.

Slides:



Advertisements
Similar presentations
TCP/IP MODEL Maninder Kaur
Advertisements

Computer Networks20-1 Chapter 20. Network Layer: Internet Protocol 20.1 Internetworking 20.2 IPv IPv6.
1 IP - The Internet Protocol Relates to Lab 2. A module on the Internet Protocol.
UNIT-IV Computer Network Network Layer. Network Layer Prepared by - ROHIT KOSHTA In the seven-layer OSI model of computer networking, the network layer.
IP Suite© Dr. Ayman Abdel-Hamid, CS4254 Spring CS4254 Computer Network Architecture and Programming Dr. Ayman A. Abdel-Hamid Computer Science Department.
1 Internet History, Architecture, and Routing ECON 425/563 & CPSC 455/555 9/25/2008 ECON 425/563 & CPSC 455/555 9/25/2008.
CS155b: E-Commerce Lecture 3: Jan 16, 2001 How Does the Internet Work? Acknowledgements: S. Bradner and R. Wang.
CS155b: E-Commerce Lecture 2: Jan. 16, 2003 How Does the Internet Work? Acknowledgements: S. Bradner and R. Wang.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-6961:Internet Protocols Quiz 1: Solutions Time: 60 min (strictly enforced) Points: 50 YOUR.
CSCI 4550/8556 Computer Networks Comer, Chapter 20: IP Datagrams and Datagram Forwarding.
Introduction To Networking
ITIS 6167/8167: Network and Information Security Weichao Wang.
CPSC156a: The Internet Co-Evolution of Technology and Society Lecture 4: September 16, 2003 Internet Layers and “the Web”
CPSC156: The Internet Co-Evolution of Technology and Society Lecture 2: January 18, 2007 Internet Basics, continued Acknowledgments: R. Wang and J. Rexford.
5/12/05CS118/Spring051 A Day in the Life of an HTTP Query 1.HTTP Brower application Socket interface 3.TCP 4.IP 5.Ethernet 2.DNS query 6.IP router 7.Running.
Prepared By E.Musa Alyaman1 Networking Theory Chapter 1.
CS155b: E-Commerce Lecture 3: Jan. 21, 2003 How Does the Internet Work? (continued) Acknowledgements: J. Rexford and V. Ramachandran.
TCP/IP Reference Model Host To Network Layer Transport Layer Application Layer Internet Layer.
IP-UDP-RTP Computer Networking (In Chap 3, 4, 7) 건국대학교 인터넷미디어공학부 임 창 훈.
Chapter Overview TCP/IP Protocols IP Addressing.
IST 228\Ch3\IP Addressing1 TCP/IP and DoD Model (TCP/IP Model)
Chapter 5: Networks, Internet & Ecommerce IT Auditing & Assurance, 2e, Hall & Singleton.
G64INC Introduction to Network Communications Ho Sooi Hock Internet Protocol.
TELE202 Lecture 9 Internet Protocols (1) 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »Congestion control »Source: chapter 12 ¥This Lecture »Internet.
The Network Layer. Network Projects Must utilize sockets programming –Client and Server –Any platform Please submit one page proposal Can work individually.
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
1 IP: putting it all together Part 2 G53ACC Chris Greenhalgh.
Huda AL_Omairl - Network 71 Protocols and Network Software.
TCP/IP Essentials A Lab-Based Approach Shivendra Panwar, Shiwen Mao Jeong-dong Ryoo, and Yihan Li Chapter 5 UDP and Its Applications.
Introduction to Networks CS587x Lecture 1 Department of Computer Science Iowa State University.
10/13/20151 TCP/IP Transmission Control Protocol Internet Protocol.
Fall 2005Computer Networks20-1 Chapter 20. Network Layer Protocols: ARP, IPv4, ICMPv4, IPv6, and ICMPv ARP 20.2 IP 20.3 ICMP 20.4 IPv6.
TCP/IP TCP/IP LAYERED PROTOCOL TCP/IP'S APPLICATION LAYER TRANSPORT LAYER NETWORK LAYER NETWORK ACCESS LAYER (DATA LINK LAYER)
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Network Fundamentals.
TCP/IP Transport and Application (Topic 6)
1 The Internet and Networked Multimedia. 2 Layering  Internet protocols are designed to work in layers, with each layer building on the facilities provided.
1 IP : Internet Protocol Computer Network System Sirak Kaewjamnong.
Review the key networking concepts –TCP/IP reference model –Ethernet –Switched Ethernet –IP, ARP –TCP –DNS.
Chapter 81 Internet Protocol (IP) Our greatest glory is not in never failing, but in rising up every time we fail. - Ralph Waldo Emerson.
Internet Protocol ECS 152B Ref: slides by J. Kurose and K. Ross.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
TCP/IP Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
1 CS 4396 Computer Networks Lab TCP/IP Networking An Example.
CSE 6590 Department of Computer Science & Engineering York University 111/9/ :26 AM.
1 Chapter 8 – TCP/IP Fundamentals TCP/IP Protocols IP Addressing.
CS 4396 Computer Networks Lab
Chapter 3: Transport Layer Our goals: r understand principles behind transport layer services: m multiplexing/demultipl exing m reliable data transfer.
1 OSI and TCP/IP Models. 2 TCP/IP Encapsulation (Packet) (Frame)
1 Computer Communication & Networks Lecture 19 Network Layer: IP and Address Mapping Waleed Ejaz.
IT 210: Web-based IT Fall 2012 Lecture: Network Basics, OSI, & Internet Architecture.
1 Internetworking: IP Packet Switching Reading: (except Implementation; pp )
Data Communications and Networks Chapter 6 – IP, UDP and TCP ICT-BVF8.1- Data Communications and Network Trainer: Dr. Abbes Sebihi.
COMPUTER NETWORKS Hwajung Lee. Image Source:
1 COMP 431 Internet Services & Protocols The IP Internet Protocol Jasleen Kaur April 21, 2016.
Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Packet Switch Network Server client IP Ether IPTCPData.
2: Transport Layer 11 Transport Layer 1. 2: Transport Layer 12 Part 2: Transport Layer Chapter goals: r understand principles behind transport layer services:
Lecture 13 IP V4 & IP V6. Figure Protocols at network layer.
Introduction to TCP/IP networking
CS 457 – Lecture 10 Internetworking and IP
IP - The Internet Protocol
IP - The Internet Protocol
IP - The Internet Protocol
Introduction to Networks
OSI Reference Model Unit II
ITIS 6167/8167: Network and Information Security
IP - The Internet Protocol
OSI Model 7 Layers 7. Application Layer 6. Presentation Layer
Review of Internet Protocols Network Layer
Presentation transcript:

CPSC156a: The Internet Co-Evolution of Technology and Society Lecture 3: September 11, 2003 Internet Basics, continued Acknowledgments: R. Wang and J. Rexford

Directly Connected Machines (a) Point-to-point: e.g., ATM (b) Multiple-access: e.g., Ethernet Can’t build a network by requiring all nodes to be directly connected to each other; need scalability with respect to the number of wires or the number of nodes that can attach to a shared medium (a) (b)

Switched Network Circuit switching vs. packet routing Hosts vs. “the network,” which is made of routers Nice property: scalable aggregate throughput routers hosts

Interconnection of Networks Recursively build larger networks gateway hosts

Some Hard Questions How do hosts share links? How do you name and address hosts? Routing: Given a destination address, how do you get to it? gateway hosts

IP Addresses and Host Names Each machine is addressed by an integer, its IP address, written down in a “dot notation” for “ease” of reading, such as IP addresses are the universal IDs that are used to name everything. For convenience, each host also has a human-friendly host name. For example, is concave.cs.yale.edu. Question: How do you translate names into IP addresses?

Domain Hierarchy Initially, name-to-address mapping was a flat file mailed out to all the machines on the Internet. Now, we have a hierarchical name space, just like a UNIX file-system tree. Top-level names (historical influence): heavily US-centric, government- centric, and military-centric view of the world educomgovmilorgnetukfr Yale MIT Cisco... Yahoo Math CS Physics concave cyndra netra

DNS Zones and Name Servers Divide up the name hierarchy into zones. Each zone corresponds to one or more name servers under the same administrative control. educomgovmilorgnetukfr Yale MIT Cisco... Yahoo Math CS Physics concave cyndra netra

Hierarchy of Name Servers Clients send queries to name servers. Name servers reply with answers or forward requests to other name servers. Most name servers perform “lookup caching.” Root name server Yale name server CS name serverEE name server Cisco name server...

Application-Level Abstraction What you have: hop-to-hop links, multiple routes, packets, can be potentially lost, can be potentially delivered out-of-order What you may want: application-to-application (end-to-end) channel, communication stream, reliable, in-order delivery host application host application

Basic Architectural Principle: Layering Internet Protocol Transmission Control Protocol User Datagram Protocol Telnet HTTP (Web) SONETATM Ethernet Simple Network Management Domain Name Service

The Physical Layer A network spans different hardware. Physical components can work however they want, as long as the interface between them is consistent. Then, different hardware can be connected. dial-in access Ethernet cable server Ethernet switch

Internet Protocol (IP): gives a standard way to “package” messages across different hardware types. The Role of the IP Layer modem access point PPP hub server 10BaseT Ethernet … … FDDI 100BaseT Ethernet router 1. Message is put in IP packet. 2. Dial-up hardware gets packet to router (however it wants, but intact). 3. Routers look at destination, decide where to send it next. 4. Packet gets to destination network. 5. Original message extracted from packet.

IP Connectionless Paradigm No error detection or correction for packet data –Higher-level protocol can provide error checking Successive packets may not follow the same path –Not a problem as long as packets reach the destination Packets can be delivered out-of-order –Receiver can put packets back in order (if necessary) Packets may be lost or arbitrarily delayed –Sender can send the packets again (if desired) No network congestion control (beyond “drop”) –Send can slow down in response to loss or delay

IP Packet Structure 4-bit Version 4-bit Header Length 8-bit Type of Service (TOS) 16-bit Total Length (Bytes) 16-bit Identification 3-bit Flags 13-bit Fragment Offset 8-bit Time to Live (TTL) 8-bit Protocol 16-bit Header Checksum 32-bit Source IP Address 32-bit Destination IP Address Options (if any) Payload 20-byte Header

Main IP Header Fields Version number (e.g., version 4, version 6) Header length (number of 4-byte words) Header checksum (error check on header) Source and destination IP addresses Upper-level protocol (e.g., TCP, UDP) Length in bytes (up to 65,535 bytes) IP options (security, routing, timestamping, etc.) TTL (prevents messages from looping around forever; packets “die” if they “get lost”)

Getting from A to B: Summary Need IP addresses for: Self (to use as source address) DNS Server (to map names to addresses) Default router to reach other hosts (e.g., gateway) Use DNS to get destination address Pass message through TCP/IP handler Send it off! Routers will do the work: Physically connecting different networks Deciding where to next send packets

Internet Architecture ISP 1 ISP 2 ISP 3 NAP commercial customer access router gateway router dial-in access destination interdomain protocols intradomain protocols private peering

Discussion Point Dial-up, intermittent access –Low-bandwidth, slow –Dynamic IP addressing more private? Cable, always-on access –High-bandwidth, fast –Static IP addressing less private? Other examples of similar tradeoffs?