Discovery Routing Switching Chapter4

  • Upload
    visky

  • View
    225

  • Download
    0

Embed Size (px)

Citation preview

  • 8/14/2019 Discovery Routing Switching Chapter4

    1/22

    2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE I Chapter 6 1

    Addressing in an

    Enterprise Network

    Introducing Routing and Switching in the Enterprise Chapter 4

  • 8/14/2019 Discovery Routing Switching Chapter4

    2/22

    2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 2

    Objectives

    Analyze the features and benefits of a hierarchical IPaddressing structure.

    Plan and implement a VLSM IP addressing scheme.

    Plan a network using classless routing and CIDR.

    Configure and verify both static and dynamic NAT.

  • 8/14/2019 Discovery Routing Switching Chapter4

    3/22

    2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 3

    Features & Benefits of a Hierarchical IPAddressing Structure

    Flat networks with a single broadcast domain loseefficiency as hosts are added

    Two solutions:

    Create VLANs

    Use routers in a hierarchical network design

  • 8/14/2019 Discovery Routing Switching Chapter4

    4/22

    2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 4

    Features & Benefits of a Hierarchical IPAddressing Structure

    Classful network address in the Core Layer

    Successively smaller subnets in the Distribution andAccess Layers

  • 8/14/2019 Discovery Routing Switching Chapter4

    5/22

  • 8/14/2019 Discovery Routing Switching Chapter4

    6/22

    2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 6

    Plan / Implement a VLSM Addressing Scheme

    Subnet mask: 32-bit value Distinguishes between network and host bits

    Can vary in length to accommodate number of hosts onLAN segment

  • 8/14/2019 Discovery Routing Switching Chapter4

    7/22 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 7

    Plan / Implement a VLSM Addressing Scheme

    Boolean ANDing compares bits in host address to bits

    in subnet mask

    1 and 1 = 1

    1 or 0 and 0 = 0

    Resulting value is network address

  • 8/14/2019 Discovery Routing Switching Chapter4

    8/22 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 8

    Plan / Implement a VLSM Addressing Scheme

    Steps in basic subnetting:

    Borrow bits from the host side

    Add them to the network side

    Change mask to reflect additional bits

  • 8/14/2019 Discovery Routing Switching Chapter4

    9/22 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 9

    Plan / Implement a VLSM Addressing Scheme

    Elements of an addressing scheme:

    Subnet number

    Network address

    Host range

    Broadcast address

  • 8/14/2019 Discovery Routing Switching Chapter4

    10/22 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 10

    Plan / Implement a VLSM Addressing Scheme

    Benefits of Variable Length Subnet Masks (VLSM):

    Flexibility

    Efficient use of address space

    Ability to use route summarization

  • 8/14/2019 Discovery Routing Switching Chapter4

    11/22

  • 8/14/2019 Discovery Routing Switching Chapter4

    12/22 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 12

    Plan a Network Using Classless Routingand CIDR

    Classful routing

    Default subnet masks

    Class determined by firstoctet

    No subnet maskinformation exchanged inrouting updates

    Classless routing

    Network prefix

    Slash (/) mask

    Subnet mask informationexchanged in routingupdates

  • 8/14/2019 Discovery Routing Switching Chapter4

    13/22 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 13

    Plan a Network Using Classless Routingand CIDR

    Classless Inter-Domain Routing (CIDR)

    Uses address space efficiently

    Used for network address aggregation or summarizing

  • 8/14/2019 Discovery Routing Switching Chapter4

    14/22 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 14

    Plan a Network Using Classless Routingand CIDR

    Route summarization:

    Use single address to represent group of contiguoussubnets

    Occurs at network boundary

    Smaller routing table, faster lookups

  • 8/14/2019 Discovery Routing Switching Chapter4

    15/22 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 15

    Plan a Network Using Classless Routingand CIDR

    Discontiguous subnets cause unreliable routing

    Avoid separating subnets with a different network

  • 8/14/2019 Discovery Routing Switching Chapter4

    16/22 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 16

    Plan a Network Using Classless Routingand CIDR

    Use routing protocols that support VLSM

    Plan subnetting to complement hierarchical design

    Disable auto-summarization if necessary

    Update router IOS

    Allow for future growth

  • 8/14/2019 Discovery Routing Switching Chapter4

    17/22 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 17

    Configure and Verify Static and DynamicNAT

    RFC 1918: private IP address space

    Routed internally, never on the Internet

    Hides internal addresses from other networks

  • 8/14/2019 Discovery Routing Switching Chapter4

    18/22 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 18

    Configure and Verify Static and DynamicNAT

    Network Address Translation (NAT)

    NAT translates internal private addresses into one ormore public addresses

    Use on boundary routers

  • 8/14/2019 Discovery Routing Switching Chapter4

    19/22 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 19

    Configure and Verify Static and DynamicNAT

    Static NAT: map single inside local address to singlepublic address

    Dynamic NAT: use a pool of public addresses toassign as needed

  • 8/14/2019 Discovery Routing Switching Chapter4

    20/22 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 20

    Configure and Verify Static and DynamicNAT

    Port Address Translation (PAT)

    Dynamically translate multiple inside local addresses toone public address

  • 8/14/2019 Discovery Routing Switching Chapter4

    21/22 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 21

    Summary

    Hierarchical network design groups users into subnets

    VLSM enables different masks for each subnet

    VLSM requires classless routing protocols

    CIDR network addresses are determined by prefixlength

    Route summarization, route aggregation, orsupernetting, is done on a boundary router

    NAT translates private addresses into public addressesthat route over the Internet

    PAT translates multiple local addresses into a singlepublic address

  • 8/14/2019 Discovery Routing Switching Chapter4

    22/22