Computer Network Addressing. The TCP/IP Layers and Addresses. Topics. The Internet Communication. The TCP/IP Layers and Addresses IP Address

Similar documents
Hostname and IP Address

Outline. IP Address. IP Address. The Internet Protocol. o Hostname & IP Address. o The Address

TCP/IP and the OSI Model

The Internet Protocol (IP)

TCP/IP Protocol Suite and IP Addressing

IP: Addressing, ARP, Routing

Introduction to Internetworking

Copyleft 2005, Binnur Kurt. Objectives

TSIN02 - Internetworking

Network Access Layer Internet Layer Transport Layer Application Layer. Presentation. Transport. Physical

TCP/IP Networking. Training Details. About Training. About Training. What You'll Learn. Training Time : 9 Hours. Capacity : 12

Review of Important Networking Concepts

Lecture (03) Internet Protocol tcp/ip> OSI>

IP Addressing and Subnetting

06/02/ Local & Metropolitan Area Networks 0. INTRODUCTION. 1. History and Future of TCP/IP ACOE322

Interconnecting Networks with TCP/IP

McGraw-Hill The McGraw-Hill Companies, Inc., 2000

Lecture 1: Introduction

Network Layer/IP Protocols

Interconnecting Cisco Networking Devices Part1 ( ICND1) Exam.

SEN366 (SEN374) (Introduction to) Computer Networks

Hands-On TCP/IP Networking

IP Basics Unix/IP Preparation Course June 29, 2010 Pago Pago, American Samoa

Network+ Guide to Networks 5 th Edition. Chapter 4 Introduction to TCP/IP Protocols

TCP/IP Fundamentals. Introduction. Practice Practice : Name. Date Period

Communicating over the Network

ECPE / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

IT220 Network Standards & Protocols. Unit 8: Chapter 8 The Internet Protocol (IP)

IP Protocols. ALTTC/Oct

SC/CSE 3213 Winter Sebastian Magierowski York University CSE 3213, W13 L8: TCP/IP. Outline. Forwarding over network and data link layers

01/17/08 TDC /17/08 TDC363-03

CPEG514 Advanced Computer Networks. Atef Abu Salim University of Nizwa Spring 2013/2014

Module 9: TCP/IP Protocol Suite and IP Addressing

Chapter 2 Network Models 2.1

Cisco Interconnecting Cisco Networking Devices Part 1.

Lesson 5 TCP/IP suite, TCP and UDP Protocols. Chapter-4 L05: "Internet of Things ", Raj Kamal, Publs.: McGraw-Hill Education

Introduction to internetworking, OSI, TCP/IP and Addressing.

TCP/IP THE TCP/IP ARCHITECTURE

Layer 4: UDP, TCP, and others. based on Chapter 9 of CompTIA Network+ Exam Guide, 4th ed., Mike Meyers

Hands-On IP for TeleCom Technicians Internetworking, TCP/IP, VLANS, Wirelss and more...

Chapter 2 Communicating Over the Network

Networking for Data Acquisition Systems. Fabrice Le Goff - 14/02/ ISOTDAQ

Define TCP/IP and describe its advantages on Windows Describe how the TCP/IP protocol suite maps to a four-layer model

TCP/IP Networking Basics

SIR C.R.REDDY COLLEGE OF ENGINEERING, ELURU DEPARTMENT OF INFORMATION TECHNOLOGY LESSON PLAN

ITEC 3800 Data Communication and Network. Introducing Networks

DHCP Basics (Dynamic Host Configuration Protocol) BUPT/QMUL

Defining Networks with the OSI Model. Module 2

Identify the features of network and client operating systems (Windows, NetWare, Linux, Mac OS)

What is a Network? TCP / IP. The ISO OSI Model. Protocols. The TCP/IP Protocol Suite. The TCP/IP Protocol Suite. Computer network.

Data Communication and Network. Introducing Networks

Network Model. Why a Layered Model? All People Seem To Need Data Processing

Internet Protocols (chapter 18)

ARP, IP. Chong-Kwon Kim. Each station (or network interface) should be uniquely identified Use 6 byte long address

Networking Fundamentals

IP - The Internet Protocol

ITEC 3210 M - Applied Data Communications and Networks. Professor: Younes Benslimane, Ph.D.

Chapter 2 Network Models 2.1

Lab 5.6.2: Challenge RIP Configuration

Business Data Communications and Networking

Chapter 2 Review Questions

Data Communication Prof. A. Pal Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur Lecture 34 TCP/ IP I

6 Chapter 6. Figure 1 Required Unique Addresses

Chapter 2. Communicating Over The Network. CCNA1-1 Chapter 2

TCP/IP Overview. Basic Networking Concepts. 09/14/11 Basic TCP/IP Networking 1

Computer Networks. More on Standards & Protocols Quality of Service. Week 10. College of Information Science and Engineering Ritsumeikan University

Chapter 2 - Part 1. The TCP/IP Protocol: The Language of the Internet

Internet Protocol (IP)

The Internet Protocol. IP Addresses Address Resolution Protocol: IP datagram format and forwarding: IP fragmentation and reassembly

TCP /IP Fundamentals Mr. Cantu

Vorlesung Kommunikationsnetze

The Interconnection Structure of. The Internet. EECC694 - Shaaban

OSI Data Link & Network Layer

RMIT University. Data Communication and Net-Centric Computing COSC 1111/2061. Lecture 2. Internetworking IPv4, IPv6

Network+ Guide to Networks 6 th Edition. Chapter 4 Introduction to TCP/IP Protocols

Agenda L2 versus L3 Switching IP Protocol, IP Addressing IP Forwarding ARP and ICMP IP Routing First Hop Redundancy

Interconnecting Networks with TCP/IP. 2000, Cisco Systems, Inc. 8-1

Internet. Organization Addresses TCP/IP Protocol stack Forwarding. 1. Use of a globally unique address space based on Internet Addresses

Chapter 7. Local Area Network Communications Protocols

Chapter 3 Review Questions

Introduction to routing in the Internet

On Distributed Communications, Rand Report RM-3420-PR, Paul Baran, August 1964

OSI Data Link & Network Layer

ECPE / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

Lecture-4. TCP/IP-Overview:

IP - The Internet Protocol. Based on the slides of Dr. Jorg Liebeherr, University of Virginia

Computer Networks Fundamental.

CC231 Introduction to Networks Dr. Ayman A. Abdel-Hamid. Internet Protocol Suite

TSIN02 - Internetworking

Networks. an overview. dr. C. P. J. Koymans. Informatics Institute University of Amsterdam. February 4, 2008

LOGICAL ADDRESSING. Faisal Karim Shaikh.

I. More ARP Week 7. after resolving a hardware address, why not store it?

How the Internet Works

Fundamentals of Networking. OSI & TCP/IP Model. Kuldeep Sonar 1

Network Protocols - Revision

Unit C - Network Addressing Objectives Purpose of an IP Address and Subnet Mask Purpose of an IP Address and Subnet Mask

Enterprise Data Communication Products. Feature Description - IP Service. Issue 05 Date HUAWEI TECHNOLOGIES CO., LTD.

ECE4110 Internetwork Programming. Introduction and Overview

Address Management in IP Networks

Transcription:

Topics Computer Addressing The / Layers and Addresses Computer and Data Communication Laboratory I 2 The Internet Communication The / Layers and Addresses 4

Protocol Layers / Protocol Stack OSI and / SMTP FTP HTTP DNS SNMP BOOTP UDP IGMP ICMP ARP RARP Data Data Link Link Underlying LAN / WAN Ethernet MAC Technology 5 6 Layers Communication Each layer communicate with the same layer from host to host The layer didn t know how the lower layer communicate / communication communication Port / : Socket Process Process Process PORT Data link MAC Data link Process 7 8

Protocol Data Unit Layer s PDU Protocol encapsulates data to PDU PDU = Protocol Information + Data s Message Protocol Information usually called header PDU size must shorter than protocol s MTU (Maximum Transfer Unit) UDP Segment Segment header Protocol Information Data Packet Packet Packet Packet Protocol destination address Protocol source address Data Data Link Link Ethernet MAC Frame Frame Frame Frame Frame Frame Frame Frame Others protocol information 9 10 Segmentation Addressing Layer s address Every PDU labeled with protocol address & protocol information Segmentation must add higher layer address in each segment s UDP PORT Layer 1 L1,Des. L1,Src. Data socket Layer 2 L2,Des. L2,Des. L2,Src. L2,Src. L1,Des. L1,Des. L1,Src. L1,Src. Segment 1 Data Segment 2 Data Data Data Link Link Ethernet MAC MAC Address 11 12

Layer s header Communication s Message communicate with its message To communicate application only know which application to send to and receive from UDP Segment Packet App. App. Data Data Link Link Ethernet MAC MAC Frame 13 14 Communication communicate with its segment and use as communication address To communicate trans layer only know which to send to and receive from Communication communicate with its packet and use as communication address To communicate trans layer only know which to send to and receive from 15 16

Internet Protocol Communication Layer and Connection Internet Protocol work on network layer Use address to communicate through network address group to network Each network connected by Router switch/hub LAN / L2 Router / L3 Internet Router / L3 10.40.60.21 10.40.60.22 10.20.20.2 10.20.20.4 Router switch/hub LAN / L2 Router / L3 10.20.30.21 10.20.30.22 17 LAN Ethernet / MAC LAN Fiber WAN Lease Line / Frame relay switch/hub LAN / L2 18 End host sending Router sending Use destination to send data to Host check destination even is in the same network Same network send data to host directly Not in the same network send data to router Router connected more than one network When receive destination, it find out which network that s the way to send out to reach it s destination Router use the Routing Information routing table to forward network network Internet forward network network 19 20

Hostname & ping www.nu.ac.th Who is www.nu.ac.th? 10.20.20.30 ping 10.20.20.30 DNS www.nu.ac.th 10.20.20.30 Each node has it s unique name and address DNS service mapping to name and name to Host use to create packet as the destination address 22 The Address Router s Address 32 bits 00001010 00010100 00010100 00011110 8 bits 8 bits 8 bits 8 bits 10.20.20.30 Write in 8 bit-decimal block Dot-Decimal notation 32 bits unique address any interface has it s own unique address Dot-Decimal notation is easily to read and write. 10.40.60.21 10.40.60.22 10.40.60.1 10.20.20.2 10.20.20.4 10.20.20.1 Internet 203.200.182.34 address associated with interface not machine Each machine can have more than one interface 1 by 1 or 1 to many mapping MAC to Address 23 24

Addressing Concept Partition into 2 fields Address (define a ) Node Address (specific a device on the network) 10.40.60.21 10.40.60.22 10.20.20.2 10.20.20.4 10.20.30.21 10.20.30.22 Address 8 / 16 / 24 from NIC assign to network 32 bits Host assign to machine Interface 32 bits divided to address and Host address address refer to number Host address refer to Host number on 25 26 Address Class 8 16 24 32 Class A 0 ID Host ID Class B 10 ID Host ID Class C 110 ID Host ID Class D Class E 1110 11110 Multicast Address Reserved Address Class A 0. 0. 0. 0 0.0.0.0 to 127.0.0.0 0 to 127 128. 0. 0. 0 Class B 128.0.0.0 to 191.255.0.0 128 to 191 0 to 255 Class C 192.0.0.0 to 223.255.255.0 Class D Class E 192. 0. 0. 0 192 to 223 0 to 255 0 to 255 224. 0. 0. 0 240. 0. 0. 0 Class D and E has no and Host ID 27 28

Number of and Host Special Addresses Reserved Addresses those are not assigned to any node Class Number of s Number of Hosts A 2 7 2 = 126 2 24 2 = 16,277,214 B 2 14 2 = 16,384 2 16 2 = 65,534 C 2 21 2 = 2,097,152 2 8 2 = 254 D Not applicable Not applicable E Not applicable Not applicable Net ID Any Any All 1s All 0s Host ID All 0s All 1s All 1s All 0s 127 Any Purpose Address Directed Broadcast Address Limited Broadcast Address This Host on this Loopback Address 29 30 Address Class Class A Address that s s assigned to network 10.0.0.1 10.0.0.2 : 10.0.0.0 Broadcast : 10.255.255.255 Class Class C 202.1.4.1 202.1.4.2 Class Class B 160.1.0.1 160.1.0.2 : 160.1.0.0 Broadcast : 160.1.255.255 Directed Broadcast Address Address for broadcast on subnetwork 200.0.1.255 200.0.1.1 200.0.1.2 200.0.1.4 Broadcast to a specific subnet Router forwards directed broadcast address to the subnet : 202.1.4.0 Broadcast : 202.1.4.255 31 200.0.1.3 32

Limited Broadcast Address Address for broadcast on owned network This Host on this Address Address for unassigned node on network Bootstrap Server 200.0.1.1 200.0.1.2 200.0.1.4 Broadcast to all host on it s own network Router not allowed limited broadcast forward to others subnet diskless client use 0.0.0.0 as a source for Bootp Router use 0.0.0.0 as a default network for routing 255.255.255.255 * Class E address source destination 0.0.0.0 255.255.255.255 200.0.1.3 33 34 Loopback Address Pseudo address as host s s own address Process 1 Process 2 Datalink Host use loopback to talk to it s own service Most system use 127.0.0.1 as loopback and names localhost Loopback packet never leaves it s machine Private Address Space Addresses those use for private network Class A 10.0.0.0 1 B 172.16.0.0 to 172.31.0.0 16 Number C 192.168.0.0 to 192.168.255.0 256 RFC 1918 defines special blocks that will be isolated from Internet. Any one can use without any permission. Use for Isolated, Experiment, Internal or Security 35 36

Problem with class assignment A E B D C Class A takes 50% range Class B takes 25% range Class C takes 12.5% range Problems address wasteful (specially in class A) running out of address How to assigns address RFC 1466 Class A : no allocation at this time Class B : Allocation will be restricted to apply Organization that has more than 32 subnets Organization that has more than 4096 hosts Class C: divided to regional blocks 37 38 Question? Lab Work การแปลงเลขฐาน 2 และ 10 decimal notation 128 32 8 2 64 16 4 1 1 1 1 1 1 1 1 1 ฝ กแปลงกล บระหว างเลขฐาน 10 และฐาน 2 40

Lab Work จงบอก ของ class network address broadcast address first host address last host address............... 41