Integrated Network Services Network Design Almerindo Graziano.

Slides:



Advertisements
Similar presentations
Introduction to Classless Routing
Advertisements

The subnet /28 has been selected to be further subnetted to support point-to-point serial links. What is the maximum number of serial links.
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.
IP Addressing Introductory material.
© 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.
IPv4 Addresses. Internet Protocol: Which version? There are currently two versions of the Internet Protocol in use for the Internet IPv4 (IP Version 4)
Chapter 21 Exercises 1. A router forwards packets between networks. (Given a destination host address, it must be able to figure out which network that.
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.
1 CCNA 3 v3.1 Module 1. 2 CCNA 3 Module 1 Introduction to Classless Routing.
VLSM Example Solution Almerindo Graziano. VLSM: Interconnection Requirements Interconnection Requirements –In each town the buildings are interconnected.
11- IP Network Layer4-1. Network Layer4-2 The Internet Network layer forwarding table Host, router network layer functions: Routing protocols path selection.
CSE5803 Advanced Internet Protocols and Applications (7) Introduction The IP addressing scheme discussed in Chapter 2 are classful and can be summarised.
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
From Subnetting to VLSM
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.
Types of Addresses in IPv4 Network Range
ECE 4110 – Internetwork Programming Subnetting, Supernetting, and Classless Addressing.
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.
© 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.
Routing Table CCNA Exploration Semester 2 Chapter 8
© 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.
Classless and Subnet Address Extensions (CIDR)
© 2007 Cisco Systems, Inc. All rights reserved.ICND2 v1.0—3-1 Medium-Sized Routed Network Construction Implementing VLSM.
IP Addressing Introductory material. An entire module devoted to IP addresses.
IPv4 Addresses. Internet Protocol: Which version? There are currently two versions of the Internet Protocol in use for the Internet IPv4 (IP Version 4)
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Addressing in an Enterprise Network Introducing Routing and Switching in the.
Introduction to Classless Routing
CCNA 1 Module 10 Routing Fundamentals and Subnets.
111 What Is VLSM and Why Is It Used?. 222 Classful and Classless Routing Classful (basic subnetting) Classful routing protocols require that a single.
Variable-Length Subnet Masking (VLSM)
Chapter 18 IP: Internet Protocol Addresses
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.
1 Managing IP Addresses and Broadcasts Chapter 2.
VLSM and RIPv2 Warren Toomey GCIT. Introduction Switches deliver frames to stations. Routers deliver packets to networks. Only the final router has to.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Addressing in an Enterprise Network Introducing Routing and Switching in the.
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.
Chapter 9. Implementing Scalability Features in Your Internetwork.
Advanced TCP/IP Planning and Design Variable Length Subnet Mask (VLSM) Supernetting Classless Enter Domain Routing (CIDR)
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 VLSM and CIDR Routing Protocols and Concepts – Chapter 6.
IP Addressing Introductory material.
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
IP Addressing.
1 © 2003 Cisco Systems, Inc. All rights reserved. Session Number Presentation_ID Classless Routing.
CCNA Discovery Semester 3 Addressing in an Enterprise Network Chapter 4 K. Martin.
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.
IP – Subnetting and CIDR
IP Addressing Introductory material.
Instructor Materials Chapter 8: Subnetting IP Networks
IP.
Chapter 8: Subnetting IP Networks
CS4470 Computer Networking Protocols
IP Addressing Introductory material.
Chapter 8: Subnetting IP Networks
IP Addressing Introductory material.
IPv4 Addresses.
Routing Protocols and Concepts – Chapter 6 Modified by Tony Chen
CCNA 3 v3 JEOPARDY Module 1 CCNA3 v3 Module 1 K. Martin.
IP Addressing Introductory material
Routing Protocols and Concepts – Chapter 6
Chapter 5 IP addresses Classless Addressing
Routing Protocols and Concepts – Chapter 6
Routing Protocols and Concepts – Chapter 6
Presentation transcript:

Integrated Network Services Network Design Almerindo Graziano

Menu Issues in Network Design Designing an addressing scheme with IP4 –Classful vs Classless addressing How to choose and addressing scheme How to choose an adequate routing protocol Examples Recap

Designing a new Network How many networks do currently exist? How many will exist in the next 3-12 months? How many hosts on each network? How many will exist in the next 3-12 months? –Is the number constant or does it vary with the network? Does the logical topology reflect the physical topology?

Designing a new Network Do you have a client/server environment? –Where are the server located? –Do you need access every network from every network? Any security issues? Any mobile users? Do you need Internet access? –Do you have your own NIC address or are you connected via an ISP Which network protocol will you be adopting?

Designing an Addressing Scheme with IP Current version is IP4 32-bit long  2 32 binary combinations  4billion 3 classes of addresses in use (Classful) –Class A to –Class B to –Class C to additional classes –Class D to –Class E to

IP Classful Addresses = 126 Networks = 16,777,214 hosts 2 21 = 2,097,152 Networks = 254 Hosts 2 14 = 16,384 Networks = 65,534 Hosts

Address Notation An IP address can be written in two formats Binary Dotted Decimal

IP4 addresses Addresses allocated by IANA –APNIC (Asia-Pacific) –ARIN (American Registry for Internet Numbers) –RIPE (Reseu IP Europeens)

Limitations Lack of support for medium-size organization –Example: 300 hosts needed a Class B address –Rapid depletion of class B addresses Large routing tables –No way to summarize large number of addresses Routers DO need to know how to reach each network

Next Step: Subnetting How can we use our network address efficiently? –RFC 950 (subnetting) : use some of the host bits to represent a network –More freedom and flexibility within an organization (no need to speak to IANA) Increased complexity within the organization –More stable routing tables (reduced flapping) –Still large routing tables

CIDR What do we do if we need 1600 addresses? CIDR (Classless InterDomain Routing) Why Classless –The network is not identified by the Class (first octect rule) –The network is identified by a subnet mask –The subnet mask identifies the boundary between the network part and the host part

CIDR A company needs 1600 address In the old days: –1600/254 = 6.29  7 Class C addresses –7 Class C addresses  7 new entries on the Internet –Alternatively use 1 Class B address (What a waste!!) Using CIDR –IANA releases 8 Class C addresses –8 Class C addresses  1 new entry on the Internet

CIDR example RIPE will provide this address /21 The subnet mask is Class C address = = = = = = = = Class C addresses are allocated to the company Only 7 are used Only one new entry is advertised to the internet

CIDR Example

CIDR Summarization Smaller routing tables  Less Memory Smaller routing tables  Less CPU Smaller updates  Less traffic More stable routing tables (not always good) –Unecessary traffic can traverse the network for a while

Classless Routing What happens if we decide to use different subnet mask? (Networks are different!!) –First routing protocols didn’t send the subnet mask (RIP1) The mask was configured locally No masks are associated with entries in the routing table It is assumed that the same mask is used on the major network The router has no way of knowing how many bits are used for the host –SHU uses /24

Classful Routing Classful lookup: a packet arrives at in interface 1) The network portion of the destination address is read 2) If the there is no match for the major networks (A, B, C) the packet is dropped (ICMP) 3) A match is found for a major network - All the subnets listed for that network are examined - A match is found and the packet is routed - A match is not found and the packet is dropped The destination address is interpreted according to the subnet masks locally configured on the router

Classful and Classless Routing Protocols Classless routing protocols send the subnet mask in their route advertisements Benefits –All-zeros and All-ones subnets can be used /24 is an all-zeros subnet /16 is the major network number –It is possible to use VLSM (Variable Length Subnet Mask) –It is possible to summarize a group of major networks with one aggregate address A classful routing protocol doesn’t advertise routes between interfaces whose mask don’t match

Classful and Classless Routing Protocols Examples of Classful routing protocols –RIP1 –IGRP –EGP Examples of Classless routing protocols –RIP2 –OSPF –EIGRP –BGP4

Classless Routing Classless lookup: a packet arrives at an interface The router doesn’t pay attention to the class of the destination address The router performs a bit-by-bit comparison between the destination address and all the routing entries

Classless Routing: Example A router has the following routing table D /26 [90/ ] via R /24 [120/4] via O /19 [110/229840] via A packet arrives destined to Which network will it be forwarded to?

VLSM Using a single subnet mask has disadvantages –Inefficient use of address space –No summarization possible Variable Length Subnet Mask (VLSM) –Recursive division of an address space –Allows route aggregation –Efficient use of the address space –Requires new-generation protocols (RIP2, OSPF, EIGRP etc.)

Rules for VLSM A subnet can be used for –Address host –Further subnetting It is possible to use the all-zeros and all-ones subnets –The rule has to be obeyed only once! –Usually use the least significant bits

VLSM: Example A organization is spread across –England, Ireland, Scotland and Wales –In each of these countries the organization has a presence in no more than 3 towns –In each town the company has max 4 buildings (the number may increase) –No building has more than 4 floors –No floor has more than 20 hosts The organization is assigned

VLSM: Example Step 1 –Identify the number of bits we need for identifying Countries, Towns, Buildings etc. –We can play with 16 bits Host Floor Building Town Country

VLSM: Example Step 2 –Identify where we will apply the subnet rule We will use the floor bits Step 3 –Identify addresses for WAN connections Example: borrow a subnet from available ones: –4 country Subnets –1 town subnet per country –2 floors per building Document the choice made

VLSM: Example NIC Number Country: /19Ireland /19Scotland /19Wales /19England /19 not used /19not used /19not used /19not used

VLSM: Example NIC Number Town: 011/ /21London / /21Sheffield / /21Birmingham / /21not used Building 011/01/ /24 Owen / /24Howard / /24Harmer / /24Stoddart / /24For future use / /24For future use / /24For future use / /24For future use

VLSM: Example NIC Number Floors in the Harmer building 011/01/010./ /27Cannot be used / /271st Floor / /272nd Floor / /273rd Floor / /274th Floor / /27not used / /27not used / /27Cannot be used

VLSM: Example NIC Number Hosts on the 4th floor in the Harmer building 011/01/010./100/ /27The Floor / st host / nd host / rd host... / Broadcast

Interconnection Requirements In each town the buildings are interconnected in a mesh via Frame Relay with dial-up connections for back up. –Each building needs 3(buildings) x 2 = 6 addresses Potentially 7( buildings) x 2 = 14 addresses (if we have 8 buildings) –Each town needs 4(buildings) x 6 = 24 addresses Potentially 8(buildings) x 14 = 112 addresses (if we have 8 buildings) Each town has a central site, located within one of the buildings, which connects to the other towns via Frame_Relay with dial-up connections for back up –Each town needs at least 2(towns) x 2 = 4 addresses for serial connections –Each country needs a total of 3(towns) x 4 = 12 addresses for serial connections Each town is connected to the rest of the company via an ISP, using VPN technology. Some resilience is also needed –Each country needs at least 3 x 2 = 6 addresses Total addresses per country = = 130

Summary of requirements Within each town we need: –112 addresses between buildings (64 networks) For each country we need: –12 addresses for connections between towns (6 networks) –6 addresses for connections between a town and the ISP (3 networks) For each country we can use a different subnet of the ones available in the country subnets

VLSM: Example NIC Number Country: /19Ireland /19Scotland /19Wales /19England /19 Ireland connections /19Scotland connections /19Wales connections /19England connections

Example: England /19 can be further subnetted for serial connections 13 bits to play with Each serial connection will have a subnet mask of /30 We have 2 11 possible networks / /30 Cannot be used / / / / / / /30 Cannot be used

Recap Issues in Network design Designing an Addressing scheme with IP4 Subnetting CIDR Classful vs Classless VLSM Examples References: Understanding IP Addressing: Everything You Ever Wanted To Know. 3COM whitepaper