3 Het IP-Protocol. 3 IP-protocol Services Routing Multiple client protocols Datagram delivery Independant from the Network Interface Layer Fragmentation.

Slides:



Advertisements
Similar presentations
IP Addressing.
Advertisements

Classifying Network Addressing
IPv4 Addresses. Internet Protocol: Which version? There are currently two versions of the Internet Protocol in use for the Internet IPv4 (IP Version 4)
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
Chapter 9a Intro to Routing & Switching.  Upon completion of this chapter, you should be able to:  Explain why routing is necessary for hosts on different.
IP Subnetting.
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—1-1 Building a Simple Network Understanding the TCP/IP Internet Layer.
Module 4: Configuring Network Connectivity
Chapter 18. IP: Internet Protocol Addresses
Module 10: Routing Fundamentals and Subnets Small Router Purchase Subnetting Example a Basic Subnetting b Subnetting a Class A Network.
11- IP Network Layer4-1. Network Layer4-2 The Internet Network layer forwarding table Host, router network layer functions: Routing protocols path selection.
IP Addressing – Dotted-Decimal Notation –An IP address is 32 bits in size –Every IP address is grouped into four 8-bit octets –Octets are separated by.
Network Layer IS250 Spring 2010
Chapter 21 IP Addressing “If we all did the things we are capable of doing, we would literally astound ourselves” - Thomas Alva Edison,
1 Chapter Overview Subnet. What is a subnet When you break a network into a few smaller networks, you have created several subnets Like IP address where.
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.
IP Addressing Basics LAB 8.
IP Addressing. Dotted Decimal Notation IP addresses are written in a so-called dotted decimal notation Each byte is identified by a decimal number in.
1 Internet Addresses (You should read Chapter 4 in Forouzan) IP Address is 32 Bits Long Conceptually the address is the pair ( NETID, HOSTID ) Addresses.
CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
IP Addressing Basics LAB 8.
IP (Internet Protocol) –the network level protocol in the Internet. –Philosophy – minimum functionality in IP, smartness at the end system. –What does.
IP Addressing Introductory material. An entire module devoted to IP addresses.
G64INC Introduction to Network Communications Ho Sooi Hock Internet Protocol.
IPv4 Addresses. Internet Protocol: Which version? There are currently two versions of the Internet Protocol in use for the Internet IPv4 (IP Version 4)
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 2: TCP/IP Architecture.
CDPA 網管訓練 駭客任務 2 Ethernet Switching ARP, IP, LAN, Subnet IP Header, Routing ICMP
CSIS  We need to create some logic to the environment  We want to keep like devices together  We want to make money leasing the use of the space.
Fragmentation Fragmentation and reassembly are done by the IP layer Fragmentation and reassembly are done by the IP layer Identification (16 bits) Identification.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 2: Configuring Network Protocols.
IP Addressing & Subnetting
The Saigon CTT Semester 1 CHAPTER 10 Le Chi Trung.
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:
Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 1 Lesson 5 Internet Protocol (IP) Basics.
Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 1 Lesson 6 Internet Protocol (IP) Addressing.
IIUSA – Internet Institute Switches & Routers Rick Livingood, MA, MCSE, CCNP IIUSA – Internet Institute.
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.
1 Network Layer Lecture 15 Imran Ahmed University of Management & Technology.
1 Objectives Identify the basic components of a network Describe the features of Internet Protocol version 4 (IPv4) and Internet Protocol version 6 (IPv6)
Layer 3: Internet Protocol.  Content IP Address within the IP Header. IP Address Classes. Subnetting and Creating a Subnet. Network Layer and Path Determination.
Module 5: Creating IPv4 Address Spaces. Overview of IP Communication Subnetting Overview Subnetting for Complex Networks.
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
The Saigon CTT Semester 1 CHAPTER 10 Wael Yousif.
Chapter 3 - Page 1 Infogem Institute of Technology CCNA Course IP Addressing & Subnetting IP ADDRESSING & SUBNETTING.
Linux Operations and Administration Chapter Eight Network Communications.
Hour 5 Subnetting 1. you will be able to Explain how subnets and supernets are used Explain the benefits of subnetting Develop a subnet mask that meets.
Chapter 5b.  Upon completion of this chapter, you should be able to:  Subnet an IPv4 address to make separate networks out of one address given  Use.
CS470 Computer Networking Protocols
Easy Subnetting. Chapter 4 Objectives Topics Covered in this chapter include: Interpret network diagrams Describe the operation and benefits of using.
1 Objectives Identify the basic components of a network Describe the features of Internet Protocol version 4 (IPv4) and Internet Protocol version 6 (IPv6)
IP Internet Protocol. IP TCP UDP ICMPIGMP ARP PPP Ethernet.
1 ECE453 – Introduction to Computer Networks Lecture 11 – Network Layer III – IP Protocol.
1 Layer 3: Routing & Addressing Honolulu Community College Cisco Academy Training Center Semester 1 Version
Layer 3 Routing and Addressing. Layer 3 Responsibilities Move data through a set of networks. Use a hierarchical addressing scheme. Segment network and.
Network Layer/IP Protocols 1. Outline IP Datagram (IPv4) NAT Connection less and connection oriented service 2.
Instructor & Todd Lammle
Internet technologies
Chapter-5 TCP/IP Suite.
PART IV Network Layer.
CS4470 Computer Networking Protocols
Objective: Classful Internet Addressing
Chapter 9 Objectives Understand TCP/IP Protocol.
כתובות IP.
Internetworking Outline Best Effort Service Model
Wide Area Networks and Internet CT1403
Chapter 2 Easy Subnetting
IP Addressing & Subnetting
IP Addressing & Subnetting
Presentation transcript:

3 Het IP-Protocol

3 IP-protocol Services Routing Multiple client protocols Datagram delivery Independant from the Network Interface Layer Fragmentation and reassembly Extensible through IP options Packet switching technology

3  IP Header 20 bytes 4-bit version 4-bit hea- der length 8-bit type of service(TOS) 16-bit total length (in bytes) 16-bit identification 3-bit flag 13-bit fragment offset 8-bit time to live (TTL) 8-bit protocol16-bit header checksum 32-bit source IP address 32-bit destination IP address Options (if any) data

3

3 Conversie IP Adres van Binair naar Decimaal Formaat Bits 255 Decimal Value

3 Netwerk ID en Host ID Network IDHost ID 32 Bits w. x. y. z Example: Class B

3

3 Address Class Summary Number of Networks Number ,384 2,097,152 Number of Hosts per Network Number of Hosts per Network 16,777,214 65, Class A Class B Class C Range of Network IDs (First Octet) Range of Network IDs (First Octet) 1 – – – 223

3 Assigning Network IDs

3 Network Addressing Guidelines Network ID Must Be Unique 127 Is Reserved for Diagnostic Loopback Functions Network ID Cannot Be all 255 (All Bits Set to 1) 255 is a broadcast address Network ID Cannot Be all 0 (All Bits Set to 0) 0 indicates a local network

3 Assigning Host IDs

3 Host Addressing Guidelines Host ID Must Be Unique to the Network ID Host ID Cannot Be 255 (All Bits Set to 1) 255 is a broadcast address Host ID Cannot Be 0 (All Bits Set to 0) 0 means “this network only”

3 Common Addressing Problems Network IDs on the Local Network Don’t Match Local hosts cannot communicate Host IDs on the Local Network Are Duplicate Windows NT–based hosts cannot initialize Other TCP/IP-based hosts may not be able to communicate Other TCP/IP-based hosts could hang

3 How to choose/assign IP-addresses ? Internet Service Provider ICANN - Internet Corporation for Assigned Names and Number RIPE – ARIN – APNIC – LACNIC - AfriNIC Private Address Space (RFC 1918)

3 Loopback interface name localhost IP output function IP input function Place on IP input queue Loopback driver Ethernet driver Dest. IP = broadcast or multicast ? Place on IP input queue yes Dest. IP = interface address ? no yes Ethernet IP driver

3 Exercise

3 Excercise Connect two pc’s to a hub and assign an ip-address from the same network. Issue a ping command from one to the other. Do the same with ip-addresses from different networks Find the public address space assigned to your company (or any company that you know)

3 The Domain Name System An Alias Used to Reference a TCP/IP Host A Fully Qualified Domain Name (FQDN) Example: ftp.microsoft.com Provides a Simplified Way to Access a TCP/IP Host Used by Ping and Other TCP/IP Utilities Entries Are Stored in the HOSTS File or DNS Viewed with the nslookup Utility

3 IP addressing summary Network part: all host bits First ip address : Broadcast address: all host bits

3 Overview Subnetting What Is a Subnet? Subnet Addressing What Is a Subnet Mask? Defining a Subnet Mask Defining Network IDs for an Internetwork Defining Host IDs for Subnets

3 What Is a Subnet Mask? Distinguishes the Network ID from the Host ID Used to Specify Whether the Destination Host is Local or Remote

3 Default Subnet Masks (No Subnetting) Bits Used for Subnet Mask AddressClass Dotted Decimal Notation Notation Class A Class B Class C Class A Class B Class C Class B Example w.x. IP Address Subnet Mask Network ID Host ID y.z

IP Address Subnet Mask IP Address Subnet Mask Result How IP Determines If a Packet Is Destined Locally or Remotely Local IP and Destination IP are ANDed with Mask 1 AND 1 = 1 Other combinations = 0 If ANDed results of source and destination hosts match, the destination is local

3 Problem : Waste of address space ! Inefficient use of address space z z z AB We only use 2 address out of 254

3 How is subnetting done? Subnet Subnet Subnet Subnet Main Network Borrow bits from host part All hosts on same segment have same subnet number Subnet Subnet

3 Examples of a Custom Subnet Mask (Subnetting) Bits Used for Subnet Mask AddressClass Dotted Decimal Notation Notation Class ? Class B Example w.x. IP Address Subnet Mask Network ID Subnet ID Host ID w.x.y y.z z

3 IP Addresses Subnet Mask Using the Subnet Mask to Determine If a Host Is Local or Remote Comparing Two Network IDs Does Not Always Indicate a Local or Remote Host Example Example Compare Both Addresses to a Subnet Mask to Determine Location , or Same Network? Yes No

3 Determining the Number of Subnet Mask Bits Class B Network IDHost ID 1 Subnet Mask Number of Subnets Number of Hosts Subnet Mask Host ID 16,

3 Defining a Subnet Mask Determine the Number of Subnets Convert the Number of Subnets to Binary Convert the Required Number of Bits to Decimal (High Order) Example of Class B Address Number of Subnets Binary Value Convert to Decimal = 6 (3 Bits)

3 Shortcut to Defining Network IDs List the Number of Bits (High Order) Used for Subnet Mask Convert the Bit with the Lowest Value to Decimal Increment the Value for Each Bit Combination w.x.32.1w.x w.x.64.1w.x = = = = = 160 w.x.96.1w.x w.x.128.1w.x w.x.160.1w.x

3 Defining Host IDs for a Subnet Subnet IDs Host ID Range “Invalid” x.y.32.1 – x.y x.y.64.1 – x.y x.y.96.1 – x.y x.y – x.y x.y – x.y x.y – x.y “Invalid” x.y.32.1 – x.y x.y.64.1 – x.y x.y.96.1 – x.y x.y – x.y x.y – x.y x.y – x.y “Invalid” = = = = = = = = = = = = = = = = 224 Each Subnet ID Indicates the Beginning Value in a Range The Ending Value Is One Less Than the Beginning Value of the Next Subnet ID

3 Subnet Addressing Determine the Number of Required Network IDs One for each subnet One for each wide area network connection Determine the Number of Required Host IDs per Subnet One for each TCP/IP host One for each router interface Define One Subnet Mask Based on Requirements Define a Unique Network ID for Each Subnet Based on the Subnet Mask Define Valid Host IDs for Each Subnet Based on the Network ID

3 Exercise: Subnetting

3 Example : Assign subnets /24 10

3 Excercise : Assign subnets (subnet zero is valid) Internet / / /

3 Solution Network#bitsMask#hostsFirstLastBroadcast / / /

3 Excercise : Assign subnets (subnet zero is valid) Internet / / / / / / / / / / / / / / / / 26

3 50 Internet / Excercise : Assign subnets (subnet zero is valid)

3 Exercise /19 Define network mask Define network Define first ip address Define last ip address Define broadcast address

3 Review What Is a Subnet? Subnet Addressing What Is a Subnet Mask? Defining a Subnet Mask Defining Network IDs for an Internetwork Defining Host IDs for Subnets

3 Commands netstat Network connections and routing table Unix - Windows NT ifconfig interface information Unix winipcfg Windows 95/98 ipconfig Windows NT/2000

3 Classless Interdomain Routing (CIDR) Exhaustion IP address space No class A - B and C w.x.y.z/s with 1 <= s < = 32 Route aggregation