Layering and the TCP/IP protocol Suite

Slides:



Advertisements
Similar presentations
Chapter 19 Network Layer: Logical Addressing Stephen Kim.
Advertisements

CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
Chapter 18. IP: Internet Protocol Addresses
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints.
CSCI 4550/8556 Computer Networks Comer, Chapter 18: IP: Internet Protocol Addresses.
© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets with Internet Applications, 4e By Douglas.
Based Computer Networks and Internets (Comer)
1 IP: Internet Protocol Addresses. 2 Internet Protocol (IP) Only protocol at Layer 3 Fundamental in suite Defines –Internet addressing –Internet packet.
IP Addressing. TCP/IP addresses -Addressing in TCP/IP is specified by the Internet Protocol (IP) -Each host is assigned a 32-bit number -Called the IP.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints.
IP Addressing Pertemuan 18 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.
Slides of the course was made by TAs of this and previous semesters 1 Internet Networking Spring 2002 Tutorial 1 Subnets, Proxy ARP.
Slides of the course was made by TAs of this and previous semesters 1 Internet Networking Spring 2003 Tutorial 1 Subnets, Proxy ARP.
IP Addressing. Each TCP/IP host is identified by a logical IP address. –The IP address is a network layer address –No dependence on the Data-Link layer.
Functions 1.  How long is MAC address?  How is mac address used in data communication?  What is a frame?  What does an IP address look like? 2.
Layering and the TCP/IP protocol Suite  The TCP/IP Protocol only contains 5 Layers in its networking Model  The Layers Are 1.Physical -> 1 in OSI 2.Network.
1 TCOM 509 – Internet Protocols (TCP/IP) Lecture 02_b Instructor: Dr. Li-Chuan Chen Date: 09/08/2003 Based in part upon slides of Prof. J. Kurose (U Mass),
Spring Ch 18 IP Addresses. 2 Internet Protocol  Only protocol at Layer 3  Defines Internet addressing Internet packet format Internet routing.
30/11/ Q & A on Networking. Question No. 1 What is Networking? Two or more computers that are linked in order to share – Resources (such as printers.
INTRODUCTION TO IP ADDRESS Ravi Chandra Gurung. IP ADDRESSES.
G64INC Introduction to Network Communications Ho Sooi Hock Internet Protocol.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Addressing Networking for Home and Small Businesses – Chapter 5.
© 2007 Cisco Systems, Inc. All rights reserved. 1 Network Addressing Networking for Home and Small Businesses – Chapter 5 Darren Shaver – Modified Fall.
Part 3: Internetworking Internet architecture, addressing, encapsulation, reliable transport and the TCP/IP protocol suite.
Chapter 18 IP: Internet Protocol Addresses
Chapter 4, slide: 1 CS 372 – introduction to computer networks* Friday July 23, 2010 Announcements: r Midterms are graded. r Lab 4 is posted. Acknowledgement:
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.
Universal Identifier UNIVERSAL IDENTIFIER Universal network = globally accepted method for identifying each computer. Host identifier = host is identify.
Chapter 4 Objectives Upon completion you will be able to: Classful Internet Addressing Understand IPv4 addresses and classes Identify the class of an.
Layer 3: Internet Protocol.  Content IP Address within the IP Header. IP Address Classes. Subnetting and Creating a Subnet. Network Layer and Path Determination.
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
Chapter 5 IPv4 Address.
IP addresses IPv4 and IPv6. IP addresses (IP=Internet Protocol) Each computer connected to the Internet must have a unique IP address.
© Cengage Learning 2014 How IP Addresses Get Assigned A MAC address is embedded on a network adapter at a factory IP addresses are assigned manually or.
Chapter 18 IP: Internet Protocol Addresses. Internet protocol software used to make the internet appear to be a single, seamless communication system.
CS470 Computer Networking Protocols
Introduction to Internetworking. 2 The IP Addressing Scheme (IPv4) (psu.edu) Dotted Decimal Notation: A notation more convenient for humans.
Ethernet Basics – 7 IP Addressing. Introducing IP Addressing  IP address (TCP/IP address)  Not unique (but should be), user assigned  Layer 3  4 byte.
IP Addressing. A 32-bit logical naming convention A dotted-decimal notation is used: – –Each number represents 8 bits. Number is Part.
COMPUTER NETWORKS CS610 Lecture-25 Hammad Khalid Khan.
Internet Architecture
LESSON Networking Fundamentals Understand IPv4.
The Concept of Universal Service
4.3 Network Layer Logical Addressing
IP Addressing Pertemuan 06
Instructor Materials Chapter 4: Network Addressing
OSI Model IP address.
Networking for Home and Small Businesses – Chapter 5
IP: Addressing, ARP, Routing
Network Layer: IP Addressing
Internet Networking recitation #1
Internet technologies
Chapter-5 TCP/IP Suite.
4 Network Layer Part I Computer Networks Tutun Juhana
CS4470 Computer Networking Protocols
IP Addresses: Classful Addressing
Objective: Classful Internet Addressing
An IPv4 address is a 32-bit address that uniquely and universally defines the connection of a device (for example, a computer or a router) to the Internet.
Internet Protocol INTERNET PROTOCOL.
Data Communications and Networking
INTERNET PROTOCOL Presented by: Md:Faruque-A-Azam ID:1642CSE00570 Batch:42 CSE,MIU.
The Internet Protocol Eliot Grove Danny Friel Stuart Anderson.
IP Addressing.
Networking for Home and Small Businesses – Chapter 5
Network Addressing.
Part IV Network layer 10. Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Dr. John P. Abraham Professor UTPA
Introduction to Network
Presentation transcript:

Layering and the TCP/IP protocol Suite The TCP/IP Protocol only contains 5 Layers in its networking Model The Layers Are Physical -> 1 in OSI Network Interface -> 2 in OSI Internet -> 3 in OSI (loosely) Transport -> 4 in OSI Application -> 5, 6, 7 in the OSI Model

Internet Protocol Addresses (IP) The IP standard (IPV4) states that each host on a network will contain a unique 32 bit number. This number is known as the IP address of the host. Both the Sender’s IP address and the Receivers IP address are sent in each packet over the internet.

IP Address Hierarchy Each IP is divided into two parts Network Number (prefix) Host ID (suffix) Prefix or network numbers are granted globally The hierarchy guarantees two important properties. Each computer can have a Unique ID Each suffix can be granted locally without global coordination.

IP address Classes Network numbers can be further divided into different classes. Choosing large prefixes provided large number of network numbers but small number of host ID’s Choosing small prefixes provided a small number of network numbers but a large number of Host IDs

IP address Classes (Continued) Designers compromised with providing different classes of numbers for each network. Depending on the class, determines the size of the network number (ID) The first four bits of an address determine the class. This determines how the address is divided into prefixes and suffixes.

IP address Classes (Continued) IP Classes are A, B and C (primary classes) D (used for multicasting) E (used for future use) Classes use octet boundaries A (the network number is the first octet of the address and the host ID is the last three octets) B (the network number is the first two octets and the host ID is the last two) C (the network number is the first three octets and the host ID is the last octet of the address)

IP address Classes (Continued) Classes can be determined from the address itself and there for are considered to be self identifying Most computer hardware can examine bits faster than comparing integers. The first four bits are extracted and compared to determine the class or network the address belongs. Speeds up routing of IP addresses by sorting traffic according to their intended network.

IP address Classes (Continued) Although difficult for us to understand, computers can distinguish the class of a network by examining the first four bits of an address

Dotted Notation Dotted notation is used to display the IP address for people. Binary numbers are translated into four numbers separated by a decimal point. Each number is called an octet and each number can range from 0 to 255.

Classes and Dotted Notation Determining the Network Class by examining the first octet of an IP Address Class A network ID, the first octet will range between 0 and 127 Class B network ID, the first octet will range between 128 to 191 Class C network ID, the first octet will range between 192 through 223

Classes and Dotted Notation (Continued) As you can see, each network class can be divided according To the value of the first octet

The Division of IP Addresses Class A Max number of Network IDs 128 Max Number of Hosts IDs per network 16777216 Class B Max number of Network IDs 16384 Max number of Hosts IDs per network 65536 Class C Max number of Network IDs 2097152 Max number of Host IDs per network 256

Authority for IP Addresses Internet Assigned Number Authority governs the issuing of Network Addresses to ISPs. ISPs (Internet Service Providers) provide clients with available network ID’s. Network administrators of the clients will determine the assignment of Host IDs on each network.

Subnets Network numbers can be logically divided into sub networks. This divides the host numbers among different subnets and network traffic is routed on each sub net. This benefits the network by Dividing network traffic of IP addresses in a particular part of a network according to traffic patterns Unused Host IDs from a network can be reclaimed and redistributed to other clients.

Address Masks Are used to “mask” the traffic intended for a particular subnet. This is accomplished by applying the “AND” function to the Mask and the IP address. This will provide the means of abstracting the network ID, and the host ID from the IP address. EXAMPLE subnet mask 255.255.255.0 will pull out the network ID for a Class C network 255.255.0.0 will pull out the network ID for a Class B network. Routers can then just compare the network numbers in their tables and route them accordingly.

CIDR Notation Used by people to denote the prefix (network number) and the subnet mask. Uses the network number followed by the mask (denoting the number of bits). For example for the class B network 130.14.0.0/16 This shows the network number is 130.14 and the mask for this network is 255.255.0.0 (16 bits or 2 Bytes) Makes it easier for people to understand the networks and their corresponding masks Increasing the number of bits on a network can divide classes into many subnets providing additional addresses for more clients.

Special IP Addresses Network Addresses – Host 0 is reserved to denote the number of the network and is never assigned to a computer. Broadcast Addresses – A host address (ID) that contains all 1s is reserved for broadcasts only. Limited Broadcasts – Used only on the local network 255.255.255.255 is reserved when computers boot up on a network.

Special IP Addresses (Continued) This Computer – 0.0.0.0 when booting a computer may request IP and network information. In this case the address of 0.0.0.0 refers to the computer booting up. Local Loop back – 127.0.0.1 is used by programmers to test client/server applications. Both client and server software are run on one machine and communicate with each other without sending out a packet on the network.

Routers and the IP Addressing Principle Routers are assigned IP addresses as well Routers usually have host ID of 1 for each network it is attached. This is not the case all of the time. In all the router IPs are reserved by the system Administrator and are never given to other hosts on a network. The IP address of a router is often defined as the networks Gateway.

Multi-Homed Hosts A computer that connects to multiple networks is called a Multi-Homed computer. Often used to increase reliability Can also improve performance by avoiding routers when sending messages onto a network.