TDC 563 Protocols and Techniques for Data Networks

Similar documents
Computer Networks and Data Systems

Computer Networks and Data Systems

IP Addresses McGraw-Hill The McGraw-Hill Companies, Inc., 2000

Communication at the network layer is host-to-host Length of address. Total number of addresses used by the protocol. IPv4 & IPv6

VLSM and CIDR. Routing Protocols and Concepts Chapter 6. Version Cisco Systems, Inc. All rights reserved. Cisco Public 1

NETWORK LAYER: IP Addressing

Top-Down Network Design

CCE1030 Computer Networking

Lecture 8 Network Layer: Logical addressing

OSI Data Link & Network Layer

Internet Addresses Reading: Chapter 4. 2/11/14 CS125-myaddressing

OSI Data Link & Network Layer

Network Layer: Logical Addressing

CS 457 Networking and the Internet. Addressing. Topics 9/15/16. Fall 2016 Indrajit Ray

Internet Network Protocols IPv4/ IPv6

OSI Data Link & Network Layer

IP Addressing Week 6. Module : Computer Networks Lecturer: Lucy White Office : 324

Network Layer: Logical Addressing

RMIT University. Data Communication and Net-Centric Computing COSC 1111/2061. Lecture 2. Internetworking IPv4, IPv6

Networking and IP Addressing TELECOMMUNICATIONS AND NETWORKING

5.7 K E Y TE R M S 5.8 SUM M A R Y

Lecture 1: Introduction

Internet Fundamentals

A few notes. The following slides are NOT from the online curriculum. However, they do cover the same topics using different examples.

Guide to TCP/IP Fourth Edition. Chapter 2: IP Addressing and Related Topics

Objectives. Note: An IP address is a 32-bit address. The IP addresses are unique. The address space of IPv4 is 2 32 or 4,294,967,296.

TSIN02 - Internetworking

Internet Addresses (You should read Chapter 4 in Forouzan)

Chapter 18. Introduction to Network Layer

Computer Networks Lecture -5- IPv4 Addresses. Dr. Abbas Abdulazeez

Chapter 18 and 22. IPv4 Address. Data Communications and Networking

McGraw-Hill The McGraw-Hill Companies, Inc., 2000

Ch.5 Internet Addressing 吳俊興 國立高雄大學資訊工程學系

Chapter 7: IP Addressing CCENT Routing and Switching Introduction to Networks v6.0

EITF25 Internet Techniques and Applications L7: Internet. Stefan Höst

Chapter 19 Network Layer: Logical Addressing 19.1

Integrated Services. Integrated Services. RSVP Resource reservation Protocol. Expedited Forwarding. Assured Forwarding.

Chapter 3 - Implement an IP Addressing Scheme and IP Services to Meet Network Requirements for a Small Branch Office

Network Layer/IP Protocols

IPv6 : Internet Protocol Version 6

History. IPv6 : Internet Protocol Version 6. IPv4 Year-Wise Allocation (/8s)

TCP/IP. Model and Layers Bits and Number Bases IPv4 Addressing Subnetting Classless Interdomain Routing IPv6

CIDR. The Life Belt of the Internet 2005/03/11. (C) Herbert Haas

Chapter 6. Variable Length Subnet Masking (VLSM) Classless Inter-Domain Routing (CIDR) CCNA2-1 Chapter 6

CCNA Exploration Network Fundamentals. Chapter 06 Addressing the Network IPv4

RSC Part II: Network Layer 3. IP addressing (2nd part)

IP Addressing and Subnetting. 2002, Cisco Systems, Inc. All rights reserved.

Figure 11 Two-level addressing in classful addressing

Chapter 06 IP Address

CIDR VLSM AS. รศ.ดร. อน นต ผลเพ ม Asso. Prof. Anan Phonphoem, Ph.D.

FIGURE 3. Two-Level Internet Address Structure. FIGURE 4. Principle Classful IP Address Formats

6.6 Subnetting and Variable Length Subnet Masks (VLSMs)

Outline. IP Address. IP Address. The Internet Protocol. o Hostname & IP Address. o The Address

Computer Network Fundamentals Spring Week 4 Network Layer Andreas Terzis

Chapter 4: VLSM and Classless Inter Domain Routing. ITE PC v4.0 Chapter Cisco Systems, Inc. All rights reserved.

Internet Protocol Addressing and Routing. Redes TCP/IP

IP addressing. Overview. IP addressing Issues and solution Variable Length Subnet Mask (VLSM)

Chapter 19 Network Layer: Logical Addressing 19.1

IP version 6. The not so new next IP version. dr. C. P. J. Koymans. Informatics Institute University of Amsterdam.

IPv6 Addressing. The IPv6 Address Space. Chapter 3. At the end of this chapter, you should be able to do the following:

IP addresses and Subnetting

Addressing & Subnetting

Using IP Addressing in the Network Design

Module 4. Planning the Addressing Structure

CS 520: Network Architecture I Winter Lecture 11: IP Address Conservation

Network Layer Part A (IPv6) Network Layer 4-1

Basics of communication. Grundlagen der Rechnernetze Introduction 31

LOGICAL ADDRESSING. Faisal Karim Shaikh.

IP Addresses. IP Addresses

Support for Classless Internet Addresses. in the RIPE Database. Tony Bates Daniel Karrenberg Marten Terpstra. Document ID: ripe-121 ABSTRACT

5. Providing a narrower address space is the primary design goal for IPv6.

COMP 631: NETWORKED & DISTRIBUTED SYSTEMS 9/6/16 COMP 631: NETWORKED & DISTRIBUTED SYSTEMS. IP Addressing. Jasleen Kaur. Fall 2016

CSCD 330 Network Programming Spring 2017

CSCD 330 Network Programming Spring 2018

Network Protocols. Routing. TDC375 Autumn 03/04 John Kristoff - DePaul University 1

CS 5520/ECE 5590NA: Network Architecture I Spring Lecture 10: IP Routing and Addressing Extensions

IP Addressing & Forwarding

Why IPv6? Roque Gagliano LACNIC

CC231 Introduction to Networks Dr. Ayman A. Abdel-Hamid. Internet Protocol Suite

The identifier used in the IP layer of the TCP/IP protocol suite to identify each device connected to the Internet is called the Internet address or

Planning for Information Network

IPv6 Addressing. Design: Amir Mohammad Mohabbat

IPv6: An Introduction

TCP/IP Protocol Suite

IPv6 Feature Facts

Redesde Computadores (RCOMP)

Outline. Addressing on the network layer ICMP IPv6 Addressing on the link layer Virtual circuits

Data Communication & Computer Networks Week # 13

SCALABLE INTERNET ROUTING

IPv6: Why Do We Need A New IP? V1.2: Geoff Bennett

Network Layer: Logical Addressing

No need to operate a DHCP server. If a server s IP address changes, clients will lose the ability to access it!

Chapter 5. Subnetting/Supernetting and Classless Addressing

Multihoming. Copy Rights

Top-Down Network Design

Binary Octet to Decimal Format Conversion

Chapter 4 Reading Organizer

setting IP addresses copyright 2015 Robert Montante

Chapter 4 Network Layer: The Data Plane

IPv4/v6 Considerations Ralph Droms Cisco Systems

Transcription:

TDC 563 Protocols and Techniques for Data Networks Network Addressing TDC563 Autumn 2015/16 John Kristoff - DePaul University 1

Why have addresses at layer 3? Aren't there already globally unique addresses at L2? If not, should there be? TDC563 Autumn 2015/16 John Kristoff - DePaul University 2

Characteristics Fixed versus variable length address fields Hierarchical addressing and aggregation Centralized and distributed address assignment Derived and assigned addressing Address syntax, notation and representation An address as an identifier or locator Host or interface address association Privacy TDC563 Autumn 2015/16 John Kristoff - DePaul University 3

IP address semantics Virtual, not specific to a hardware device 32-bit or 128-bit fixed address length (IPv4/IPv6) Unique address for each interface (typically) Registry or upstream ISP assigns net bits (prefix) Local admin assigns subnet and host bits (suffix) IPv4 usually written in dotted decimal (dotted quad) e.g. 140.192.5.1 IPv6 usually written as colon-separated text strings e.g. 2001:DB8::1 TDC563 Autumn 2015/16 John Kristoff - DePaul University 4

Special Addresses Special because we decree them to be so Loopback 127.0.0.1/8 - ::1 Private use (e.g. IETF RFC 1918) IPv4 Broadcast Limited local 255.255.255.255 Directed net_id {all 1's in the host_id} All 0's (0.0.0.0 or ::) usually used for bootstrapping Others include (not exhaustive): this network, multicast, documentation use TDC563 Autumn 2015/16 John Kristoff - DePaul University 5

More Special Addresses - IPv6 ::ffff/96 e.g. ::ffff:192.0.2.1 For application transition usage ffc00::/7 unique local (ULAs) similar to RFC 1918 fe80::/10 link local widely used for link local communications TDC563 Autumn 2015/16 John Kristoff - DePaul University 6

Classful addressing is obsolete! STOP saying Class A, Class B or Class C. Use the slash notation. TDC563 Autumn 2015/16 John Kristoff - DePaul University 7

Historic: Classful IPv4 addressing *diagram courtesy of http://www.netbook.cs.purdue.edu TDC563 Autumn 2015/16 John Kristoff - DePaul University 8

Historic: Classful address sizes *diagram courtesy of http://www.netbook.cs.purdue.edu TDC563 Autumn 2015/16 John Kristoff - DePaul University 9

Classful addressing is obsolete! STOP saying Class A, Class B or Class C. Use the slash notation. TDC563 Autumn 2015/16 John Kristoff - DePaul University 10

Classful addressing limitations Internet growth and address depletion Route table size (potentially lots of class C nets) Misappropriation of addresses Lack of support for varying sized networks class B is often too big, class C often too small TDC563 Autumn 2015/16 John Kristoff - DePaul University 11

IP addressing solutions Subnetting Supernetting Classless interdomain routing (CIDR) Variable length subnet masks (VLSM) Temporary addresses (e.g. BOOTP, DHCP) NATs with port address translation (blech!) IPv6 TDC563 Autumn 2015/16 John Kristoff - DePaul University 12

Subnetting TDC563 Autumn 2015/16 John Kristoff - DePaul University 13

Subnet masks The bit length of the prefix or the 'network' bits No more A, B or C class addresses important Use of the slash '/' notation to address and network 140.192.5.1 with mask of 255.255.255.128 is: 140.192.5.1/25 A /25 mask in binary is: 11111111.11111111.11111111.10000000 TDC563 Autumn 2015/16 John Kristoff - DePaul University 14

Subnet masks example Given 140.192.50.8/20 what is the... subnet mask in dotted decimal notation? directed broadcast address in dotted quad? total number of hosts that can be addressed? TDC563 Autumn 2015/16 John Kristoff - DePaul University 15

Supernetting Combine smaller address blocks into an aggregate If class B is too big and class C is too small... Combine 199.63.0.0/24 to 199.63.15.0/24 To form 199.63.0.0/20 TDC563 Autumn 2015/16 John Kristoff - DePaul University 16

CIDR classless inter-domain routing Routers announce prefixes maintain and announce millions of /24's or...? Aggregate thank you, supernetting So instead of adding multiple class C blocks... Check out The Internet CIDR report: http://www.cidr-report.org TDC563 Autumn 2015/16 John Kristoff - DePaul University 17

CIDR example Given an ISP that announces: 64.5.0.0/20 64.5.16.0/20 192.0.2.0/25 192.0.2.192/26 192.0.2.128/26 What is the least number of CIDR announcements that can be made for this ISP? Why might address blocks not be aggregated? TDC563 Autumn 2015/16 John Kristoff - DePaul University 18

VLSM variable length subnet masks 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 140.192.0.0/16, but... Internally may use: 140.192.0.0/17 140.192.128.0/24 140.192.129.0/25 and so on... TDC563 Autumn 2015/16 John Kristoff - DePaul University 19

VLSM example Given an assignment of 140.192.0.0/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 TDC563 Autumn 2015/16 John Kristoff - DePaul University 20

Obtaining IP addresses IANA has global authority for assignment RIRs delegate to LIRs and ISPs ISPs assign addresses to end users and small nets IETF RFC 1918 defines private address blocks NOT globally unique NOT for hosts attached directly to public Internet 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16 Also see IETF RFCs 5735 and 6598 TDC563 Autumn 2015/16 John Kristoff - DePaul University 21

IPv4 Address Exhaustion Post-depletion options Wait-list Transfers After market solutions IPv6 Dual-stack, will be a semi-permanent position More and more NAT IPv6 transition jerks and starts TDC563 Autumn 2015/16 John Kristoff - DePaul University 22

IPv6 Address Allocation IANA, RIR, ISP policies similar as in IPv4 /64 is the de facto and assumed LAN subnet size /127 used in BGP peering (of /64 reserved) /48 widely used minimum network allocation Most are NOT worried about IPv6 exhaustion TDC563 Autumn 2015/16 John Kristoff - DePaul University 23

WHOIS for address information A rudimentary plain text over TCP service See IETF RFC 3912 (WHOIS) WHOIS servers run by IANA, RIRs, LIRs and ISPs Some clients follow referral to a specific maintainer See IETF RFC 2167 (Rwhois) e.g. ARIN.net for North American RIR delegations http://whois.arin.net/rest/net/net-140-192-0-0-1/pft.txt TDC563 Autumn 2015/16 John Kristoff - DePaul University 24

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 TDC563 Autumn 2015/16 John Kristoff - DePaul University 25

NAT network address translation Originally a solution to a shortage problem became a security dilettante's best practice It can help alleviate renumbering problems but if the net is that big, get your own allocation NAT back slaps the e2e argument in the face What has been a big motivating factor for IPv6? is NAT for IPv6 rational? IETF, try as you might to standardize it away... TDC563 Autumn 2015/16 John Kristoff - DePaul University 26

Final thoughts IP addressing is a pain, IPv6 isn't much easier IP addresses today are both a who and a where IP addresses make for poor trust relationships Private addresses and NATs, blech! Get a real net TDC563 Autumn 2015/16 John Kristoff - DePaul University 27