TDC 375 Winter 2002John Kristoff - DePaul University1 The Internet Protocol (IP) John Kristoff +1 312 362-5878 DePaul University Chicago,

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
Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Introduction to IPv4 Introduction to Networks.
Addressing the Network IPv4
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
Module 4: Configuring Network Connectivity
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.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
Winter CMPE 155 Week 8. Winter Router demos: background.
IP Suite© Dr. Ayman Abdel-Hamid, CS4254 Spring CS4254 Computer Network Architecture and Programming Dr. Ayman A. Abdel-Hamid Computer Science Department.
1 CCNA 3 v3.1 Module 1. 2 CCNA 3 Module 1 Introduction to Classless Routing.
1 K. Salah Module 5.1: Internet Protocol TCP/IP Suite IP Addressing ARP RARP DHCP.
Introduction to TCP/IP
TDC375 Autumn 03/04 John Kristoff - DePaul University 1 Network Protocols Internet Protocol (IP)
TDC365 Spring 2001John Kristoff - DePaul University1 Interconnection Technologies Routing I.
Chapter 21 IP Addressing “If we all did the things we are capable of doing, we would literally astound ourselves” - Thomas Alva Edison,
NETWORK LAYER (2) T.Najah AlSubaie Kingdom of Saudi Arabia Prince Norah bint Abdul Rahman University College of Computer Since and Information System NET331.
IP-adresses and subnet masks. Figure 19.9 Dotted-decimal notation.
3 Het IP-Protocol. 3 IP-protocol Services Routing Multiple client protocols Datagram delivery Independant from the Network Interface Layer Fragmentation.
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.
1 Kyung Hee University Part 4 : Network Layer. 2 Kyung Hee University Role and Position of Network Layer o Network layer in the Internet model is responsible.
© 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.
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.
1 Computer Networks Network Layer. 2 Where are we?
11 NETWORK LAYER PROTOCOLS Chapter 5 IP IPX NetBEUI AppleTalk.
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:
SYSTEM ADMINISTRATION Chapter 8 Internet Protocol (IP) Addressing.
ICS 156: Lecture 2 (part 1) Today:  IP addressing  Data link protocols and ARP  Notes about lab.
© 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.
TCOM 515 IP Routing. Syllabus Objectives IP header IP addresses, classes and subnetting Routing tables Routing decisions Directly connected routes Static.
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.
IP Addressing.
CCNA Discovery Semester 3 Addressing in an Enterprise Network Chapter 4 K. Martin.
Chapter 8: IP Addressing
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.
Discovery 2 Internetworking Module 4 JEOPARDY K. Martin.
Planning the Addressing Structure
LESSON Networking Fundamentals Understand IPv4.
PART IV Network Layer.
Ct1304 Lecture#4 IPV4 Addressing Asma AlOsaimi.
NET302 Lecture#3 IPV4 Addressing Asma AlOsaimi.
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.
Planning the Addressing Structure
Ct1304 Lecture#4 IPV4 Addressing Asma AlOsaimi.
Planning the Addressing Structure
Planning the Addressing Structure
Delivering the Data.
Introduction to Networks
IPv4 Addressing By, Ishivinder Singh( ) Sharan Patil ( )
Presentation transcript:

TDC 375 Winter 2002John Kristoff - DePaul University1 The Internet Protocol (IP) John Kristoff DePaul University Chicago, IL 60604

TDC 375 Winter 2002John Kristoff - DePaul University1 Will layer 2 networking suffice?

TDC 375 Winter 2002John Kristoff - DePaul University1 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

TDC 375 Winter 2002John Kristoff - DePaul University1 An IP Router (or gateway) Usually a special purpose, dedicated device Connects heterogenous networks Directs packets toward ultimate destination Dynamic routing algorithms often used They make automatic forwarding decisions They can forward based on various metrics Official pronounciation is really rooter Layer 3 switch = router = layer 3 switch

TDC 375 Winter 2002John Kristoff - DePaul University1 IP Routing Scope Autonomous system, interior, exterior Dynamic routing Protocol for route exchange and computation Static routing Manually configured routes Destination address driven

TDC 375 Winter 2002John Kristoff - DePaul University1 Internet protocol (IP) Standardized in RFC 791 Connectionless Unreliable Fairly simple The Internet Glue

TDC 375 Winter 2002John Kristoff - DePaul University1 IP addresses Virtual – not bound to hardware 32-bit fixed size Unique address for each IP interface Global authories assign a prefix (network) Local administrators assign the suffix (host) Usually written as dotted decimal notation e.g

TDC 375 Winter 2002John Kristoff - DePaul University1 IP address types Unicast (one-to-one) Source address should always be unicast Multicast (one-to-many) Receivers join/listen to multicast group address Broadcast (one-to-all) Special case of a multicast, usually best avoided Anycast (one-to-one-of-many) Preferably one-to-nearest, defined for IPv6

TDC 375 Winter 2002John Kristoff - DePaul University1 IP address notation

TDC 375 Winter 2002John Kristoff - DePaul University1 Special IP addresses

TDC 375 Winter 2002John Kristoff - DePaul University1 Classful IP addressing

TDC 375 Winter 2002John Kristoff - DePaul University1 Classful address sizes

TDC 375 Winter 2002John Kristoff - DePaul University1 Example IP network

TDC 375 Winter 2002John Kristoff - DePaul University1 Example IP router addressing

TDC 375 Winter 2002John Kristoff - DePaul University1 Limitations of classful addressing Internet growth Route table size Address depletion Misappropriation of addresses Lack of support for different sized networks Class B too big, class C too small

TDC 375 Winter 2002John Kristoff - DePaul University1 IP addressing solutions Subnetting Supernetting Classless interdomain routing (CIDR) Variable length subnet masks (VLSM)

TDC 375 Winter 2002John Kristoff - DePaul University1 Subnetting

TDC 375 Winter 2002John Kristoff - DePaul University1 Subnet mask The bit length of the prefix (network) Prefix (network) is no longer classful Dotted decimal or '/' notation 's subnet mask is or /25 You may want to convert to binary for clarity A /25 or subnet mask is:

TDC 375 Winter 2002John Kristoff - DePaul University1 Example: Using subnet masks Given /20, what is the: subnet mask in dotted decimal notation? directed broadcast address in dotted decimal total number of hosts that can be addressed?

TDC 375 Winter 2002John Kristoff - DePaul University1 Supernetting Combine smaller blocks into larger aggregate If class B too big, class C too small... Maybe do this: Combine /24 to /24 Equals /20

TDC 375 Winter 2002John Kristoff - DePaul University1 Example: Using Supernets Given that ISP has /16: If a customer needs to address 300 hosts, how might the ISP assign them address space? What is the address space assigned in the example above in 'slash' notation? How many, if any, maximum free IP addresses will the customer have at their disposal? Can you think of any reason why the customer might have less than that maximum?

TDC 375 Winter 2002John Kristoff - DePaul University1 CIDR Use supernetting for routing tables Routes advertised as smaller CIDR blocks So instead of advertising: /24, /24, /24 and /24 separately Advertise: /22 one time Internet CIDR report

TDC 375 Winter 2002John Kristoff - DePaul University1 Example: Using CIDR Given that an ISP announces netblocks /20, /20, /25 and /26 and /26: What is the smallest number of CIDR announcements that this ISP can make? If these routes are received from another provider, can you think of any reason why they might not be able to be CIDR-ized?

TDC 375 Winter 2002John Kristoff - DePaul University1 VLSM Multiple subnet sizes in a single AS Allows efficient use of address space Can be used to build internal hierarchy External view of AS does not change An organization may have /16 But internally may use /17, /24, /24 and so on.

TDC 375 Winter 2002John Kristoff - DePaul University1 Example: Using VLSM Given an address space of /16 to work with, assign netblocks and addresses based on the following network: 6 satellite sites and 1 main office center About 7000 hosts exist on entire network today Main site uses approximately 50% of addresses Satellites vary from 200 to 700 total addresses Overall growth for organization is 500 hosts/year

TDC 375 Winter 2002John Kristoff - DePaul University1 Obtaining IP addresses IANA has global authority for assignment Regional registries delegate (ARIN/RIPE/APNIC) ISPs assign addresses to end end users RFC 1918 defines private address netblocks NOT globally unique Must not appear on the public Internet /8, /12, /16

TDC 375 Winter 2002John Kristoff - DePaul University1 IP datagram layout

TDC 375 Winter 2002John Kristoff - DePaul University1 Inside an IPv4 datagram Version field Binary 0100 (equals what in decimal?) Header length Length of the IP header in 32 bit words Will usually be equal 5 (in decimal) Type of Service (now DiffServ field) An indication of quality/class of service Rarely used, but if so usually within single AS

TDC 375 Winter 2002John Kristoff - DePaul University1 Inside an IPv4 datagram [cont.] Total length Total IP datagram length in octets Maximum value is 65535, but rarely > 1500 Identification Used for to identify fragmented packets Experimental use for tracing (D)DoS attacks Flags Bit 0 reserved, others control fragmentation

TDC 375 Winter 2002John Kristoff - DePaul University1 Inside an IPv4 datagram [cont.] Fragment offset Helps piece together fragment datagrams Time to live (TTL) Bounds time/hops of IP datagram in network Counts down to zero and stops being forwarded Protocol type Indicates next level protocol in data portion

TDC 375 Winter 2002John Kristoff - DePaul University1 Inside an IPv4 datagram [cont.] Header checksum Used to verify header validity at each hop Source address 32-bit IP address Destination address 32-bit IP address Options Variable, not oftenly used

TDC 375 Winter 2002John Kristoff - DePaul University1 Demo: Understanding PING Setup packet capture session using tcpdump tcpdump -n -s w ping.cap icmp and \( dst host or src host \) Ping remote host ping View capture using Ethereal

TDC 375 Winter 2002John Kristoff - DePaul University1 Demo: Understanding traceroute Setup packet capture session using tcpdump tcpdump -n -s w traceroute.cap \( udp or icmp \) and \( dst or src \) Trace remote host traceroute -n View capture using Ethereal

TDC 375 Winter 2002John Kristoff - DePaul University1 Other tools and references Find contacts for IP address or netblocks whois Veiw network path from external sites Verify DNS entry to IP address or vice versa nslookup

TDC 375 Winter 2002John Kristoff - DePaul University1 Supporting protocols ARP BOOTP/DHCP DNS ICMP SNMP

TDC 375 Winter 2002John Kristoff - DePaul University1 Final thoughts IP is unreliable IP addressing can be a pain IPv6 doesn't make it any easier IP address is both a who and a where IP addresses provide little security Private IPs and NAT are best avoided IP fragmentation is generally best avoided