TDC375 Autumn 03/04 John Kristoff - DePaul University 1 Network Protocols Internet Protocol (IP)

Slides:



Advertisements
Similar presentations
TCOM 509 – Internet Protocols (TCP/IP) Lecture 06_b Subnetting,Supernetting, CIDR IPv6 Instructor: Dr. Li-Chuan Chen Date: 10/06/2003 Based in part upon.
Advertisements

1 IPv6. 2 Problem: 32-bit address space will be completely allocated by Solution: Design a new IP with a larger address space, called the IP version.
4 IP Address (IPv4)  A unique 32-bit number  Identifies an interface (on a host, on a router, …)  Represented in dotted-quad notation
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Introduction to IPv4 Introduction to Networks.
Chapter 19 Network Layer: Logical Addressing Stephen Kim.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
Chapter 18. IP: Internet Protocol Addresses
1 IP: Internet Protocol Addresses. 2 Internet Protocol (IP) Only protocol at Layer 3 Fundamental in suite Defines –Internet addressing –Internet packet.
IP Suite© Dr. Ayman Abdel-Hamid, CS4254 Spring CS4254 Computer Network Architecture and Programming Dr. Ayman A. Abdel-Hamid Computer Science Department.
1 K. Salah Module 5.1: Internet Protocol TCP/IP Suite IP Addressing ARP RARP DHCP.
TDC365 Spring 2001John Kristoff - DePaul University1 Interconnection Technologies Routing I.
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 IP (v4) Address IPv6. 2 IPv4 Addresses Internet Protocol (IP) is the only network layer protocol with its own addressing system and.
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.
NETWORK LAYER (2) T.Najah AlSubaie Kingdom of Saudi Arabia Prince Norah bint Abdul Rahman University College of Computer Since and Information System NET331.
Spring Ch 18 IP Addresses. 2 Internet Protocol  Only protocol at Layer 3  Defines Internet addressing Internet packet format Internet routing.
Types of Addresses in IPv4 Network Range
1 26-Aug-15 Addressing the network using IPv4 Lecture # 2 Engr. Orland G. Basas Prepared by: Engr. Orland G. Basas IT Lecturer.
4: Addressing Working At A Small-to-Medium Business or ISP.
Fall 2006Computer Networks19-1 Chapter 19. Host-to-Host Delivery: Internetworking, Addressing, and Routing 19.1 Internetworks 19.2 Addressing 19.3 Routing.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 4: Addressing in an Enterprise Network Introducing Routing and Switching in the.
Network Addressing Structure
IP (Internet Protocol) –the network level protocol in the Internet. –Philosophy – minimum functionality in IP, smartness at the end system. –What does.
G64INC Introduction to Network Communications Ho Sooi Hock Internet Protocol.
IP ADDRESSES. C ONTENTS Objectives Introduction IP Versions IPv4 Addressing Classful Addressing Class A Class B Class C Other Classes Dotted Decimal Notation.
11 NETWORK LAYER PROTOCOLS Chapter 5 IP IPX NetBEUI AppleTalk.
Internet Protocol Internetworking Lab 1. Why Internet?
The Saigon CTT Semester 1 CHAPTER 10 Le Chi Trung.
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:
Chapter 6 VLSM and CIDR.
Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 1 Lesson 6 Internet Protocol (IP) Addressing.
SYSTEM ADMINISTRATION Chapter 8 Internet Protocol (IP) Addressing.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Addressing in an Enterprise Network Introducing Routing and Switching in the.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 4: Addressing in an Enterprise Network Introducing Routing and Switching in the.
Addressing IP v4 W.Lilakiatsakun. Anatomy of IPv4 (1) Dotted Decimal Address Network Address Host Address.
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.
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.
© 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.
IP Internet Protocol Fundamental packet format that computers use to exchange information. Is a set of technical rules that defines how computers communicate.
CS470 Computer Networking Protocols
TDC 375 Winter 2002John Kristoff - DePaul University1 The Internet Protocol (IP) John Kristoff DePaul University Chicago,
CCNA Discovery Semester 3 Addressing in an Enterprise Network Chapter 4 K. Martin.
IP Protocol CSE TCP/IP Concepts Connectionless Operation Internetworking involves connectionless operation at the level of the Internet Protocol.
Chapter 8: IP Addressing
1 ECE453 – Introduction to Computer Networks Lecture 11 – Network Layer III – IP Protocol.
Network Layer IP Address.
1 Layer 3: Routing & Addressing Honolulu Community College Cisco Academy Training Center Semester 1 Version
Lecture 13 IP V4 & IP V6. Figure Protocols at network layer.
Network Layer/IP Protocols 1. Outline IP Datagram (IPv4) NAT Connection less and connection oriented service 2.
Discovery 2 Internetworking Module 4 JEOPARDY K. Martin.
Planning the Addressing Structure
LESSON Networking Fundamentals Understand IPv4.
NET 221D:Computer Networks Fundamentals
4.3 Network Layer Logical Addressing
PART IV Network Layer.
Network Layer Client: Date Descriptor V Th SEM
Ct1304 Lecture#4 IPV4 Addressing Asma AlOsaimi.
NET302 Lecture#3 IPV4 Addressing Asma AlOsaimi.
CS 457 – Lecture 10 Internetworking and IP
Internetworking Outline Best Effort Service Model
Lecture#3 IPV4 Addressing Net 302- Asma AlOsaimi.
INTERNET PROTOCOL Presented by: Md:Faruque-A-Azam ID:1642CSE00570 Batch:42 CSE,MIU.
Ct1304 Lecture#4 IPV4 Addressing Asma AlOsaimi.
Planning the Addressing Structure
Planning the Addressing Structure
Delivering the Data.
IPv4 Addressing By, Ishivinder Singh( ) Sharan Patil ( )
Presentation transcript:

TDC375 Autumn 03/04 John Kristoff - DePaul University 1 Network Protocols Internet Protocol (IP)

TDC375 Autumn 03/04 John Kristoff - DePaul University 1 Will layer 2 networking suffice?

TDC375 Autumn 03/04 John Kristoff - DePaul University 1 Layer 3 usually provides... Internetworking for data link technologies Globally unique addresses Scalable routing A common communications format Packet fragmentation capability A hardware independent interface Packet independence

TDC375 Autumn 03/04 John Kristoff - DePaul University 1 An IP router (or gateway)... Is usually a special purpose, dedicated device Connects heterogenous networks Directs packets toward their ultimate destination Often uses dynamic routing algorithms/protocols which make automatic forwarding decisions which make decisions based on various metrics Official pronounciation is rooter layer 3 switch = router = layer 3 switch

TDC375 Autumn 03/04 John Kristoff - DePaul University 1 IP routing Scope autonomous system (AS), interior, exterior Dynamic routing protocol for route exchange and computation Static routing manually configured routes Destination address driven

TDC375 Autumn 03/04 John Kristoff - DePaul University 1 Internet Protocol (IP) Documented in IETF RFC 791 Connectionless Unreliable Simple (relatively) The thin waist in the TCP/IP suite hourglass model

TDC375 Autumn 03/04 John Kristoff - DePaul University 1 IP address Virtual, not specific to a hardware device 32-bit fixed address length (IPv4) Unique address for each interface (typically) Global registrar assigns network bits (prefix) Local administrator assigns host bits (suffix) Usually written in dotted decimal (dotted quad) e.g

TDC375 Autumn 03/04 John Kristoff - DePaul University 1 IP address types Unicast (one-to-one) source addresses should always be unicast Multicast (one-to-many) receivers join/listen to group destination address Broadcast (one-to-all) special case of multicast, usually unnecessary Anycast (one-to-one-of-many) usually one-to-nearest, often used for reliability

TDC375 Autumn 03/04 John Kristoff - DePaul University 1 IP address notation

TDC375 Autumn 03/04 John Kristoff - DePaul University 1 Special IP addresses

TDC375 Autumn 03/04 John Kristoff - DePaul University 1 Classful IP addressing

TDC375 Autumn 03/04 John Kristoff - DePaul University 1 Classful address sizes

TDC375 Autumn 03/04 John Kristoff - DePaul University 1 Example IP network

TDC375 Autumn 03/04 John Kristoff - DePaul University 1 Example IP router addressing

TDC375 Autumn 03/04 John Kristoff - DePaul University 1 Classful addressing limitations Internet growth Route table size Address depletion Misappropriation of addresses Lack of support for varying sized networks Class B is often too big, Class C often too small

TDC375 Autumn 03/04 John Kristoff - DePaul University 1 IP addressing solutions Subnetting Supernetting Classless interdomain routing (CIDR) Variable length subnet masks (VLSM)

TDC375 Autumn 03/04 John Kristoff - DePaul University 1 Subnetting

TDC375 Autumn 03/04 John Kristoff - DePaul University 1 Subnet masks The bit length of the prefix (network bits) Prefix (network bits) no longer classful (fixed size) Use of the slash '/' notation to represent addresses with mask of is: /25 As viewed in binary for clarity, a /25 mask is:

TDC375 Autumn 03/04 John Kristoff - DePaul University 1 Subnet masks example Given /20 what is the... subnet mask in dotted decimal notation? directed broadcast address in dotted quad? total number of hosts that can be addressed?

TDC375 Autumn 03/04 John Kristoff - DePaul University 1 Supernetting Combine smaller address blocks into an aggregate If class B is too big and class C is too small... Combine /24 to /24 To form /20

TDC375 Autumn 03/04 John Kristoff - DePaul University 1 Supernetting example Given an ISP that has /16: what block might be assigned to a customer needing to address 300 hosts? how does the ISP manage their IP address allocation if there are many customers with varying address requirements?

TDC375 Autumn 03/04 John Kristoff - DePaul University 1 CIDR Routers using aggregated prefixes (CIDR blocks) primarily through the use of supernetting So instead of adding multiple class C blocks......advertise some larger aggregate, e.g. /20 The Internet CIDR report:

TDC375 Autumn 03/04 John Kristoff - DePaul University 1 CIDR example Given an ISP that announces: / / / / /26 What is the least number of CIDR announcements that can be made for this ISP? Why might address blocks not be aggregated?

TDC375 Autumn 03/04 John Kristoff - DePaul University 1 VLSM Many subnet sizes in an autonomous system (AS) Allows for efficient use of address space Can be used to build an internal hierarchy External view of the AS does not change An AS may be allocated /16, but... internally may use: / / /25 and so on...

TDC375 Autumn 03/04 John Kristoff - DePaul University 1 VLSM example Given an assignment of /16, create an addressing strategy to support: 6 satellite offices and 1 large headquarter site 6000 total hosts on all combined networks headquarters needs about 50% of all addresses satellite offices need 200 to 700 addresses overall growth per year is 500 hosts

TDC375 Autumn 03/04 John Kristoff - DePaul University 1 Obtaining IP addresses IANA has global authority for assignment Regional registries delegate to ISPs and large nets ISPs assign addresses to end users RFC 1918 defines private address blocks NOT globally unique NOT for hosts attached directly to public Internet /8, /12 and /16 You will understand RFC 1918 consequences

TDC375 Autumn 03/04 John Kristoff - DePaul University 1 IP datagram layout

TDC375 Autumn 03/04 John Kristoff - DePaul University 1 Inside an IP datagram Version field usually set to binary 0100 (is what decimal?) Header length length of IP header in 32-bit words typically set to 5 (as in 5 octets) Type of Service (redefined in newer RFCs) an indication of quality/class of service rarely used with success outside a single AS

TDC375 Autumn 03/04 John Kristoff - DePaul University 1 Inside an IP datagram [cont.] Total length total IP datagram length in octets maximum value is 65535, but rarely > 1500 Identification to identify fragments of a single IP datagram experimentally used in tracing DDoS sources Flags bit 0 reserved, others for fragmentation (or not)

TDC375 Autumn 03/04 John Kristoff - DePaul University 1 Inside an IP datagram [cont.] Fragment offset helps piece together IP fragments Time to live (TTL) limts the time/hops of datagram in the net counts down to zero, at zero it is discarded Protocol type indicates next layer protocol in payload

TDC375 Autumn 03/04 John Kristoff - DePaul University 1 Inside an IP datagram [cont.] Header checksum used to verify header validity at each hop Source/Destination address 32-bit IP address Options (optional) rarely used, padded to 32-bit boundary if needed Payload variable length

TDC375 Autumn 03/04 John Kristoff - DePaul University 1 Basic tools ping traceroute arp route netstat packet capture tcpdump, ethereal routing table monitors, looking glass servers

TDC375 Autumn 03/04 John Kristoff - DePaul University 1 Final thoughts IP is unreliable, connectionless IP addressing is a pain, wait til you see IPv6 IP addresses today are both a who and a where IP addresses make for poor trust relationships IP fragmentation is generally best avoided Private IPs and NATs, yuck!