15/12/2015 FdSc Appplied Computing with MMT - Wide Area Networks 1 FdSc Computing Technologies Wide Area Networks and Security IPv4, CIDR, VLSM Last update.

Slides:



Advertisements
Similar presentations
Chapter 19 Network Layer: Logical Addressing Stephen Kim.
Advertisements

© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 VLSM and CIDR Routing Protocols and Concepts – Chapter 6.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 VLSM and CIDR Routing Protocols and Concepts – 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 Addressing IP Subnetting Static Subnet Variable Length Subnet Masks(VLSMs)
CSE5803 Advanced Internet Protocols and Applications (7) Introduction The IP addressing scheme discussed in Chapter 2 are classful and can be summarised.
VLSM and CIDR CSE 421 CCNA Exploration 2 Chapter 6
TDC365 Spring 2001John Kristoff - DePaul University1 Interconnection Technologies Routing I.
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,
Introduction to Networking (Yarnfield) Variable Length Subnet Masking (VLSM)
Network Addressing Issues in /err_con/crc.htm.
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.
Introduction to Networking
Types of Addresses in IPv4 Network Range
Ch.9 – IP Addressing Part 2 CCNA 1 version 3.1 Rick Graziani Spring 2005.
4: Addressing Working At A Small-to-Medium Business or ISP.
CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 VLSM and CIDR Routing Protocols and Concepts – Chapter 6 Modified by.
© 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.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Planning the Addressing Structure Working at a Small-to-Medium Business or ISP – Chapter.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Addressing in an Enterprise Network Introducing Routing and Switching in the.
CSISCSIS Dr. ClincyLecture1 SUPERNETTING Although class A and B addresses are dwindling – there are plenty of class C addresses The problem with C addresses.
IP Addressing & Subnetting
Chapter 6 VLSM and CIDR.
Chapter 6 VLSM and CIDR CIS 82 Routing Protocols and Concepts Rick Graziani Cabrillo College Last Updated: 3/30/2008.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 VLSM and CIDR Routing Protocols and Concepts – Chapter 6 05/07/2009.
© 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.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Planning the Addressing Structure Working at a Small-to-Medium Business.
1 Network Layer Lecture 15 Imran Ahmed University of Management & Technology.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 VLSM and CIDR Routing Protocols and Concepts – Chapter 6.
Chapter 5 IPv4 Address.
IP Internet Protocol Fundamental packet format that computers use to exchange information. Is a set of technical rules that defines how computers communicate.
1 Network Principles FdSc Computing Technologies TCP-IP – Addressing & Sub-Netting Carl Smith – 2004 (Revised 2013)
IP Addressing.
Data Communications and Computer Networks Chapter 4 CS 3830 Lecture 19 Omar Meqdadi Department of Computer Science and Software Engineering University.
Network Layer in the Internet (3)
CCNA Discovery Semester 3 Addressing in an Enterprise Network Chapter 4 K. Martin.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Subnetting IP Networks.
1 Variable Length Subnet Masks ( VLSM ) “ Classful Route” Means if a route to a network starting with is received, it is a class A => mask length.
Lecture#7: Subnetting IP Networks
Introduction to Internetworking. 2 The IP Addressing Scheme (IPv4) (psu.edu) Dotted Decimal Notation: A notation more convenient for humans.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 9: Subnetting IP Networks Introduction to Networks.
Discovery 2 Internetworking Module 4 JEOPARDY K. Martin.
Planning the Addressing Structure
IP Addressing, Sub-netting & VLSM
IP – Subnetting and CIDR
4.3 Network Layer Logical Addressing
IP Addressing.
Instructor Materials Chapter 8: Subnetting IP Networks
Lecture#7: Subnetting IP Networks
Planning the Addressing Structure
4 Network Layer Part I Computer Networks Tutun Juhana
Chapter 8: Subnetting IP Networks
Network Layer in the Internet (3)
Chapter 9: Subnetting IP Networks
Chapter 8: Subnetting IP Networks
Chapter 9: Subnetting IP Networks
IP Addressing Subnetting
Routing Protocols and Concepts – Chapter 6 Modified by Tony Chen
Planning the Addressing Structure
Planning the Addressing Structure
Planning the Addressing Structure
Routing Protocols and Concepts – Chapter 6
IP Addressing.
Routing Protocols and Concepts – Chapter 6
Routing Protocols and Concepts – Chapter 6
IP Addressing & Subnetting
Presentation transcript:

15/12/2015 FdSc Appplied Computing with MMT - Wide Area Networks 1 FdSc Computing Technologies Wide Area Networks and Security IPv4, CIDR, VLSM Last update : 15/04/2013

15/12/2015 FdSc Appplied Computing with MMT - Wide Area Networks 2 Objectives This lecture aims to cover:- IPv4 re-cap Limitations of IPv4 and address space depletion Extending the design of IPv4 - CIDR Optimising IPv4 - VLSM Introduction to IPv6

15/12/2015 FdSc Appplied Computing with MMT - Wide Area Networks 3 Introduction… Logical addressing is an OSI LAYER 3 technology:-  IPv4 uses a 32 bit addressing scheme  e.g  It incorporates a 32 bit subnet mask to determine the network and host portion of the address  e.g or /8 (8 consecutive 1’s)  It was ratified in the late 1970’s and therefore could not foresee the addressing needs of the global public Internet. It was “deployed on 1 st Jan 1983” (source: iana.org)

15/12/2015 FdSc Appplied Computing with MMT - Wide Area Networks 4 Limitations of IPv4 Classful addressing:  Theoretical address space is 2^ 32 = 4,294,967,296 individual addresses  The original “Classful” addressing schemes created much wasted address apace  e.g. One “class A” network allows for 16.7 million hosts 2^ 24 = 16,777,216 hosts per network Also, to connect to the Internet all hosts on a LAN need a unique public Internet address

15/12/2015 FdSc Appplied Computing with MMT - Wide Area Networks 5 LANS, NAT and PAT Obviously giving every host on a LAN a public IP address to connect to the Internet is very wasteful in IPv4 A method of sharing a single public IP address or a POOL of public IP addresses was developed This was called Network Address Translation It involved dynamically replacing the IP packet’s private address with a public address when access to the Internet was required

15/12/2015 FdSc Appplied Computing with MMT - Wide Area Networks 6 Address Translation, NAT and PAT Source: Cisco.com NAT is essentially a 1 to 1 mapping between private and public addresses PAT extends this to a “1 to many” mapping using dynamic port allocation

15/12/2015 FdSc Appplied Computing with MMT - Wide Area Networks 7 NAT Adapted from: Cisco.com NAT provides one to one mapping i.e to

15/12/2015 FdSc Appplied Computing with MMT - Wide Area Networks 8 Port Address Translation (PAT) PAT provides “many to 1” or “many to few” Internet access for larger organisations Source: Cisco.com

15/12/2015 FdSc Appplied Computing with MMT - Wide Area Networks 9 Address space depletion and CIDR As the need for addresses grew in the 1990’s, IPv4 address space was becoming depleted Innovative ways of extending the protocol started some 15 years ago In addition to Address Translation techniques, one method was introduced called ‘classless inter-domain routing’ or CIDR This involved using subnet bits independent of the address class e.g /22 This therefore allowed the creation of smaller networks or “subnets” from a single network

15/12/2015 FdSc Appplied Computing with MMT - Wide Area Networks 10 Variable Length Subnet Masks CIDR however is sometimes inefficient and wastes valuable IP address space e.g /22 allows for 2^ host addresses (1022) per subnet However some networks in a WAN environment may need far fewer than that They may only need TWO host addresses That is where VLSM can be used to produce an optimised addressing scheme

15/12/2015 FdSc Appplied Computing with MMT - Wide Area Networks 11 Variable Length Subnet Masking example adapted from Cisco, ( ) A class C (/24) address space has been sub-netted as a /27 network. This gives 2 ^3 networks i.e. A,B, C, D, E and 3 unused We have used 5 but do not require the full address space in each ( shown by the shading in each block )

15/12/2015 FdSc Appplied Computing with MMT - Wide Area Networks 12 Variable Length Subnet Masking example PROBLEM netA: must support 14 hosts netB: must support 28 hosts netC: must support 2 hosts netD: must support 7 hosts netE: must support 28 hosts VLSM METHOD ( provides an individual scheme for each network ) Determine what mask allows the required number of hosts.  netA: requires a /28 ( ) mask to support 14 hosts  netB: requires a /27 ( ) mask to support 28 hosts  netC: requires a /30 ( ) mask to support 2 hosts  netD*: requires a /28 ( ) mask to support 7 hosts  netE: requires a /27 ( ) mask to support 28 hosts (NOTE if you thought netD needs a /29 ( ) mask. Remember this would only allow 6 usable host addresses therefore netD requires a /28 mask)

15/12/2015 FdSc Appplied Computing with MMT - Wide Area Networks 13 Variable Length Subnet Masking example The logical way to assign the subnets is to assign the largest first. For example, you could assign in this manner: ASSIGN NEW VLSM MASKS  netB: /27 host address range 1 to 30  netE: /27 host address range 33 to 62  netA: /28 host address range 65 to 78  netD: /28 host address range 81 to 94  netC: /30 host address range 97 to 98 MORE EFFICIENT USE OF SPACE.!

15/12/2015 FdSc Appplied Computing with MMT - Wide Area Networks 14 Mixing address classes and CIDR A further method to optimise address space involves utilising two address ranges e.g. A sub-netted class B for the Local Area Networks (LANS) AND a sub-netted class C range (for example) for the point to point WAN links VLSM is not fully supported by older protocols and routers so the network manager would decide on the optimal scheme for the WAN design.

15/12/2015 FdSc Appplied Computing with MMT - Wide Area Networks 15 IPv6 Address depletion in the 1990’s invoked the design of a replacement protocol for IPv4 IPv6 was approved in 1995 ( Elahi, 2001 ) However, “NAT”, “CIDR” and “VLSM” techniques have since fulfilled address space and route optimisation needs using IPv4 IPv6 has therefore been slow to mature and be accepted by ISP’s and the general networking community

15/12/2015 FdSc Appplied Computing with MMT - Wide Area Networks 16 IPv6 “ARIN again warns of IPv4 address depletion” [Campbell, 2009, gcn.com] However, several “scares” from the American Registry for Internet Numbers and other bodies were promoting the adoption of IPv6 by 2011 [ARIN, 2010] Despite warnings, few seem to be adopting IPv6 as IPv4 is so well known and understood Whether it be next year or well beyond that, IPv4 will not provide our addressing needs forever

15/12/2015 FdSc Appplied Computing with MMT - Wide Area Networks 17 Summary A brief IPv4 and sub-netting re-cap Limitations of IPv4 and address space depletion Extending the design of IPv4 – NAT and CIDR Optimising IPv4 – VLSM schemes IPv6

15/12/2015 FdSc Appplied Computing with MMT - Wide Area Networks 18 Lab tasks - IPv4 VLSM design In pairs, consider IPv4 VLSM and a multiple class addressing schemes for your WAN design The aim is to design the most optimised and therefore LEAST wasteful scheme You will ultimately implement your design in software and use the hardware the LAB Further study – VLSM workbook on Moodle