TCP/IP and the OSI Model

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

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

IP: Addressing, ARP, Routing

Copyright 2011 Sakun Sharma

TCP/IP Protocol Suite and IP Addressing

Introduction to Internetworking

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

Interconnecting Networks with TCP/IP

PART X. Internetworking Part 1. (Concept, IP Addressing, IP Routing, IP Datagrams, Address Resolution)

The Internet Protocol (IP)

Vorlesung Kommunikationsnetze

Significance of TCP/IP Model Divya Shree Assistant Professor (Resource Person), Department of computer science and engineering, UIET, MDU, Rohtak

EE 610 Part 2: Encapsulation and network utilities

Networking Fundamentals

Defining Networks with the OSI Model. Module 2

IP Addressing and Subnetting

Chapter Motivation For Internetworking

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

Network Protocols - Revision

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

Lab Using Wireshark to Examine Ethernet Frames

Chapter 6. The Protocol TCP/IP. Introduction to Protocols

Lab Using Wireshark to Examine Ethernet Frames

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

Types of Transfer. Connection-oriented Transfer. Connectionless Transfer. Networks generally provide two types of communication. Connection-oriented

TCP /IP Fundamentals Mr. Cantu

Objectives. Chapter 10. Upon completion you will be able to:

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

Concept Questions Demonstrate your knowledge of these concepts by answering the following questions in the space that is provided.

EITF25 Internet Techniques and Applications L7: Internet. Stefan Höst

OSI Data Link & Network Layer

Guide to Networking Essentials, 6 th Edition. Chapter 5: Network Protocols

Introduction... xiii Chapter 1: Introduction to Computer Networks and Internet Computer Networks Uses of Computer Networks...

Chapter 18 and 22. IPv4 Address. Data Communications and Networking

OSI Data Link & Network Layer

CHAPTER-2 IP CONCEPTS

Overview of TCP/IP Overview of TCP/IP protocol: TCP/IP architectural models TCP protocol layers.

Introduction to TCP/IP

TCP/IP Network Essentials

Lecture 17 Overview. Last Lecture. Wide Area Networking (2) This Lecture. Internet Protocol (1) Source: chapters 2.2, 2.3,18.4, 19.1, 9.

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

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

INTRODUCTORY INFORMATION TECHNOLOGY COMMUNICATING OVER NETWORKS. Faramarz Hendessi

Review of Important Networking Concepts

The Internet. 9.1 Introduction. The Internet is a global network that supports a variety of interpersonal and interactive multimedia applications.

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

Chapter 2 Network Models 2.1

Introduction Layer 3. IP-Header: and RFC-760 Addressing schemes Subnetting Routing. Layer 3 Solution in Trains

TCP/IP. Model and Layers Bits and Number Bases IPv4 Addressing Subnetting Classless Interdomain Routing IPv6

The Interconnection Structure of. The Internet. EECC694 - Shaaban

Planning for Information Network

Quiz 7 May 14, 2015 Computer Engineering 80N

TSIN02 - Internetworking

Copyleft 2005, Binnur Kurt. Objectives

IP Address Assignment

Chapter 6 Addressing the Network- IPv4

Module 7: Configuring and Supporting TCP/IP

SEN366 (SEN374) (Introduction to) Computer Networks

Linux System Administration

ET4254 Communications and Networking 1

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

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

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

Cisco Interconnecting Cisco Networking Devices Part 1.

Network Layer: Internet Protocol

This talk will cover the basics of IP addressing and subnetting. Topics covered will include:

CSCD 433/533 Advanced Networks

Network Layer/IP Protocols

Internetwork Protocols

OSI Data Link & Network Layer

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

EP2120 Internetworking/Internetteknik IK2218 Internets Protokoll och Principer

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

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

THE OSI MODEL. Application Presentation Session Transport Network Data-Link Physical. OSI Model. Chapter 1 Review.

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

Network layer: Overview. Network layer functions IP Routing and forwarding NAT ARP IPv6 Routing

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

Network layer: Overview. Network Layer Functions

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

Operating Systems CS 571

Kent State University

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

Lecture 11: Networks & Networking

Chapter 5 Network Layer

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

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

OSI Network Layer. Chapter 5

Chapter 5 TCP/IP SUITE

Connecting to the Network

BTEC Level 3 Extended Diploma Unit 9 Computer Network IP Addresses

Cisco Interconnecting Cisco Networking Devices Part 2

Addressing and Routing

TCP/IP THE TCP/IP ARCHITECTURE

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

ISO/OSI Model and Collision Domain NETWORK INFRASTRUCTURES NETKIT - LECTURE 1 MANUEL CAMPO, MARCO SPAZIANI

Introduction to Computer Networks. CS 166: Introduction to Computer Systems Security

Internet Protocol (IP)

IP - The Internet Protocol

Chapter 7. Local Area Network Communications Protocols

Transcription:

TCP/IP BASICS

TCP/IP and the OSI Model

TCP/IP BASICS The network protocol of the Internet Composed of six main protocols IP Internet Protocol UDP User Datagram Protocol TCP Transmission Control Protocol ARP Address Resolution Protocol ICMP Internet Control Message Protocol IGMP Internet Group Message Protocol

Internet Protocol Works at layer 3 of the OSI model Responsible for routing packets to the correct destination Allows interconnecting large numbers of sub networks Every device must have a unique IP address

User Datagram Protocol Connectionless Does not guarantee delivery Does not maintain packet sequence Implements ports for multiplexing information between applications Provides for a checksum value for data integrity

Transmission Control Protocol Connection based Guarantees delivery Maintain packet sequence Implements ports for multiplexing information between applications Provides for a checksum value for data integrity

Address Resolution Protocol Used to resolve an IP address to an Ethernet (MAC) address Only used for outgoing packets Resolved addresses are stored in the ARP table Remember that the MAC address is set at the factory. The IP address is set by the network administrator

Internet Control Message Protocol Used to pass control information between two computers or routers Used by the ping command Used to report routing problems

Internet Group Message Protocol Controls multicast broadcasts Used to tell routers to pass a multicast IP address

IP Addresses A unique 32 bit number that identifies the device on the IP network Assigned by the network administrator IP addresses are controlled by Internet Assigned Numbers Authority (IANA) Are allocated in blocks

IP Addresses IP addresses are represented in dotted decimal notation Each is number is called an octet An octet is between 0 and 255 (8 bits) An IP address if made up of 4 octets Sample IP addresses 10.20.100.1 127.0.0.1 172.16.13.254 192.168.1.114

IP Addresses 10.20.100.1 Dotted Decimal 10.20.100.1 Binary 00001010 00010100 01100100 00000001 Hex 0A146401 Dotted Hex 0A.14.64.01

IP Addresses 127.0.0.1 Dotted Decimal 127.0.0.1 Binary 01111111 00000000 00000000 00000001 Hex 7F000001 Dotted Hex 7F.00.00.01

IP Addresses 172.16.13.254 Dotted Decimal 172.16.13.254 Binary 10101100 00010000 00001101 11111110 Hex AC100DFE Dotted Hex AC.10.0D.FE

IP Addresses 192.168.1.114 Dotted Decimal 192.168.1.114 Binary 11000000 10101000 00000001 01110010 Hex C0A80172 Dotted Hex C0.A8.01.72

IP Networks IP networks are groups of IP addresses IP networks are assigned based on class type Referred to as networks or nets Computers on the same network are local Computers on different networks are remote

IP Address Classes There are 5 IP address class types CLASS A CLASS B CLASS C CLASS D CLASS E

Class A Used for large sized networks Provides IP addresses for up to 16777214 devices The first number of the dotted quad address is from 1 to 126 The first bit of the binary address is 0

Class B Used for medium sized networks Provides IP addresses for up to 65534 devices The first number of the dotted quad address is from 128 to 191 The first two bits of the binary address are 10

Class C Used for small sized networks Provides IP addresses for up to 254 devices The first number of the dotted quad address is from 192 to 223 The first three bits of the binary address are 110

Class D Used for multicast (see RFC 1112) Designed to be used by large numbers of receiving devices The first number of the dotted quad address is from 224 to 239 The first four bits of the binary address are 1110 244.0.0.1 refers to all connect IP devices on the directly connected network

Class E Reserved for future addressing modes The first number of the dotted quad address is from 240 to 254 The first four bits of the binary address are 1111

The Netmask The Netmask is used to define the local network It is a 32 bit binary number like the IP address It defines the network portion of an IP address

The Netmask The standard netmasks Class A 255.0.0.0 Class B 255.255.0.0 Class C 255.255.255.0

IP Address Parts The IP address is composed of two logical parts Network portion Host portion

IP - Network Portion The network portion is determined by the netmask Every position where the netmask is a one, the corresponding bit in the IP address is part of the network portion

IP - Host Portion The host portion is also determined by the netmask Every position where the netmask is a zero, the corresponding bit in the IP address is part of the host portion

IP Address Samples Sample IP addresses and netmasks IP Address Netmask 10.20.100.1 255.0.0.0 127.0.0.1 255.0.0.0 172.16.13.254 255.255.0.0 192.168.1.114 255.255.255.0

IP Address 10.20.100.1 Address in binary 00001010 00010100 01100100 00000001 Netmask in binary 11111111 00000000 00000000 00000000 Network Portion 00001010 Host Portion 00010100 01100100 00000001

IP Address 127.0.0.1 Address in binary 01111111 00000000 00000000 00000001 Netmask in binary 11111111 00000000 00000000 00000000 Network Portion 01111111 Host Portion 00000000 00000000 00000001

IP Address 172.16.13.254 Address in binary 10101100 00010000 00001101 11111110 Netmask in binary 11111111 11111111 00000000 00000000 Network Portion 10101100 00010000 Host Portion 00001101 11111110

IP Address 192.168.1.114 Address in binary 11000000 10101000 00000001 01110010 Netmask in binary 11111111 11111111 11111111 00000000 Network Portion 11000000 10101000 00000001 Host Portion 01110010

Network Number The network number is the network portion of the IP address combined with a host portion of all zeros 10.0.0.0 127.0.0.0 172.16.0.0 192.168.1.0

IP Network Defined Every host on a local IP network must have the same network number Any destination address that does not have the same network number is remote To communicate with a remote host, a gateway (router) must be used