Sei sulla pagina 1di 7

L Lab - De esigning g and Im mplementing a S Subnette ed IPv4 A Address sing S Scheme e

T Topology

A Addressing g Table
Device R1 R Interface G0/0 G0/1 Lo0 Lo1 S1 S PC-A P PC-B P VLAN 1 NIC NIC N/A N/A A IP Add dress S Subnet Mask Default Gateway N/A N/A N/A N/A N/A

O Objectives
Part 1: De esign a Netw work Subnett ting Scheme Creat te a subnetting scheme tha at meets the required r num ber of subnet ts and host ad ddresses. Comp plete the diagram, showing g where the ho ost IP addres sses will be ap pplied.

Part 2: Co onfigure the Devices Assign an IP addre ess, subnet mask, m and defa ault gateway to the PCs. Config gure the route er Gigabit Eth hernet interfac ces with an IP P address and d subnet mas sk. Creat te two loopback interfaces on the router r, and configu ure each with an IP addres ss and subnet t mask.

Part 3: Te est and Troubleshoot the e Network Verify y and troubles shoot network k connectivity using ping.

B Backgroun nd / Scenar rio


In this lab b, starting from m a single net twork address s and network k mask, you w will subnet the e network into o multiple subnets. The T subnet sc cheme should d be based on n the number r of host comp puters require ed in each subnet, as well as other network considerations c s, like future network n host expansion.

2013 Cisco and d/or its affiliates. All rights reserve ed. This docume ent is Cisco Publiic.

Page 1 of 7

L Lab - Designing and Impl lementing a Subnetted S IP Pv4 Address sing Scheme After you have created d a subnetting g scheme and d completed th he network diiagram by filling in the host and I addresses, you will configure the hos st PCs and ro outer interface es, including l loopback inte erfaces. interface IP The loopb back interface es are created d to simulate additional a LA ANs attached t to router R1. After the network n devic ces and host PCs have bee en configured d, you will use e the ping command to tes st for network connectivity. c This lab provides p minim mal assistanc ce with the act tual command ds necessary y to configure the router. However, the requir red commands are provide ed in Appendix x A. Test you ur knowledge by trying to c configure the d devices without re eferring to the appendix. Note: The e routers used d with CCNA hands-on lab bs are Cisco 1 1941 Integrate ed Services R Routers (ISRs s) with Cisco IOS S Release 15. .2(4)M3 (univ versalk9 image). The switch hes used are e Cisco Cataly yst 2960s with h Cisco IOS Relea ase 15.0(2) (lanbasek9 ima age). Other ro outers, switch hes and Cisco o IOS version ns can be use ed. Depending on the mod del and Cisco IOS version, the comman nds available a and output pr roduced migh ht vary from what t is shown in the t labs. Refe er to the Rout ter Interface S Summary Tab ble at this end d of the lab fo or the correct int terface identif fiers. Note: Make sure that the routers an nd switches ha ave been era ased and have e no startup c configurations s. If you are unsur re, contact your instructor.

R Required Resources R
1 Rou uter (Cisco 19 941 with Cisco o IOS Releas se 15.2(4)M3 universal ima age or compa arable) 1 Switch (Cisco 29 960 with Cisco o IOS Release 15.0(2) lanb basek9 image e or compara able) 2 PCs s (Windows 7, 7 Vista, or XP P with termina al emulation p program, such h as Tera Term) Conso ole cables to configure the e Cisco IOS devices via the e console por rts Ethernet cables as s shown in the e topology

e Gigabit Ethe ernet interface es on Cisco 1941 1 routers a are autosensiing. An Ether rnet straight-th hrough Note: The cable may y be used bet tween the rou uter and PC-B B. If using ano other Cisco ro outer model, it may be nec cessary to use an Ethernet crosso over cable.

P Part 1: Design D a Network N Subnetting Schem me


S Step 1: Cre eate a subn netting sche eme that me eets the req quired numb ber of subn nets and req quired number of hos st addresse es.
In this sce enario, you ar re a network administrator a for a small su ubdivision wit thin a larger c company. You u must create mu ultiple subnets s out of the 19 92.168.0.0/24 4 network add dress space t to meet the fo ollowing requirements: The first subnet is the employee e network. Yo ou need a min nimum of 25 h host IP addresses. The second s subne et is the admin nistration netw work. You nee ed a minimum m of 10 IP add dresses. The th hird and fourt th subnets are e reserved as s virtual netwo orks on virtua al router interf faces, loopbac ck 0 and loopback 1. These virtual router r interfaces simulate LANs s attached to R R1. You also a need two o additional un nused subnet ts for future ne etwork expan nsion.

Note: Var riable length subnet s masks s will not be used. All of the e device subn net masks wil ll be the same e length. Answer th he following questions to help create a subnetting s sc heme that me eets the state ed network requireme ents: 1) How H many hos st addresses are needed in n the largest r required subn net? 2) What W is the minimum number of subnets s required?

2013 Cisco and d/or its affiliates. All rights reserve ed. This docume ent is Cisco Publiic.

Page 2 of 7

Lab - Designing and Implementing a Subnetted IPv4 Addressing Scheme 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?

2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.

Page 3 of 7

L Lab - Designing and Impl lementing a Subnetted S IP Pv4 Address sing Scheme 8) Considering C yo our answers, which subnet t mask meets s both the required minimum number of hosts an nd the minimu um number of o subnets req quired?

W you hav ve determined d which subne et mask meet ts all of the sta ated network requirements s, you will 9) When de erive each of the subnets starting s from the original n network addre ess. List the subnets from f first to la ast below. Rem member that the first subn net is 192.168 8.0.0 with the newly acquire ed subnet ma ask. Subnet Address A / Prefix Su ubnet Mask ( (dotted decim mal) / / / / / / / / / /

S Step 2: Co omplete the diagram sh howing whe ere the host t IP address ses will be a applied.
On the fol llowing lines provided, p fill in n the IP addre esses and su ubnets masks s in slash pref fix notation. O On the router, use the first usa able address in each subne et for each of f the interface es, Gigabit Eth hernet 0/0, Gigabit Ethernet 0/1, 0 loopback k 0, and loopb back 1. Fill in an a IP address s for both PC C-A and PC-B. Also enter th his informatio on into the Addressing Tab ble on Page 1.

2013 Cisco and d/or its affiliates. All rights reserve ed. This docume ent is Cisco Publiic.

Page 4 of 7

L Lab - Designing and Impl lementing a Subnetted S IP Pv4 Address sing Scheme

P Part 2: Configure C e the Devices


In Part 2, set up the ne etwork topolog gy and configure basic set ttings on the P PCs and route er, such as th he router Gigabit Et thernet interfa ace IP addres sses, and the PCs IP addr resses, subne et masks, and d default gate eways. Refer to th he Addressing Table for de evice names and address information. Note: App pendix A prov vides configur ration details for the steps in Part 2. You u should attem mpt to comple ete Part 2 prior to re eviewing Appe endix A.

S Step 1: Co onfigure the e router.


a. Enter into privilege ed EXEC mod de and then global config m mode. b. Assign the R1 as the hostname for the router. c. Config gure both the e G0/0 and G0 0/1 interfaces s with IP addre esses and su ubnet masks, and then ena able them.

d. Loopb back interface es are created d to simulate additional LA ANs on R1 rou uter. Configur re the loopbac ck interfa aces with IP addresses a and subnet mas sks. After they y are created d, loopback int terfaces are e enabled, by default. (To crea ate the loopback addresse es, enter the c command inte erface loopb back 0 at the global config g mode) Note: You can create additional loopbacks fo or testing with h different add dressing sche emes, if desir red. e. Save the running configuration c to t the startup p configuration n file.

S Step 2: Co onfigure the e PC interfac ces.


a. Config gure the IP ad ddress, subne et mask, and default gatew way settings o on PC-A. b. Config gure the IP ad ddress, subne et mask, and default gatew way settings o on PC-B.

P Part 3: Test T and Troubles T hoot the Network


In Part 3, you will use the t ping command to test network conn nectivity. C-A, open a c a. Test to t see if PC-A A can communicate with its s default gate eway. From PC command pro ompt and ping the t IP address s of the route er Gigabit Ethe ernet 0/1 inte erface. Do you u get a reply? ? b. Test to t see if PC-B B can communicate with its s default gate eway. From PC C-B, open a c command pro ompt and ping the t IP address s of the route er Gigabit Ethe ernet 0/0 inte erface. Do you u get a reply? ? c. Test to t see if PC-A A can communicate with PC C-B. From PC C-A, open a c command pro ompt and ping g the IP addre ess of PC-B. Do D you get a reply?

d. If you answered no to any of th he preceding questions, th hen you should go back an nd check all o of your IP addre ess and subne et mask config gurations, and ensure that t the default g gateways hav ve been correctly config gured on PC-A A and PC-B. e. If you verify that all of the setting gs are correct, and you ca an still not ping g successfully y, then there are a few additional factors that can block k ICMP pings. . On PC-A an nd PC-B within n Windows, m make sure tha at the Windo ows Firewall is i turned off fo or the Work, Home, and P Public network ks. f. Exper riment by purposely misconfiguring the gateway add ress on PC-A A to 10.0.0.1. What happen ns when you tr ry and ping fro om PC-B to PC-A? P Do you u receive a re eply?

2013 Cisco and d/or its affiliates. All rights reserve ed. This docume ent is Cisco Publiic.

Page 5 of 7

Lab - Designing and Implementing a Subnetted IPv4 Addressing Scheme

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 1800 1900 2801 2811 2900 Ethernet Interface #1 Fast Ethernet 0/0 (F0/0) Gigabit Ethernet 0/0 (G0/0) Fast Ethernet 0/0 (F0/0) Fast Ethernet 0/0 (F0/0) Gigabit Ethernet 0/0 (G0/0) Ethernet Interface #2 Fast Ethernet 0/1 (F0/1) Gigabit Ethernet 0/1 (G0/1) Fast Ethernet 0/1 (F0/1) Fast Ethernet 0/1 (F0/1) Gigabit Ethernet 0/1 (G0/1) Serial Interface #1 Serial 0/0/0 (S0/0/0) Serial 0/0/0 (S0/0/0) Serial 0/1/0 (S0/1/0) Serial 0/0/0 (S0/0/0) Serial 0/0/0 (S0/0/0) Serial Interface #2 Serial 0/0/1 (S0/0/1) Serial 0/0/1 (S0/0/1) Serial 0/1/1 (S0/1/1) Serial 0/0/1 (S0/0/1) 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.

2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.

Page 6 of 7

L Lab - Designing and Impl lementing a Subnetted S IP Pv4 Address sing Scheme Route er(config)# hostname e R1
R1(co onfig)#

d. Config gure both the e G0/0 and G0 0/1 interfaces s with IP addre esses and su ubnet masks, and enable th hem. R1(co onfig)# in nterface g0 0/0 R1(co onfig-if)# # ip addres ss <ip add dress> <sub bnet mask> > R1(co onfig-if)# # no shutdo own R1(co onfig-if)# # interface e g0/1 R1(co onfig-if)# # ip addres ss <ip add dress> <sub bnet mask> > R1(co onfig-if)# # no shutdo own e. Loopb back interface es are created d to simulate additional LA ANs off of rout ter R1. Config gure the loopback interfa aces with IP addresses a and subnet mas sks. When the ey are created, loopback in nterfaces are e enabled, by default. onfig)# in nterface lo oopback 0 R1(co R1(co onfig-if)# # ip addres ss <ip add dress> <sub bnet mask> > R1(co onfig-if)# # interface e loopback k 1 R1(co onfig-if)# # ip addres ss <ip add dress> <sub bnet mask> > R1(co onfig-if)# # end f. Save the running configuration c to t the startup p configuration n file. c runni ing-config startup-c config R1# copy

S Step 2: Co onfigure the e PC interfac ces.


a. Config gure the IP ad ddress, subne et mask, and default gatew way settings o on PC-A.

b. Config gure the IP ad ddress, subne et mask, and default gatew way settings o on PC-B.

2013 Cisco and d/or its affiliates. All rights reserve ed. This docume ent is Cisco Publiic.

Page 7 of 7

Potrebbero piacerti anche