7
© L S T A O B © 2013 Cisco and Lab - De Scheme Topology Addressing R S P P Objectives Part 1: De Creat Comp Part 2: Co Assig Config Creat Part 3: Te Verify Backgroun In this lab subnets. T well as ot d/or its affiliates. esigning e g Table Device R1 S1 PC-A PC-B esign a Netw te a subnettin plete the diag onfigure the n an IP addre gure the route te two loopba est and Trou y and troubles nd / Scenar b, starting from The subnet sc her network c All rights reserve g and Im Interface G0/0 G0/1 Lo0 Lo1 VLAN 1 NIC NIC work Subnett g scheme tha ram, showing Devices ess, subnet m er Gigabit Eth ck interfaces bleshoot the shoot network rio m a single net cheme should considerations ed. This docume mplemen IP Add N/A ting Scheme at meets the r g where the ho mask, and defa hernet interfac on the router e Network k connectivity twork address d be based on s, like future n ent is Cisco Publi ting a S dress S N/A required num ost IP addres ault gateway ces with an IP r, and configu using ping. s and network n the number network host ic. Subnette Subnet Mask A ber of subnet sses will be ap to the PCs. P address and ure each with k mask, you w r of host comp expansion. ed IPv4 A Default N/A N/A N/A N/A N/A ts and host ad pplied. d subnet mas an IP addres will subnet the puters require Address Gateway ddresses. sk. ss and subnet e network into ed in each su Page 1 of 7 sing t mask. o multiple bnet, as

9.2.1.3 Lab - Designing and Implementing a Subnetted IPv4 Addressing Scheme

Embed Size (px)

DESCRIPTION

subnet

Citation preview

Page 1: 9.2.1.3 Lab - Designing and Implementing a Subnetted IPv4 Addressing Scheme

©

LS

T

A

O

B

© 2013 Cisco and

Lab - DeScheme

Topology

Addressing

R

S

P

P

Objectives

Part 1: De

Creat

Comp

Part 2: Co

Assig

Config

Creat

Part 3: Te

Verify

Backgroun

In this labsubnets. Twell as ot

d/or its affiliates.

esigninge

g Table

Device

R1

S1

PC-A

PC-B

esign a Netw

te a subnettin

plete the diag

onfigure the

n an IP addre

gure the route

te two loopba

est and Trou

y and troubles

nd / Scenar

b, starting fromThe subnet scher network c

All rights reserve

g and Im

Interface

G0/0

G0/1

Lo0

Lo1

VLAN 1

NIC

NIC

work Subnett

g scheme tha

ram, showing

Devices

ess, subnet m

er Gigabit Eth

ck interfaces

bleshoot the

shoot network

rio

m a single netcheme shouldconsiderations

ed. This docume

mplemen

IP Add

N/A

ting Scheme

at meets the r

g where the ho

mask, and defa

hernet interfac

on the router

e Network

k connectivity

twork addressd be based ons, like future n

ent is Cisco Publi

ting a S

dress S

N/A

required num

ost IP addres

ault gateway

ces with an IP

r, and configu

using ping.

s and networkn the numbernetwork host

ic.

Subnette

Subnet Mask

A

ber of subnet

sses will be ap

to the PCs.

P address and

ure each with

k mask, you wr of host compexpansion.

ed IPv4 A

Default

N/A

N/A

N/A

N/A

N/A

ts and host ad

pplied.

d subnet mas

an IP addres

will subnet theputers require

Address

Gateway

ddresses.

sk.

ss and subnet

e network intoed in each su

Page 1 of 7

sing

t mask.

o multiple bnet, as

Page 2: 9.2.1.3 Lab - Designing and Implementing a Subnetted IPv4 Addressing Scheme

L

©

R

P

S

Lab - Design

© 2013 Cisco and

After you interface IThe loopb

After the nnetwork c

This lab pthe requirwithout re

Note: TheCisco IOSIOS ReleaDependinfrom whatcorrect int

Note: Maare unsur

Required R

1 Rou

1 Swi

2 PCs

Conso

Ether

Note: Thecable mayuse an Et

DPart 1:

Step 1: Crenu

In this scecreate mu

The fi

The s

The thloopb

You a

Note: Var

Answer threquireme

1) H

2) W

ing and Impl

d/or its affiliates.

have createdIP addressesback interface

network devicconnectivity.

provides minimred commandeferring to the

e routers usedS Release 15.ase 15.0(2) (lg on the modt is shown in tterface identif

ke sure that tre, contact yo

Resources

uter (Cisco 19

tch (Cisco 29

s (Windows 7

ole cables to

net cables as

e Gigabit Ethey be used bethernet crosso

Design a N

eate a subnmber of hos

enario, you arultiple subnets

rst subnet is

second subne

hird and fourtack 1. These

also need two

riable length s

he following qents:

How many hos

What is the mi

lementing a S

All rights reserve

d a subnetting, you will con

es are created

ces and host

mal assistancs are provideappendix.

d with CCNA .2(4)M3 (univanbasek9 ima

del and Cisco the labs. Refefiers.

he routers anur instructor.

941 with Cisco

960 with Cisco

7, Vista, or XP

configure the

s shown in the

ernet interfacetween the rouover cable.

Network

netting schest addresse

re a network as out of the 19

the employee

et is the admin

th subnets are virtual router

o additional un

subnet masks

uestions to h

st addresses

nimum numb

Subnetted IP

ed. This docume

g scheme andfigure the hosd to simulate a

PCs have bee

ce with the acted in Appendix

hands-on labversalk9 imagage). Other roIOS version,

er to the Rout

nd switches ha

o IOS Releas

o IOS Releas

P with termina

e Cisco IOS d

e topology

es on Cisco 1uter and PC-B

Subnetti

eme that mees.

administrator92.168.0.0/24

e network. Yo

nistration netw

e reserved asr interfaces si

nused subnet

s will not be u

elp create a s

are needed in

er of subnets

Pv4 Address

ent is Cisco Publi

d completed thst PCs and roadditional LA

en configured

tual commandx A. Test you

bs are Cisco 1e). The switchouters, switchthe comman

ter Interface S

ave been era

se 15.2(4)M3

e 15.0(2) lanb

al emulation p

evices via the

1941 routers aB. If using ano

ng Schem

eets the req

for a small su4 network add

ou need a min

work. You nee

s virtual netwomulate LANs

ts for future ne

sed. All of the

subnetting sc

n the largest r

s required?

sing Scheme

ic.

he network diouter interfaceANs attached t

d, you will use

ds necessaryur knowledge

1941 Integratehes used arehes and Cisconds available aSummary Tab

ased and have

universal ima

basek9 image

program, such

e console por

are autosensiother Cisco ro

me

quired numb

ubdivision witdress space t

nimum of 25 h

ed a minimum

orks on virtuas attached to R

etwork expan

e device subn

heme that me

required subn

iagram by fillies, including lto router R1.

e the ping co

y to configure by trying to c

ed Services Re Cisco Catalyo IOS versionand output prble at this end

e no startup c

age or compa

e or compara

h as Tera Ter

rts

ing. An Etherouter model, i

ber of subn

thin a larger cto meet the fo

host IP addre

m of 10 IP add

al router interfR1.

nsion.

net masks wil

eets the state

net?

ng in the hosloopback inte

mmand to tes

the router. Hconfigure the d

Routers (ISRsyst 2960s withns can be useroduced mighd of the lab fo

configurations

arable)

able)

m)

rnet straight-tht may be nec

nets and req

company. Youollowing requi

sses.

dresses.

faces, loopbac

ll be the same

ed network

Page 2 of 7

t and erfaces.

st for

owever, devices

s) with h Cisco ed. ht vary or the

s. If you

hrough cessary to

quired

u must rements:

ck 0 and

e length.

Page 3: 9.2.1.3 Lab - Designing and Implementing a Subnetted IPv4 Addressing Scheme

Lab - Designing and Implementing a Subnetted IPv4 Addressing Scheme

© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 3 of 7

3) The network that you are tasked to subnet is 192.168.0.0/24. What is the /24 subnet mask in binary?

4) The subnet mask is made up of two portions, the network portion, and the host portion. This is represented in the binary by the ones and the zeros in the subnet mask.

In the network mask, what do the ones represent?

In the network mask, what do the zeros represent?

5) To subnet a network, bits from the host portion of the original network mask are changed into subnet bits. The number of subnet bits defines the number of subnets. Given each of the possible subnet masks depicted in the following binary format, how many subnets and how many hosts are created in each example?

Hint: Remember that the number of host bits (to the power of 2) defines the number of hosts per subnet (minus 2), and the number of subnet bits (to the power of two) defines the number of subnets. The subnet bits (depicted in bold type face) are the bits that have been borrowed beyond the original network mask of /24. The /24 is the slash prefix notation and corresponds to a dotted decimal mask of 255.255.255.0.

(/25) 11111111.11111111.11111111.10000000

Dotted decimal subnet mask equivalent:

Number of subnets? Number of hosts?

(/26) 11111111.11111111.11111111.11000000

Dotted decimal subnet mask equivalent:

Number of subnets? Number of hosts?

(/27) 11111111.11111111.11111111.11100000

Dotted decimal subnet mask equivalent:

Number of subnets? Number of hosts?

(/28) 11111111.11111111.11111111.11110000

Dotted decimal subnet mask equivalent:

Number of subnets? Number of hosts?

(/29) 11111111.11111111.11111111.11111000

Dotted decimal subnet mask equivalent:

Number of subnets? Number of hosts?

(/30) 11111111.11111111.11111111.11111100

Dotted decimal subnet mask equivalent:

Number of subnets? Number of hosts?

6) Considering your answers, which subnet masks meet the required number of minimum host addresses?

7) Considering your answers, which subnet masks meets the minimum number of subnets required?

Page 4: 9.2.1.3 Lab - Designing and Implementing a Subnetted IPv4 Addressing Scheme

L

©

S

Lab - Design

© 2013 Cisco and

8) Can

9) Wdela

Step 2: Co

On the folrouter, usEthernet 0informatio

ing and Impl

d/or its affiliates.

Considering yond the minimu

When you haverive each of

ast below. Rem

Subnet A

omplete the

llowing lines pe the first usa0/1, loopbackon into the Ad

lementing a S

All rights reserve

our answers, um number o

ve determinedthe subnets smember that

Address /

/

/

/

/

/

/

/

/

/

/

diagram sh

provided, fill inable address k 0, and loopbdressing Tab

Subnetted IP

ed. This docume

which subnetof subnets req

d which subnestarting from the first subn

/ Prefix Su

/

/

/

/

/

/

/

/

/

/

howing whe

n the IP addrein each subne

back 1. Fill in able on Page 1

Pv4 Address

ent is Cisco Publi

t mask meetsquired?

et mask meetthe original n

net is 192.168

ubnet Mask (

ere the host

esses and suet for each ofan IP address.

sing Scheme

ic.

s both the req

ts all of the stanetwork addre8.0.0 with the

(dotted decim

t IP address

ubnets masksf the interfaces for both PC

uired minimu

ated network ess. List the snewly acquire

mal)

ses will be a

s in slash prefes, Gigabit Eth

C-A and PC-B

m number of

requirementsubnets from fed subnet ma

applied.

fix notation. Ohernet 0/0, G. Also enter th

Page 4 of 7

hosts

s, you will first to ask.

On the igabit his

Page 5: 9.2.1.3 Lab - Designing and Implementing a Subnetted IPv4 Addressing Scheme

L

©

P

S

S

P

Lab - Design

© 2013 Cisco and

CPart 2:

In Part 2, Gigabit EtRefer to th

Note: Appprior to re

Step 1: Co

a. Enter

b. Assig

c. Config

d. Loopbinterfaby deconfig

Note:

e. Save

Step 2: Co

a. Config

b. Config

TPart 3:

In Part 3,

a. Test tping t

b. Test tping t

c. Test taddre

d. If youaddreconfig

e. If youadditiWindo

f. Experyou tr

ing and Impl

d/or its affiliates.

Configure

set up the nethernet interfahe Addressin

pendix A proveviewing Appe

onfigure the

into privilege

n the R1 as t

gure both the

back interfaceaces with IP afault. (To crea

g mode)

You can cre

the running c

onfigure the

gure the IP ad

gure the IP ad

Test and T

you will use t

to see if PC-Athe IP address

to see if PC-Bthe IP address

to see if PC-Aess of PC-B. D

answered “ness and subnegured on PC-A

verify that alonal factors tows Firewall i

riment by purry and ping fro

lementing a S

All rights reserve

e the Dev

etwork topologace IP addresg Table for de

vides configurendix A.

e router.

ed EXEC mod

he hostname

e G0/0 and G0

es are createdaddresses anate the loopb

ate additiona

configuration t

e PC interfac

ddress, subne

ddress, subne

Troubles

the ping com

A can commus of the route

B can commus of the route

A can commuDo you get a

o” to any of thet mask configA and PC-B.

l of the settinghat can blockis turned off fo

posely miscoom PC-B to P

Subnetted IP

ed. This docume

ices

gy and configsses, and the evice names

ration details

de and then g

for the route

0/1 interfaces

d to simulate d subnet masack addresse

l loopbacks fo

to the startup

ces.

et mask, and

et mask, and

hoot the

mand to test

nicate with itser Gigabit Ethe

nicate with itser Gigabit Ethe

nicate with PCreply?

he preceding gurations, an

gs are correck ICMP pings.or the Work,

nfiguring the PC-A? Do you

Pv4 Address

ent is Cisco Publi

ure basic setPC’s IP addrand address

for the steps

lobal config m

r.

s with IP addre

additional LAsks. After theyes, enter the c

or testing with

p configuration

default gatew

default gatew

Network

network conn

s default gateernet 0/1 inte

s default gateernet 0/0 inte

C-B. From PC

questions, thd ensure that

t, and you ca. On PC-A anHome, and P

gateway addu receive a re

sing Scheme

ic.

ttings on the Presses, subneinformation.

in Part 2. You

mode.

esses and su

ANs on R1 rouy are createdcommand inte

h different add

n file.

way settings o

way settings o

nectivity.

eway. From PCerface. Do you

eway. From PCerface. Do you

C-A, open a c

hen you shout the default g

an still not pingnd PC-B withinPublic network

ress on PC-Aeply?

PCs and routeet masks, and

u should attem

ubnet masks,

uter. Configurd, loopback interface loopb

dressing sche

on PC-A.

on PC-B.

C-A, open a cu get a reply?

C-B, open a cu get a reply?

command pro

ld go back angateways hav

g successfullyn Windows, mks.

A to 10.0.0.1.

er, such as thd default gate

mpt to comple

and then ena

re the loopbacterfaces are e

back 0 at the

emes, if desir

command pro?

command pro?

ompt and ping

nd check all ove been corre

y, then there make sure tha

What happen

Page 5 of 7

he router eways.

ete Part 2

able them.

ck enabled, global

red.

ompt and

ompt and

g the IP

of your IP ctly

are a few at the

ns when

Page 6: 9.2.1.3 Lab - Designing and Implementing a Subnetted IPv4 Addressing Scheme

Lab - Designing and Implementing a Subnetted IPv4 Addressing Scheme

© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 6 of 7

Reflection

1. Subnetting one larger network into multiple smaller subnetworks allows for greater flexibility and security in network design. However, what do you think some of the drawbacks are when the subnets are limited to being the same size?

2. Why do you think the gateway/router IP address is usually the first usable IP address in the network?

Router Interface Summary Table

Router Interface Summary

Router Model Ethernet Interface #1 Ethernet Interface #2 Serial Interface #1 Serial Interface #2

1800 Fast Ethernet 0/0 (F0/0)

Fast Ethernet 0/1 (F0/1)

Serial 0/0/0 (S0/0/0) Serial 0/0/1 (S0/0/1)

1900 Gigabit Ethernet 0/0 (G0/0)

Gigabit Ethernet 0/1 (G0/1)

Serial 0/0/0 (S0/0/0) Serial 0/0/1 (S0/0/1)

2801 Fast Ethernet 0/0 (F0/0)

Fast Ethernet 0/1 (F0/1)

Serial 0/1/0 (S0/1/0) Serial 0/1/1 (S0/1/1)

2811 Fast Ethernet 0/0 (F0/0)

Fast Ethernet 0/1 (F0/1)

Serial 0/0/0 (S0/0/0) Serial 0/0/1 (S0/0/1)

2900 Gigabit Ethernet 0/0 (G0/0)

Gigabit Ethernet 0/1 (G0/1)

Serial 0/0/0 (S0/0/0) Serial 0/0/1 (S0/0/1)

Note: To find out how the router is configured, look at the interfaces to identify the type of router and how many interfaces the router has. There is no way to effectively list all the combinations of configurations for each router class. This table includes identifiers for the possible combinations of Ethernet and Serial interfaces in the device. The table does not include any other type of interface, even though a specific router may contain one. An example of this might be an ISDN BRI interface. The string in parenthesis is the legal abbreviation that can be used in Cisco IOS commands to represent the interface.

Appendix A: Configuration Details for Steps in Part 2

Step 1: Configure the router.

a. Console into the router and enable privileged EXEC mode.

Router> enable Router#

b. Enter into configuration mode.

Router# conf t Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#

c. Assign a device name to the router.

Page 7: 9.2.1.3 Lab - Designing and Implementing a Subnetted IPv4 Addressing Scheme

L

©

S

Lab - Design

© 2013 Cisco and

RouteR1(co

d. Config

R1(co

R1(co

R1(co

R1(co

R1(co

R1(co

e. Loopbinterfaby de

R1(co

R1(co

R1(co

R1(co

R1(co

f. Save

R1# c

Step 2: Co

a. Config

b. Config

ing and Impl

d/or its affiliates.

er(config)onfig)#

gure both the

onfig)# in

onfig-if)#

onfig-if)#

onfig-if)#

onfig-if)#

onfig-if)#

back interfaceaces with IP afault.

onfig)# in

onfig-if)#

onfig-if)#

onfig-if)#

onfig-if)#

the running c

copy runni

onfigure the

gure the IP ad

gure the IP ad

lementing a S

All rights reserve

# hostname

e G0/0 and G0

nterface g0

# ip addres

# no shutdo

# interface

# ip addres

# no shutdo

es are createdaddresses an

nterface lo

# ip addres

# interface

# ip addres

# end

configuration t

ing-config

e PC interfac

ddress, subne

ddress, subne

Subnetted IP

ed. This docume

e R1

0/1 interfaces

0/0

ss <ip add

own

e g0/1

ss <ip add

own

d to simulate d subnet mas

oopback 0

ss <ip add

e loopback

ss <ip add

to the startup

startup-c

ces.

et mask, and

et mask, and

Pv4 Address

ent is Cisco Publi

s with IP addre

dress> <sub

dress> <sub

additional LAsks. When the

dress> <sub

k 1

dress> <sub

p configuration

config

default gatew

default gatew

sing Scheme

ic.

esses and su

bnet mask>

bnet mask>

ANs off of routey are create

bnet mask>

bnet mask>

n file.

way settings o

way settings o

ubnet masks,

>

>

ter R1. Configd, loopback in

>

>

on PC-A.

on PC-B.

and enable th

gure the loopnterfaces are

Page 7 of 7

hem.

back e enabled,