CS101 Lecture 19: Internetworking. What You ll Learn Today

Similar documents
The OSI and TCP/IP Models. Lesson 2

Transport and Network Layer

CS335 Sample Questions for Exam #2

Network layer: Overview. Network layer functions IP Routing and forwarding

Data Communication Networks and Converged Networks

Network Layers. CSC358 - Introduction to Computer Networks

Mobile IP Network Layer Lesson 02 TCP/IP Suite and IP Protocol

CPS221 Lecture: Layered Network Architecture

IP Network Layer. Datagram ID FLAG Fragment Offset. IP Datagrams. IP Addresses. IP Addresses. CSCE 515: Computer Network Programming TCP/IP

Final for ECE374 05/06/13 Solution!!

Internet Protocols. Addressing & Services. Updated:

Indian Institute of Technology Kharagpur. TCP/IP Part I. Prof Indranil Sengupta Computer Science and Engineering Indian Institute of Technology

Ethernet. Ethernet. Network Devices

Network-Oriented Software Development. Course: CSc4360/CSc6360 Instructor: Dr. Beyah Sessions: M-W, 3:00 4:40pm Lecture 2

EITF25 Internet Techniques and Applications L5: Wide Area Networks (WAN) Stefan Höst

Lecture 15. IP address space managed by Internet Assigned Numbers Authority (IANA)

Overview of Computer Networks

Internet Packets. Forwarding Datagrams

Note! The problem set consists of two parts: Part I: The problem specifications pages Part II: The answer pages

Note! The problem set consists of two parts: Part I: The problem specifications pages Part II: The answer pages

UPPER LAYER SWITCHING

Application. Transport. Network. Data Link. Physical. Network Layers. Goal

Slide 1 Introduction cnds@napier 1 Lecture 6 (Network Layer)

Overview of TCP/IP. TCP/IP and Internet

Basic Networking Concepts. 1. Introduction 2. Protocols 3. Protocol Layers 4. Network Interconnection/Internet

First Semester Examinations 2011/12 INTERNET PRINCIPLES

Internet Working 5 th lecture. Chair of Communication Systems Department of Applied Sciences University of Freiburg 2004

The internetworking solution of the Internet. Single networks. The Internet approach to internetworking. Protocol stacks in the Internet

IP address format: Dotted decimal notation:

Internet Control Protocols Reading: Chapter 3

architecture: what the pieces are and how they fit together names and addresses: what's your name and number?

Internetworking. Problem: There is more than one network (heterogeneity & scale)

Overview. Securing TCP/IP. Introduction to TCP/IP (cont d) Introduction to TCP/IP

Network Layer IPv4. Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS. School of Computing, UNF

Networking Test 4 Study Guide

Protocols. Packets. What's in an IP packet

Cisco IOS Flexible NetFlow Technology

Interconnection of Heterogeneous Networks. Internetworking. Service model. Addressing Address mapping Automatic host configuration

THE OSI REFERENCE MODEL LES M C LELLAN DEAN WHITTAKER SANDY WORKMAN

Lecture (02) Networking Model (TCP/IP) Networking Standard (OSI) (I)

Internetworking Microsoft TCP/IP on Microsoft Windows NT 4.0

Network Models OSI vs. TCP/IP

IP Networking. Overview. Networks Impact Daily Life. IP Networking - Part 1. How Networks Impact Daily Life. How Networks Impact Daily Life

BASIC ANALYSIS OF TCP/IP NETWORKS

Life of a Packet CS 640,

Layered Architectures and Applications

What communication protocols are used to discover Tesira servers on a network?

Internet Firewall CSIS Packet Filtering. Internet Firewall. Examples. Spring 2011 CSIS net15 1. Routers can implement packet filtering

IP Subnetting and Addressing

How do I get to

Communications and Networking

2. What is the maximum value of each octet in an IP address? A. 28 B. 255 C. 256 D. None of the above

First Workshop on Open Source and Internet Technology for Scientific Environment: with case studies from Environmental Monitoring

Chapter 3: Review of Important Networking Concepts. Magda El Zarki Dept. of CS UC Irvine

Technical Support Information Belkin internal use only

Lecture Computer Networks

Understanding TCP/IP. Introduction. What is an Architectural Model? APPENDIX

Computer Networks - CS132/EECS148 - Spring

Access Control: Firewalls (1)

Chapter 9. IP Secure

IP addressing and forwarding Network layer

Lab 2. CS-335a. Fall 2012 Computer Science Department. Manolis Surligas

LESSON Networking Fundamentals. Understand TCP/IP

Datagram-based network layer: forwarding; routing. Additional function of VCbased network layer: call setup.

Lecture 8. IP Fundamentals

TCP/IP Protocol Suite. Marshal Miller Chris Chase

RARP: Reverse Address Resolution Protocol

Using MIS 3e Chapter 6A Appendix

Unix System Administration

TCP/IP Network Essentials. Linux System Administration and IP Services

IP - The Internet Protocol

Objectives of Lecture. Network Architecture. Protocols. Contents

Chapter 3. TCP/IP Networks. 3.1 Internet Protocol version 4 (IPv4)

Network Security TCP/IP Refresher

Guide to TCP/IP, Third Edition. Chapter 3: Data Link and Network Layer TCP/IP Protocols

Application-layer protocols

8.2 The Internet Protocol

Efficient Addressing. Outline. Addressing Subnetting Supernetting CS 640 1

A host-based firewall can be used in addition to a network-based firewall to provide multiple layers of protection.

Names & Addresses. Names & Addresses. Hop-by-Hop Packet Forwarding. Longest-Prefix-Match Forwarding. Longest-Prefix-Match Forwarding

Communications and Computer Networks

How To Understand The Internet Of S (Netware)

TCP/IP Fundamentals. OSI Seven Layer Model & Seminar Outline

Mobile IP. Bheemarjuna Reddy Tamma IIT Hyderabad. Source: Slides of Charlie Perkins and Geert Heijenk on Mobile IP

Procedure: You can find the problem sheet on Drive D: of the lab PCs. 1. IP address for this host computer 2. Subnet mask 3. Default gateway address

Candidates should attempt FOUR questions. All questions carry 25 marks.

Internetworking and Internet-1. Global Addresses

Course Overview: Learn the essential skills needed to set up, configure, support, and troubleshoot your TCP/IP-based network.

PART OF THE PICTURE: The TCP/IP Communications Architecture

EINDHOVEN UNIVERSITY OF TECHNOLOGY Department of Mathematics and Computer Science

CS 457 Lecture 19 Global Internet - BGP. Fall 2011

Exam 1 Review Questions

First Midterm for ECE374 03/09/12 Solution!!

Internet Protocol: IP packet headers. vendredi 18 octobre 13

Outline. CSc 466/566. Computer Security. 18 : Network Security Introduction. Network Topology. Network Topology. Christian Collberg

Internetworking and IP Address

Dynamic Host Configuration Protocol (DHCP) 02 NAT and DHCP Tópicos Avançados de Redes

Transcription:

CS101 Lecture 19: Internetworking Internet Protocol IP Addresses Routing Domain Name Services Aaron Stevens (azs@bu.edu) 6 March 2013 What You ll Learn Today What is the Internet? What does Internet Protocol actually do? What is an IP address? How do packets get where they need to go? How is an Internet domain name related to an IP address? How do applications send messages through the Internet? 1

Network Protocols Protocol A set of rules that defines how data is formatted and processed on a network. Recall (from video): Bob Kahn/BBN had been developing many different packet switching networks in 1970s Each network had its own hardware, nodeaddressing scheme, and protocols (http:// en.wikipedia.org/wiki/packet_switched_network) Network Protocols Vint Cerf and Bob Khan created Internet Protocol, to connect different packet switching networks. "A Protocol for Packet Network Interconnection, published in 1974 Open System A system which is based on published standards for how protocols should work. Interoperability of hardware and software from different vendors 2

3/6/13 Analogy: Intermodal Transport What do these have in common? Internet Protocol Core ideas in Internet Protocol Each node has a logical IP address Application data separate from physical transport mechanism IP packets can travel across multiple networks Packet delivery is not guaranteed best effort 3

Network Addresses Each node on a network is identified by a unique address. Recall: Media Access Control (MAC) Address A hardware address permanently affixed to a Network Interface Card. Used by the router to deliver packets to hosts on the local network segment. IP Address A logical address, which uniquely identifies a computer on the Internet; expressed as four one-byte integers. Example: 128.197.26.35 Hostname A mnemonic for an IP address. Examples: www.bu.edu corresponds to 128.197.26.35 Network Addresses Examples: 128.197 is bu.edu network 74.125 is google.com network The IP Address is made up of 2 components: the Network Number and the Host Number. Example IP Address: 128.197.26.35 128.197 is the network number 128.197.26 is the sub network (subnet) 35 is the host number on the subnet. 4

Domain Name System Domain Name The part of a hostname that specifies a specific organization or group. Example: bu.edu Domain Name System (DNS) A distributed system for managing hostname resolution the process of converting a domain name to an IP address. Analogous to a phone book for Internet hosts. Routing Routing Routing directs the forwarding of IP packets from their source to their destination. Example by analogy: Suppose you re flying from Boston, MA to Portland, OR. How do you get there? 5

Example: BOS to PDX United Airlines Route map, source: http://www.united.com/page/article/0,6722,1020,00.html BOS to PDX: Possible Routes BOS to IAD to PDX (2 hops) BOS to DEN to PDX (2 hops) BOS to SFO to PDX (2 hops) BOS to ORD to PDX (2 hops) BOS to IAD to SFO to PDX (3 hops) BOS to IAD to DFW to DEN to PDX (4 hops) 6

BOS to PDX: Possible Routes Suppose you take the first flight to IAD, and then the flight from IAD to PDX was cancelled. Now what? IAD to PDX (cancelled) IAD to ORD to PDX (2 hops) IAD to DEN to PDX (2 hops) IAD to LAX to PDX (2 hops) IAD to DFW to DEN to PDX (3 hops) Airline Baggage Routing 7

IP Packet Header Each protocol encapsulates some user data (content) along with a packet header. The packet header contains information used for routing and sequencing. IP Packet Header The IP Packet Header is 20 bytes (160 bits) of data: The header specifies 13 fields, including: packet length source and destination IP addresses fragment sequence time to live (number of hops remaining). 8

Internet Protocol Layer Model A four-layer model of network interaction to facilitate communication standards. Each layer deals with a particular aspect of network communication. Network protocols are usually specific to one layer of this model. IP is a layer 2 protocol. Transport Layer Protocols Break messages into packets, hands them off to the IP software for delivery, and then orders and reassembles the packets at their destination. Transmission Control Protocol (TCP) A reliable transport protocol: TCP guarantees delivery of packets as well as data integrity. User Datagram Protocol (UDP) An unreliable transport protocol. UDP does not guarantee delivery of packets. 9

Application Layer Protocols The application layer creates data and communicates to other applications on the same or another host. Layering of key network protocols. This diagram shows internet (2), transport (3), and application (4) layers Application-Level Protocols Port A numeric designation that corresponds to a particular high-level protocol Some high-level protocols which rely upon Internet Protocol, and the ports they use. 10

What You Learned Today Internet Protocol Hostnames and IP Addresses Domain Name System Routing TCP/UDP Combine these ingredients to get the Internet (use only as directed; results may vary). Announcements and To Do List Readings this week: Reed ch 3, pp. 51-53 HW07 due WED 3/6 QUIZ 3 will be on Friday 3/8 HTML forms, CSS, frames, images, audio 11

Domain Name System DNS administrators makes changes manually It takes several hours for changes to propagate throughout the network. When DNS servers fail, users get a host not found type of error DNS update errors have caused large outages. DNS servers are prime targets of denial of service attacks. Domain Name System Domain Name Server Attempts to translate a hostname into an IP address. In practice, a hostname resolution might require queries to several DNS servers, each one with more detailed information than the previous one. Client programs such as web browsers send requests to a DNS Resolver (in the operating system), which communicates with the DNS servers. 12

DNS Query The DNS Resolver typically maintains a cache to prevent unnecessary queries to the DNS Servers. DNS cache entries have a time to live (TTL) metric which prevents stale information from being used. 13