IP.

Slides:



Advertisements
Similar presentations
IP Addressing Introductory material.
Advertisements

© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Introduction to IPv4 Introduction to Networks.
Network Layer4-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
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 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.
Winter CMPE 155 Week 8. Winter Router demos: background.
11- IP Network Layer4-1. Network Layer4-2 The Internet Network layer forwarding table Host, router network layer functions: Routing protocols path selection.
EEC-484/584 Computer Networks Lecture 11 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
EEC-484/584 Computer Networks Lecture 11 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
IP Address 0 network host 10 network host 110 networkhost 1110 multicast address A B C D class to to
Network Layer IS250 Spring 2010
Subnetting the subnet RD-CSY /09.  Company with 200 hosts  Assigned class C network /24  Want 6 different LANs  Subnet class C network.
Chapter 21 IP Addressing “If we all did the things we are capable of doing, we would literally astound ourselves” - Thomas Alva Edison,
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),
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.
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 Internet Addresses (You should read Chapter 4 in Forouzan) IP Address is 32 Bits Long Conceptually the address is the pair ( NETID, HOSTID ) Addresses.
IP Addressing Introductory material. An entire module devoted to IP addresses.
G64INC Introduction to Network Communications Ho Sooi Hock Internet Protocol.
Network Layer (3). Node lookup in p2p networks Section in the textbook. In a p2p network, each node may provide some kind of service for other.
4: Network Layer4a-1 Hierarchical Routing r aggregate routers into regions, “autonomous systems” (AS) r routers in same AS run same routing protocol m.
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 6 Internet Protocol (IP) Addressing.
19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Data Communications and Networks Chapter 7 – IP Addressing ICT-BVF8.1- Data Communications and Network Trainer: Dr. Abbes Sebihi.
Network Layer4-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
CIDR Classless Inter Domain Routing Give the IP address space some breathing room! Basic idea: allocate the remaining IP addresses in variable-size blocks.
IP Internet Protocol Fundamental packet format that computers use to exchange information. Is a set of technical rules that defines how computers communicate.
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.
CS470 Computer Networking Protocols
IP. Classless Inter-Domain Routing Classful addressing scheme wasteful – IP address space exhaustion – A class B net allocated enough for 65K hosts Even.
1 CMPT 471 Networking II Addressing assigning networks and sub-networks © Janice Regan, 2012.
1 Lecture, November 20, 2002 Message Delivery to Processes Internet Addressing Address resolution protocol (ARP) Dynamic host reconfiguration protocol.
Routing. Classless Inter-Domain Routing Classful addressing scheme wasteful – IP address space exhaustion – A class B net allocated enough for 65K hosts.
1 Lecture 11 Routing in Virtual Circuit Networks Internet Addressing.
CCNA Discovery Semester 3 Addressing in an Enterprise Network Chapter 4 K. Martin.
Chapter 8: IP Addressing
Introduction to Internetworking. 2 The IP Addressing Scheme (IPv4) (psu.edu) Dotted Decimal Notation: A notation more convenient for humans.
IP Addressing. A 32-bit logical naming convention A dotted-decimal notation is used: – –Each number represents 8 bits. Number is Part.
Discovery 2 Internetworking Module 4 JEOPARDY K. Martin.
IP – Subnetting and CIDR
Scaling the Network: Subnetting and Protocols
IP Addressing Introductory material.
Scaling the Network: Subnetting and Other Protocols
4.3 Network Layer Logical Addressing
Network Layer, and Logical Addresses
Network Layer: IP Addressing
Internet Networking recitation #1
PART IV Network Layer.
CS4470 Computer Networking Protocols
Ct1304 Lecture#4 IPV4 Addressing Asma AlOsaimi.
NET302 Lecture#3 IPV4 Addressing Asma AlOsaimi.
The IP addresses are unique. The address space of IPv4 is 2 32 or 4,294,967,296.
IP Addressing Introductory material.
IP Addressing Introductory material.
EEC-484/584 Computer Networks
EEC-484/584 Computer Networks
Lecture#3 IPV4 Addressing Net 302- Asma AlOsaimi.
Supernetting Recall: subnetting allows an organization to share a single IP network address among multiple physical networks Supernetting (a.k.a. classless.
INTERNET PROTOCOL Presented by: Md:Faruque-A-Azam ID:1642CSE00570 Batch:42 CSE,MIU.
IP Addressing Introductory material
Ct1304 Lecture#4 IPV4 Addressing Asma AlOsaimi.
Scaling the Network: Subnetting and Other Protocols
Dr. John P. Abraham Professor UTPA
Lecture#3-IPV4 Addressing
Presentation transcript:

IP

Internet Protocol (IP) Universal service in a heterogeneous world IP over everything Globally unique logical address for a host

IP Addressing A 32-bit number that uniquely identifies a location Written using dotted decimal notation

IP Addressing IP address is assigned to each network interface Routers connect two or more physical networks Each interface has its own address Multi-homed host A host having multiple connections to Internet Multiple addresses identify the same host Does not forward packets between its interfaces

IP Packet

IP “Classful” Addressing Scheme Three unicast address classes: A, B, and C One multicast: class D network host 10 110 1110 multicast address A B C D class 1.0.0.0 to 127.255.255.255 128.0.0.0 to 191.255.255.255 192.0.0.0 to 223.255.255.255 224.0.0.0 to 239.255.255.255 32 bits

IP Addressing first 24 bits are network address LAN 223.1.1.1 223.1.2.1 223.1.1.2 223.1.1.4 223.1.2.9 223.1.2.2 223.1.1.3 223.1.3.27 LAN 223.1.3.1 223.1.3.2

Classless Inter-Domain Routing Classful addressing scheme wasteful IP address space exhaustion A class B net allocated enough for 65K hosts Even if only 2K hosts in that network Solution: CIDR Eliminate class distinction No A,B,C Keep multicast class D

Classless Addressing Addresses allocated in blocks Number of addresses assigned always power of 2, and always on the boundary. That is, if 2048 addresses, it will start with some address with all lower 11 bits being 0. Network portion of address is of arbitrary length Address format: a.b.c.d/x x is number of bits in network portion of address 11001000 00010111 00010000 00000000 network part host 200.23.16.0/23

Allocating Addresses Assume abundant addresses are available starting at 194.24.0.0. Cambridge university needs 2048 addresses, it is given 194.24.0.0 to 194.24.7.255. Mask 255.255.248.0. Oxford need 4096 addresses. Because the requirement is that must be on the boundary, it is given 194.24.16.0 to 194.24.31.255. Mask 255.255.240.0. Edinburg needs 1024 addresses, is given 194.24.8.0 to 194.24.11.255. Mask 255.255.252.0.

CIDR A router keeps routing table with entries IP address, 32-bit mask, outgoing line When an IP packet arrives, the router checks its routing table to find the longest match. Match means anding the IP address with the network address mask (1111…10000), and check if the result is the same as the network address.

CIDR Example. Cambridge 194.24.0.0/21 194.24.0.0 -- 194.24.7.255 Edinburgh 194.24.8.0/22 194.24.8.0 -- 194.24.11.255 (Available) 194.24.12.0/22 194.24.12.0 -- 194.24.15.255 Oxford 194.24.16.0/20 194.24.16.0 -- 194.24.31.255 When a packet addressing to 194.24.17.4 arrives, where should it be sent to? And with all masks, find one that matches the longest.

CIDR – Entry aggregation How does a router in Tallahassee route packet to C,E and O, assuming that he has only two outgoing links? All to New York. Can it reduce the size of its routing table? C E N O H T

CIDR Entry Aggregation From 194.24.0.0 to 194.24.31.255, all to N. So aggregate the three entries into one 194.24.0.0/19. The N router can do the same thing. C E N O H T

CIDR If later the free address space 194.24.12.0/22 194.24.12.0 -- 194.24.15.255 is assigned to Pittsburgh and has to go through Houston, what should the router at Tallahassee do? C E N P O H T

CIDR When a packet arrives addressing 194.24.15.8, the router checks the routing table and there will be two matches: 194.24.12.0/22 and 194.24.0.0/19. Pick the longest match.