Lab 2.8.

1: Basic Static Route Configuration
Topology Diagram

Addressing Table
Device R1 Interface Fa0/0 S0/0/0 Fa0/0 R2 S0/0/0 S0/0/1 R3 PC1 PC2 PC3 FA0/0 S0/0/1 NIC NIC NIC IP Address 172.16.3.1 172.16.2.1 172.16.1.1 172.16.2.2 192.168.1.2 192.168.2.1 192.168.1.1 172.16.3.10 172.16.1.10 192.168.2.10 Subnet Mask 255.255.255.0 255.255.255.0 255.255.255.0 255.255.255.0 255.255.255.0 255.255.255.0 255.255.255.0 255.255.255.0 255.255.255.0 255.255.255.0 Default Gateway N/A N/A N/A N/A N/A N/A N/A 172.16.3.1 172.16.1.1 192.168.2.1

Learning Objectives
Upon completion of this lab, you will be able to: • • • Cable a network according to the Topology Diagram. Erase the startup configuration and reload a router to the default state. Perform basic configuration tasks on a router.
Page 1 of 20

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information.

CCNA Exploration Routing Protocols and Concepts: Static Routing

Lab 2.8.1: Basic Static Route Configuration

• • • • • • • • • •

Interpret debug ip routing output. Configure and activate Serial and Ethernet interfaces. Test connectivity. Gather information to discover causes for lack of connectivity between devices. Configure a static route using an intermediate address. Configure a static route using an exit interface. Compare a static route with intermediate address to a static route with exit interface. Configure a default static route. Configure a summary static route. Document the network implementation.

Scenario
In this lab activity, you will create a network that is similar to the one shown in the Topology Diagram. Begin by cabling the network as shown in the Topology Diagram. You will then perform the initial router configurations required for connectivity. Use the IP addresses that are provided in the Addressing Table to apply an addressing scheme to the network devices. After completing the basic configuration, test connectivity between the devices on the network. First test the connections between directly connected devices, and then test connectivity between devices that are not directly connected. Static routes must be configured on the routers for end-to-end communication to take place between the network hosts. You will configure the static routes that are needed to allow communication between the hosts. View the routing table after each static route is added to observe how the routing table has changed.

Task 1: Cable, Erase, and Reload the Routers.
Step 1: Cable a network that is similar to the one in the Topology Diagram. Step 2: Clear the configuration on each router. Clear the configuration on each of the routers using the erase startup-config command and then reload the routers. Answer no if asked to save changes.

Task 2: Perform Basic Router Configuration.
Note: If you have difficulty with any of the commands in this task, see Lab 1.5.1: Cabling a Network and Basic Router Configuration. Step 1: Use global configuration commands. On the routers, enter global configuration mode and configure the basic global configuration commands including: • • • hostname no ip domain-lookup enable secret

Step 2: Configure the console and virtual terminal line passwords on each of the routers. • • password login

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information.

Page 2 of 20

1 255. All rights reserved.0 R1(config-if)#no shutdown R1(config-if)#descri *Mar 1 01:16:08. R1(config)#line console 0 R1(config-line)#logging synchronous R1(config-line)#line vty 0 4 R1(config-line)#logging synchronous All contents are Copyright © 1992–2007 Cisco Systems. The logging synchronous command solves this problem by copying the command entered up to that point down to the next router prompt.8. description) is interrupted by these messages. the logging synchronous command prevents IOS messages delivered to the console or Telnet lines from interrupting your keyboard input.212: %LINK-3-UPDOWN: Interface FastEthernet0/0. changed state to up *Mar 1 01:16:09.243: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0. you may have already experienced something similar to the following example: Note: Do not configure R1 interfaces yet. changed state to upption R1(config-if)# The IOS sends unsolicited messages to the console when you activate an interface with the no shutdown command. R1(config)#interface fastethernet 0/0 R1(config-if)#ip address 172. or virtual terminal line.3.255. Add logging synchronous to the console and virtual terminal lines on all routers. changed state to up *Mar 1 01:28:05.16.242: %LINK-3-UPDOWN: Interface FastEthernet0/0.3. we can use the logging synchronous line configuration command. For example. This document is Cisco Public Information. However.1: Basic Static Route Configuration Step 3: Add the logging synchronous command to the console and virtual terminal lines. auxiliary port line.214: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.16.CCNA Exploration Routing Protocols and Concepts: Static Routing Lab 2. In other words.255.1 255. This command is very helpful in both lab and production environments and uses the following syntax: Router(config-line)#logging synchronous To synchronize unsolicited messages and debug output with solicited Cisco IOS software output and prompts for a specific console port line.255. Inc.0 R1(config-if)#no shutdown R1(config-if)#description *Mar 1 01:28:04.Keyboard input copied after message R1 is shown here as an example. the next command you enter (in this case. changed state to up R1(config-if)#description <-.255. R1(config)#interface fastethernet 0/0 R1(config-if)#ip address 172. Page 3 of 20 .

we can use the exec-timeout line configuration command. enter the debug ip routing command. This command allows you to control the amount of time a console or virtual terminal line can be idle before the session is terminated. R2 and R3 should be configured through the end of Task 2 without any interface configurations. every time you successfully configure and activate an interface.16. Page 4 of 20 . R1 is shown here as an example. modified. Note: If you already configured IP addressing on R1.255.255. All contents are Copyright © 1992–2007 Cisco Systems.3.8. you can specify “no timeout” by entering the exec-timeout 0 0 command. If no input is detected during the interval.1 255. This command is very helpful because the default timeout for lines is 10 minutes. Inc. Add exec-timeout 0 0 to console and virtual terminal lines on all routers. The syntax follows: Router(config-line)#exec-timeout minutes [seconds] Syntax description: minutes—Integer that specifies the number of minutes. the EXEC facility resumes the current connection. R1. For example. Step 2: Enter interface configuration mode for R1’s LAN interface. R1(config-if)#ip address 172. We can verify this by observing output from the debug ip routing command. R1#configure terminal Enter configuration commands.0 is_up: 0 state: 6 sub state: 1 line: 1 has_route: False End with CNTL/Z. In a lab environment. R1(config)#interface fastethernet 0/0 Configure the IP address as specified in the Topology Diagram. R1#debug ip routing IP routing debugging is on The debug ip routing command shows when routes are added. R1(config)#line console 0 R1(config-line)#exec-timeout 0 0 R1(config-line)#line vty 0 4 R1(config-line)#exec-timeout 0 0 Task 3: Interpreting Debug Output. However. Step 1: On R1 from privileged EXEC mode. the EXEC facility returns the terminal to the idle state and disconnects the incoming session. This document is Cisco Public Information. Cisco IOS adds a route to the routing table. All rights reserved. for security purposes. please remove all interface commands now before proceeding.1: Basic Static Route Configuration Step 4: Add the exec-timeout command to the console and virtual terminal lines. If no connections exist. To set the interval that the EXEC command interpreter waits until user input is detected.CCNA Exploration Routing Protocols and Concepts: Static Routing Lab 2. and deleted from the routing table. seconds—(Optional) Additional time intervals in seconds. one per line. you would not normally set lines to “no timeout” in a production environment.

All rights reserved. Check link lights. Check your physical connections to the LAN interface. Is the interface connected to another device such as a hub. Queue size 1 RT: interface FastEthernet0/0 added to routing table %LINK-3-UPDOWN: Interface FastEthernet0/0. chan ged state to up is_up: 1 state: 4 sub state: 1 line: 1 has_route: True is_up: 1 state: 4 sub state: 1 line: 1 has_route: True The new network you configured on the LAN interface is now added to the routing table. or PC? ___Si_____ 2. Is the correct interface attached? ___Si_____ Your router may have more than one LAN interface. as shown in the highlighted output. connected metric [0/0] RT: NET-RED 172. Why did this occur and what steps should be taken to ensure that the route is entered into the routing table? Esto se debe en porque no se ha levantado la interfaz por lo cual no recibe una señal portadora aun para que esta ruta se incluya es necesario ejecutar el comando “no shutdown” Step 3: Enter the command necessary to install the route in the routing table. is_up: 1 state: 4 sub state: 1 line: 1 has_route: False RT: add 172. you should see debug output.3. “Router Configuration Review. Are the correct cables connected to the devices? __Si______ 4.0. the interface should come up.0. Page 5 of 20 . Cisco IOS debug output informs you that there is now a route. the route has not yet been added to the routing table.CCNA Exploration Routing Protocols and Concepts: Static Routing Lab 2. switch. This document is Cisco Public Information. If you do not see the route added to the routing table.1: Basic Static Route Configuration As soon as you press the Enter key. Inc.16.0.8.0/24 RT: NET-RED queued. All contents are Copyright © 1992–2007 Cisco Systems. Are all link lights blinking? ___Si_____ 3. In other words. Did you connect the correct LAN interface? ___Si_____ An interface will not come up unless it detects a carrier detect signal at the Physical layer from another device.2. changed state to up is_up: 1 state: 4 sub state: 1 line: 1 has_route: True %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0. Use the following systematic process to troubleshoot your connection: 1.0/24 via 0.16. Has the interface been activated or enabled? ___Si_____ If you can answer yes to all the proceeding questions. Your output may be slightly different from the example below.3. the interface did not come up. Check the cabling.” After you enter the correct command. review the discussion in “Examining Router Interfaces” which is discussed in Section 2. If you are not sure what the correct command is. but its state is False.

we used 64000 bps. we must specify how fast the bits will be clocked between R1 and R2.3.OSPF inter area N1 . S . one per line. There should now be one route in the table for R1.IS-IS inter area * .0 is directly connected. FastEthernet0/0 Step 5: Enter interface configuration mode for R1’s WAN interface connected to R2.1 255.16. All contents are Copyright © 1992–2007 Cisco Systems.0 is_up: 0 state: 0 sub state: 1 line: 0 has_route: False As soon as you press the Enter key.16. Inc.” which is discussed in Section 2. All rights reserved.IS-IS level-2. Use the ? to find the valid rates.255. L1 . R1(config)#interface Serial 0/0/0 Configure the IP address as specified in the Topology Diagram. review the discussion in “Examining Router Interfaces. You can specify any valid clocking speed.8. E2 .connected. R1(config-if)#ip address 172. “Router Configuration Review.EIGRP external. What command did you use? R1#_______Show ip route__________________ Codes: C .RIP.IGRP.candidate default.BGP D . R1#configure terminal Enter configuration commands.IS-IS.mobile. Here. Step 6: Enter the clock rate command on R1. U .16. I . 1 subnets 172.static. Page 6 of 20 .per-user static route.OSPF NSSA external type 1. E .” R1(config-if)#_________ no shutdown ____________________ After you enter the correct command. you should see debug output similar to the following example: is_up: 0 state: 0 sub state: 1 line: 0 has_route: False %LINK-3-UPDOWN: Interface Serial0/0/0.EGP i . Because R1 is the DCE side of our lab environment.0/24 is subnetted. R . ia . IA . Your output should look similar to the following output. This document is Cisco Public Information.EIGRP. EX .periodic downloaded static route Gateway of last resort is not set C 172. Cisco IOS debug output informs you that there is now a route. changed state to down End with CNTL/Z.OSPF NSSA external type 2 E1 . B .1: Basic Static Route Configuration Step 4: Enter the command to verify that the new route is now in the routing table. O . N2 . M . o .IS-IS level-1. R1(config-if)#clock rate 64000 is_up: 0 state: 0 sub state: 1 line: 0 has_route: False Some IOS versions display the output shown above every 30 seconds. If you are not sure what the correct command is. but its state is False.2. Why is the state of the route still False? What step must you now take to make sure that the interface is fully configured? _______Se debe ejecutar el comando no shutdown________________________ Step 7: Enter the command necessary to ensure that the interface is fully configured.2.ODR P .CCNA Exploration Routing Protocols and Concepts: Static Routing Lab 2.OSPF.OSPF external type 1. L2 .0.OSPF external type 2.255.

255.0 is_up: 0 state: 6 sub state: 1 line: 0 Step 9: Enter the command necessary to ensure that the interface is fully configured.0.CCNA Exploration Routing Protocols and Concepts: Static Routing Lab 2. End with CNTL/Z.2. changed state to up is_up: 1 state: 4 sub state: 1 line: 0 RT: add 172.0/24 via 0. Are the correct cables connected to the routers? ___si_____ 4. If you are not sure what the correct command is. fully configuring the WAN interface does not always guarantee that the route will be entered in the routing table. Check your physical connections between the two WAN interfaces for R1 and R2.2. Has the interface been activated or enabled? __si______ If you can answer yes to all the proceeding questions.” which is discussed in Section 2.2 255. All contents are Copyright © 1992–2007 Cisco Systems. This document is Cisco Public Information.8.16. R1 must have the DCE side of the cable attached and R2 must have the DTE side of the cable attached. Is the correct interface attached? ___si_____ Your router has more than one WAN interface. R2#configure terminal Enter configuration commands. changed state to up is_up: 1 state: 4 sub state: 1 line: 0 The new network that you configured on the WAN interface is now added to the routing table.16. Check the cabling. R2(config)#interface serial 0/0/0 Configure the IP address as specified in the Topology Diagram. one per line. Check link lights. Did you connect the correct WAN interface? __si______ An interface will not come up unless it detects a link beat at the Physical layer from another device. Doing this allows you to observe the debug output on R1 when you make changes on R2.255. as shown in the highlighted output. “Router Configuration Review.0. R2#debug ip routing IP routing debugging is on Enter interface configuration mode for R2’s WAN interface connected to R1. connected metric [0/0] RT: interface Serial0/0/0 added to routing table is_up: 1 state: 4 sub state: 1 line: 0 %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0.” R2(config-if)#_______ no shutdown ______________________ After you enter the correct command. even if your cable connections are correct. Inc. You can also turn on debug ip routing on R2. Use the following systematic process to troubleshoot your connection: 1. review the discussion in “Examining Router Interfaces. the interface did not come up.1: Basic Static Route Configuration Unlike configuring the LAN interface. Step 8: If possible. The other side of the WAN link must also be configured. the interface should come up. If you do not see the route added to the routing table. All rights reserved. you should see debug output similar to the following example: is_up: 0 state: 4 sub state: 1 line: 0 %LINK-3-UPDOWN: Interface Serial0/0/0. Is the interface connected to the other router’s interface? ___si_____ 2. Are all link lights blinking? ___si_____ 3. R2(config-if)#ip address 172. Page 7 of 20 .2. establish a separate terminal session by consoling into R2 from another workstation.0.

o .static.RIP.EIGRP external. E2 .OSPF external type 2 i .connected.IS-IS level-1.RIP.16. B .ODR.BGP D . S .candidate default. L1 . ia . EX . O . su .IS-IS level-2. Serial0/0/0 Step 11: Turn off debugging on both routers using either no debug ip routing or simply. Your output should look similar to the following output.OSPF NSSA external type 2 E1 .2. R .OSPF NSSA external type 2 E1 . E .OSPF external type 1.IS-IS inter area * . N2 . R .OSPF inter area N1 .OSPF inter area N1 .0 is directly connected.periodic downloaded static route Gateway of last resort is not set C C 172. What command did you use? R1#_____show ip route____________________________ Codes: C . Inc. 2 subnets 172.OSPF NSSA external type 1.16.per-user static route.candidate default. IA . M . N2 . Serial0/0/0 172.16.0 is directly connected. P .8.EIGRP.connected. L2 .OSPF external type 1.IGRP.OSPF external type 2.EGP i .0. R1(config-if)#end R1#no debug ip routing IP routing debugging is off All contents are Copyright © 1992–2007 Cisco Systems.0 is directly connected.per-user static route o .2.16.3.0.OSPF. All rights reserved.16.1: Basic Static Route Configuration Step 10: Enter the command to verify that the new route is now in the routing table for R1 and R2. E2 .EIGRP external. There should now be two routes in the routing table for R1 and one route in the table for R2.mobile. U . L1 .IS-IS summary.CCNA Exploration Routing Protocols and Concepts: Static Routing Lab 2. EX . FastEthernet0/0 R2#_______ show ip route __________________________ Codes: C . I .OSPF NSSA external type 1.periodic downloaded static route Gateway of last resort is not set C 172. M . U .IS-IS level-2 ia .IS-IS inter area. undebug all. Page 8 of 20 . S . O .0/24 is subnetted.IS-IS. 1 subnets 172.BGP D . IA . * .mobile.0/24 is subnetted.EIGRP. B .ODR P .static. L2 .IS-IS level-1.OSPF.IS-IS. This document is Cisco Public Information.

CCNA Exploration Routing Protocols and Concepts: Static Routing Lab 2.10/24 and a default gateway of 172.2. From the host PC1. Are the PCs physically connected to the correct router? ________ (Connection could be through a switch or directly) Are link lights blinking on all relevant ports? ________ 2.10/24 and a default gateway of 172.1.2.168. Configure the host PC3 with an IP address of 192.3. Step 1: Configure the host PC1. is it possible to ping R1 at 172. Are all relevant interfaces up and up? ________ If your answer to all three steps is yes. Step 2: Use the ping command to test connectivity between directly connected routers. Step 2: Configure the host PC2.16.16. From the router R2. Test connectivity by pinging from each host to the default gateway that has been configured for that host. Step 2: Configure R3 Interfaces Console into R3 and configure the necessary interfaces according to the Topology Diagram and Addressing Table.16.168.16. Do they match the Topology Diagram? ________ 3.1. is it possible to ping R3 at 192.10/24 and a default gateway of 192. Step 3: Configure the host PC3. Page 9 of 20 . Check the router interfaces using the show ip interface brief command. This document is Cisco Public Information.1. Task 5: Configure IP Addressing on the Host PCs. is it possible to ping the default gateway? __si______ From the host PC3. Step 1: Test connectivity. Configure the host PC2 with an IP address of 172. Task 6: Test and Verify the Configurations.1: Basic Static Route Configuration Task 4: Finish Configuring Router Interfaces Step 1: Configure Remaining R2 Interfaces Finish configuring the remaining interfaces on R2 according to the Topology Diagram and Addressing Table.2. troubleshoot the configurations to find the error using the following systematic process: 1. Inc.1? __si______ All contents are Copyright © 1992–2007 Cisco Systems. Check the cabling.8.3.1. All rights reserved.168. is it possible to ping the default gateway? __si______ From the host PC2. you should be able to successfully ping the default gateway.1.1. is it possible to ping the default gateway? ___si_____ If the answer is no for any of these questions. Check the PC configurations.16.1? __si______ From the router R2. Configure the host PC1 with an IP address of 172.

Has the interface been activated or enabled? ________ 4.CCNA Exploration Routing Protocols and Concepts: Static Routing Lab 2. R1#_____show ip route___________________________ All contents are Copyright © 1992–2007 Cisco Systems. R2#show ip interface brief Interface IP-Address FastEthernet0/0 172. Step 1: Check status of interfaces.1.2 Vlan1 unassigned OK? YES YES YES YES YES Method manual unset manual manual manual Status Protocol up up administratively down down up up up up administratively down down Are all of the relevant interfaces on each router activated (that is. you should be able to successfully ping from R2 to R1 and from R2 to R3.1: Basic Static Route Configuration If the answer is no for any of these questions. Check the cabling. Do they match the Topology Diagram? ________ Did you configure the clock rate command on the DCE side of the link? ________ 3. Check the router interfaces using the show ip interface brief command.16.16. troubleshoot the configurations to find the error using the following systematic process: 1. This document is Cisco Public Information. is it possible to ping the host PC1? _____no___ From the router R1.1.2 Serial0/0/1 192. The following output is for R2. All rights reserved. Step 3: Use ping to check connectivity between devices that are not directly connected. Inc. is it possible to ping the host PC2? ___no_____ From the host PC2. in the up and up state)? __no______ How many interfaces are activated on R1 and R3? ___2____ Why are there three activated interfaces on R2? ____el router 2 tiene 2 seriales y una Lan________ _________________________________________________________________________________ Step 2: View the routing table information for all three routers. que las que están conectadas directamente_________________________________________________ Task 7: Gather Information.8. is it possible to ping router R3? ___no_____ These pings should all fail. is it possible to ping the host PC1? _no_______ From the host PC3. Check the status of the interfaces on each router with the command show ip interface brief. Why? ___Porque lo routers no pueden conmutar los paquetes a las redes que están más lejos.1 FastEthernet0/1 unassigned Serial0/0/0 172. Check the router configurations.168. Page 10 of 20 . Are the routers physically connected? ________ Are link lights blinking on all relevant ports? ________ 2. From the host PC3. Are the interfaces up and up? ________ If your answer to all three steps is yes.2.

16.EIGRP external.IS-IS. o .IGRP. o .2.EIGRP external. R .mobile.mobile.OSPF inter area N1 . S .IS-IS.RIP.connected. Inc. * . E .periodic downloaded static route Gateway of last resort is not set C C 172.ODR P .IS-IS level-1.EIGRP.OSPF inter area N1 .candidate default U .IS-IS level-2. N2 .IS-IS level-1. Serial0/0/1 192. L1 . This document is Cisco Public Information.static. E2 . EX . U .EIGRP.8.168.mobile.IGRP. EX .candidate default U .OSPF NSSA external type 2 E1 .OSPF NSSA external type 2 E1 . M . 2 subnets 172.OSPF external type 1.1: Basic Static Route Configuration Codes: C . R .0 is directly connected.16.0.IS-IS level-2. I .CCNA Exploration Routing Protocols and Concepts: Static Routing Lab 2.16.OSPF.OSPF NSSA external type 2 E1 . M . IA . 2 subnets 172.0/24 is subnetted. S . FastEthernet0/0 What networks are present in the Topology Diagram but not in the routing table for R3? _______la Wan de R1 y la Lan de R1____________________________________________ All contents are Copyright © 1992–2007 Cisco Systems.EGP i .2. L2 .OSPF external type 2.IS-IS level-1. B .IGRP. L2 . E2 . B .OSPF NSSA external type 1. FastEthernet0/0 172.BGP D .EIGRP. N2 . L1 .0 is directly connected. I . O .OSPF NSSA external type 1. S .BGP D .OSPF external type 1.0 is directly connected.0/24 is directly connected. E .BGP D .ODR Gateway of last resort is not set C C 192.OSPF. L1 .ODR Gateway of last resort is not set C C C 172.2. IA .static.EGP i .OSPF.OSPF external type 2.connected. M . O .per-user static route.0. O .IS-IS level-2. o .0/24 is directly connected.16. FastEthernet0/0 What networks are present in the Topology Diagram but not in the routing table for R1? _____Lan de R1 y Wan de R2________________________________________________ R2#____show ip route_____________________________ Codes: C . E2 .OSPF external type 2.16.0 is directly connected. ia .16. EX . R .RIP.3. I .1.1.per-user static route.connected.per-user static route.RIP.OSPF external type 1.0/24 is subnetted.1. E .0/24 is directly connected.EGP i .OSPF NSSA external type 1.static.168. IA . N2 .IS-IS.IS-IS inter area * .candidate default. L2 . All rights reserved. Serial0/0/0 172.OSPF inter area N1 . B .EIGRP external. Serial0/0/1 What networks are present in the Topology Diagram but not in the routing table for R2? __las WAN de R1 y R3 y la LAN DE R2__________________________________ R3#___show ip route______________________________ Codes: C .168. * . Page 11 of 20 . Serial0/0/0 192.

1. B .mobile. E .168. IA .0.16.BGP D .candidate default U . M .OSPF external type 1.16. The subnet mask can be modified to summarize a group of networks.EIGRP.168.IS-IS level-2.1.0/24 network? __serial 0/0/1__________ All contents are Copyright © 1992–2007 Cisco Systems.OSPF external type 2. Page 12 of 20 .RIP.0/24 is subnetted.2. I . R3#______show ip route___________________________ Codes: C .per-user static route. This document is Cisco Public Information. Step 1: To configure static routes with a next-hop specified.0 255.0 [1/0] via 192.2 R3(config)# Step 2: View the routing table to verify the new static route entry.2.0 network using the Serial 0/0/1 interface of R2 as the next-hop address.2 192.1: Basic Static Route Configuration Why are all the networks not in the routing tables for each of the routers? Se debe a que no hay un protocolo de enrutamiento o rutas estáticas para estas redes cada router solo conoce las redes interconectas directamente_ What can be added to the network so that devices that are not directly connected can ping each other? __ Rutas estaticas o habilitar un protocolo de enrutamiento____________________________________ Task 8: Configure a Static Route Using a Next-Hop Address.1.0/24 is directly connected.IS-IS.OSPF NSSA external type 2 E1 . subnet-mask—Subnet mask of the remote network to be added to the routing table. S . O . What interface will R3 use to forward packets to the 172.1. Serial0/0/1 192. All rights reserved.IGRP.255.CCNA Exploration Routing Protocols and Concepts: Static Routing Lab 2. L2 .1.168.0 192. configure a static route to the 172. Inc.255.OSPF NSSA external type 1. 1 subnets 172.1. E2 .16. R . * . On the R3 router.OSPF. which means that the route is a static route.8. ip-address—Commonly referred to as the next-hop router’s IP address.168. use the following syntax: Router(config)# ip route network-address subnet-mask ip-address • • • network-address:—Destination network address of the remote network to be added to the routing table.16.EIGRP external. FastEthernet0/0 With this route entered in the routing table. Notice that the route is coded with an S. o .static.ODR Gateway of last resort is not set S C C R3# 172.OSPF inter area N1 .IS-IS level-1.connected.1.16.0/24 is directly connected. N2 .168. L1 .1. EX . any packet that matches the first 24 left-most bits of 172.0/24 will be forwarded to the next-hop router at 192.16.1.EGP i . R3(config)#ip route 172.

The pings will arrive at PC2 if you have configured and verified all devices through Task 7.1. Step 3: Use ping to check connectivity between the host PC3 and the host PC2.” PC2 will send a ping reply back to PC3.0 is directly connected.16. Will R3 discard the packet or forward the packet? If R3 forwards the packet.CCNA Exploration Routing Protocols and Concepts: Static Routing Lab 2.16.BGP D . IA .2.168. this does not mean that a packet will arrive safely at the final destination.IS-IS level-1.2.0/24 [1/0] via 192. B .0 255.1.168.0.ODR Gateway of last resort is not set C C C S R2# 172. Inc.0/24 is directly connected.2. All contents are Copyright © 1992–2007 Cisco Systems.static.1 172.1.OSPF inter area N1 . L1 .168.0/24 network? R2(config)#ip route 192.255. Page 13 of 20 . o . the ping reply will be discarded at R2 because the R2 does not have a return route to the 192. From the host PC3.2 172.connected.OSPF external type 2. L2 . Step 4: On the R2 router. Notice that the route is coded with an S. This document is Cisco Public Information.1.0 is directly connected.8.10 192. is it possible to ping the host PC2? __no______ These pings should fail.2.2. configure a static route to reach the 192.16.168. O .0 network.OSPF external type 1.255. What is the next-hop address to which R2 would send a packet destined for the 192.168. From the host PC3.16.1____________ R2(config)# Step 5: View the routing table to verify the new static route entry.10 Discard or Forward? ___Discard______ _________foward _________foward _________discard _________foward Interface _________ _S 0/0/1__ _S 0/0/1__ _________ __Fa 0/0__ Although R3 will forward packets to destinations for which there is a route. is it possible to ping the host PC2? __si______ This ping should be successful.1: Basic Static Route Configuration Assume that the following packets have arrived at R3 with the indicated destination addresses.EGP i .168.IGRP. R2#____show ip route_____________________________ Codes: C . Serial0/0/1 192.0 network in the routing table.1 Step 6: Use ping to check connectivity between the host PC3 and the host PC2.RIP. I .168.2.per-user static route.0/24 is subnetted.16.16.1.OSPF.candidate default U .168. “Gather Information.168. Serial0/0/0 192. R . All rights reserved.OSPF NSSA external type 2 E1 . E2 . M . with what interface will R3 send the packet? Packet 1 2 3 4 5 Destination IP 172. S .EIGRP external.IS-IS level-2.OSPF NSSA external type 1.1. FastEthernet0/0 172.3.2. N2 .IS-IS.mobile.EIGRP. However. 2 subnets 172.0 ____192. EX .16.10 192. E .2. * . which means the route is a static route.

R .168.2. Inc.255.EGP i .OSPF external type 2.2.CCNA Exploration Routing Protocols and Concepts: Static Routing Lab 2.2.IS-IS level-1.OSPF. To configure static routes with an exit interface specified.EIGRP external.0 255.0. L1 . EX .168. * . R3(config)# ip route 172.EIGRP.0 ! interface Serial0/0/0 no ip address shutdown All contents are Copyright © 1992–2007 Cisco Systems. L2 . E2 . All rights reserved. configure a static route. configure a static route to the 172. 2 subnets 172.1.per-user static route. use the following syntax: Router(config)# ip route network-address subnet-mask exit-interface • • • network-address—Destination network address of the remote network to be added to the routing table. exit-interface—Outgoing interface that would be used in forwarding packets to the destination network.16. E . The subnet mask can be modified to summarize a group of networks.16.16.connected.OSPF NSSA external type 2 E1 .0 Serial0/0/1 R3(config)# Step 2: View the routing table to verify the new static route entry. R3#show running-config Building configuration.. Step 1: On the R3 router. S .2. IA .mobile.0 [1/0] via 192.2 172.1.1.168.0/24 is subnetted.OSPF NSSA external type 1. <output omitted> ! hostname R3 ! interface FastEthernet0/0 ip address 192. FastEthernet0/0 Use the show running-config command to verify the static routes that are currently configured on R3. R3#______show ip route__________________________ Codes: C .OSPF external type 1. B .1 255.8.RIP. On the R3 router.BGP D .16. I .1: Basic Static Route Configuration Task 9: Configure a Static Route Using an Exit Interface.candidate default U . M ..IGRP.16.255.0/24 is directly connected.255.168.IS-IS level-2. o .2.0 network using the Serial 0/0/1 interface of the R3 router as the exit interface. Page 14 of 20 .255. This document is Cisco Public Information.IS-IS. N2 . Serial0/0/1 192. O .ODR Gateway of last resort is not set S S C C R3# 172.0 is directly connected. subnet-mask—Subnet mask of the remote network to be added to the routing table.static.0/24 is directly connected.OSPF inter area N1 . Serial0/0/1 192.

candidate default U . O .255. R .168.255. Serial0/0/0 172.1. M .3.1 255.0/24 is directly connected.OSPF.per-user static route.connected.RIP.16. Serial0/0/1 192.0 is directly connected.16.16.16. R2(config)# ip route 172.16.1. FastEthernet0/0 172. This ping should fail because the R1 router does not have a return route to the 172.CCNA Exploration Routing Protocols and Concepts: Static Routing Lab 2.0 255.1. o . Page 15 of 20 .2 ip route 172.0 Serial0/0/0 R2(config)# Step 4: View the routing table to verify the new static route entry.BGP D . L1 .255.static. This document is Cisco Public Information.168.0 192. Inc.168. IA .ODR Gateway of last resort is not set C C S C S R2# 172.2.168.255. All contents are Copyright © 1992–2007 Cisco Systems.OSPF NSSA external type 1.1. configure a static route.16.255.0 network in the routing table.1.0 is directly connected. Does this mean that R2 can receive ping replies from all destinations shown in the Topology Diagram? ____no____ Why or why not? _____r1 y r3 no tienen tablas de enrutamiento completas_____________________________________ _______________________________________________________________________ Step 5: Use ping to check connectivity between the host PC2 and PC1.0 255.16.8.255.0 serial0/01_________________________________ Step 3: On the R2 router.16. EX .OSPF NSSA external type 2 E1 . L2 . Serial0/0/0 192.0 network using the Serial 0/0/0 interface of the R2 router as the exit interface. R2 has a complete routing table with valid routes to all five networks shown in the Topology Diagram.EIGRP external.2.IGRP.0 255.OSPF external type 2.IS-IS level-2.0 is directly connected.3.1.1: Basic Static Route Configuration ! interface Serial0/0/1 ip address 192.0/24 [1/0] via 192.0 Serial0/0/1 ! end How would you remove either of these routes from the configuration? Con el comando “no ip route 172.3.255.0/24 is subnetted.255. configure a static route to the 172. N2 .255.16. I .2. All rights reserved. 3 subnets 172.0 ! ip route 172. E .IS-IS level-1. R2#____show ip route_____________________________ Codes: C . E2 . S .255.OSPF inter area N1 .EIGRP. On the R2 router.OSPF external type 1.1.IS-IS.EGP i .16. * .0. B .1 At this point.mobile.0 255.168.2.

All rights reserved.0 is directly connected. The router and you would be overwhelmed.0 network in the routing table on the R3 router? __no______ All contents are Copyright © 1992–2007 Cisco Systems. R1(config)#ip route 0.EGP i . S . But could you do this for every route on the Internet? No.0.0.0.EIGRP.mobile. R .0. This document is Cisco Public Information. Step 3: Use ping to check connectivity between the host PC2 and PC1. In the previous steps.2.static.IS-IS level-1. Page 16 of 20 . use the following syntax: Router(config)#ip route 0.per-user static route.RIP. To minimize the size of the routing tables. This means that R2 is the default gateway for R1.16.0.CCNA Exploration Routing Protocols and Concepts: Static Routing Lab 2.IS-IS.0.candidate default U . B .0/0 [1/0] via 172.EIGRP external. Configure the R1 router with a default route using the interface option on Serial 0/0/0 of R1 as the nexthop interface.16.OSPF external type 1. we must explicitly configure R1 with a default route before it will send packets with unknown destinations to R2. If R1 has packets to route that do not belong to any of R1 directly connected networks.0. Instead of filling the routing table of R1 with static routes.BGP D .2.IGRP.3.0. O .8. Serial0/0/0 172.16.OSPF NSSA external type 2 E1 .16.0 is directly connected. E2 .OSPF NSSA external type 1.16.3. M .OSPF. more specific route to a destination.ODR Gateway of last resort is 172. However. N2 . you configured the router for specific destination routes.16. we could assume that R1 is a stub router. Otherwise.0. 2 subnets 172. is it possible to ping PC1? ___si_____ This ping should be successful this time because the R1 router can return the packet using the default route.2 to network 0. To configure a default static route. E . R1 discards packets with unknown destinations.OSPF inter area N1 . is it possible to ping the host PC1? ____no____ Is there a route to the 172.2. L1 . * . R1#_______show ip route_________________________ Codes: C . o . From the host PC2.0 C C S* R1# 172.2. From the host PC3.0.0. IA . the gateway of last resort. R1 should send the packet to R2.IS-IS level-2. Inc. L2 . EX . I .2 R1(config)# Step 2: View the routing table to verify the new static route entry.16. and will send all unknown traffic out Serial 0/0/0. A router uses the default static route when there is not a better. FastEthernet0/0 0. add a default static route.2 Note that the R1 router now has a default route.1: Basic Static Route Configuration Task 10: Configure a Default Static Route.0 172. which is connected to R2.0 0.0.0.0 0.OSPF external type 2.0 { ip-address | interface } Step 1: Configure the R1 router with a default route.0/24 is subnetted.connected.

L1 . S .00000011.00000000 10101100. we use a mask with 22 bits turned on from left to right: Bit Mask 11111111.1. We could configure another static route on R3 for the 172.16.RIP. FastEthernet0/0 Configuring a summary route on R3 did not remove the static routes configured earlier because these routes are more specific routes.0. Looking at the three networks at the binary level.255.00010000. Because these networks are so close together.168.OSPF NSSA external type 1.252. Page 17 of 20 . we already have two static routes to 172.16.1.16.00000001.11111100.16. All rights reserved. Serial0/0/1 192. in dotted-decimal format.0. I .0 172.0. They both use /24 mask.0 Step 1: Configure the summary static route on the R3 router.IS-IS inter area * .0 To mask the first 22 left-most bits.IS-IS level-2. whereas the new summary will be using a /22 mask. N2 .0/22.0 192. R3#_____show ip route___________________________ Codes: C . R3(config)#ip route 172.OSPF NSSA external type 2 E1 .0/24 and 172.EIGRP external.16.1. R3(config)#no ip route 172. we can a common boundary at the 22nd bit from the left. Again.2 Step 2: Verify that the summary route is installed in the routing table. we can summarize them into one route.IS-IS level-1.16. U .168.252. o .OSPF inter area N1 .16.0 network. doing this helps reduce the size of routing tables.255.255.168.0/24 is directly connected.EGP i . E .3.OSPF external type 1.8.11111111.mobile.00000000 This mask.16.0 10101100. is.CCNA Exploration Routing Protocols and Concepts: Static Routing Lab 2.1.per-user static route. Serial0/0/1 192.16.2 R3(config)#no ip route 172.0.periodic downloaded static route Gateway of last resort is not set S S S C C 172.2 172.connected.255.00000010.16. 3 subnets.168. we can now remove the more specific /24 routes. 2 masks 172.0/24 [1/0] via 192.1. To reduce the size of the routing table.0/22 [1/0] via 192.0/16 is variably subnetted.2.2.IS-IS.0/24 is directly connected.16. because this would be the prefix if we turned off all the bits to the right of the 22nd bit.1.0.ODR P . Remove the two static routes that are currently configured on R3 by using the no form of the command.2 172. O .EIGRP. M .2.0 255.candidate default.IGRP.168.static.0/24.1: Basic Static Route Configuration Task 11: Configure a Summary Static Route.0 255.168. Mask 255. L2 . ia .3. The network to be used in the summary route is 172. 172.00000000 The prefix portion will include 172. Inc.0 172.16. EX . Step 3: Remove static routes on R3.2.1.0 192. This document is Cisco Public Information.255.0/24 is directly connected.00010000. B . which makes the route lookup process more efficient.16.00000000 10101100.0. E2 .OSPF external type 2.OSPF.1.0. Prefix 172.1. IA .255. R .16.2..0 Serial0/0/1 All contents are Copyright © 1992–2007 Cisco Systems.00010000.16..BGP D .16.0 255. However.

I .2.IS-IS level-1. L1 . Task 12: Summary.OSPF NSSA external type 1. Serial0/0/1 192.168. S .0/24 is directly connected. IA . R3#______ show ip route ___________________________ Codes: C .OSPF inter area N1 .2. Inc. O .0 network on the R3 router.1: Basic Static Route Configuration Step 4: Verify that the routes are no longer in the routing table.1. U .ODR P .1.0/24 is directly connected. 1 subnets 172. you have: • • • • • Configured your first network with a combination of static and default routing to provide full connectivity to all networks Observed how a route is installed in the routing table when you correctly configure and activate the interface Learned how to statically configure routes to destinations that are not directly connected Learned how to configure a default route that is used to forward packets to unknown destinations Learned how to summarize a group of networks into one static route to reduce the size of a routing table Along the way.periodic downloaded static route Gateway of last resort is not set S C C 172.per-user static route. FastEthernet0/0 R3 now only has one route to any host belonging to networks 172. N2 .OSPF. o .1.0/24.static.3.IGRP.mobile. Hopefully.0/22 is subnetted.BGP D .RIP.0/24.16.3.1.CCNA Exploration Routing Protocols and Concepts: Static Routing Lab 2.IS-IS inter area * . you have also probably encountered some problems either in your physical lab setup or in your configurations.0. At this point. From the host PC3.EIGRP external. is it possible to ping the host PC1? ___si_____ This ping should be successful this time because there is a route to the 172.connected.EIGRP.0 [1/0] via 192. 172.______________________________________________________ _____________________________________________________________________________ All contents are Copyright © 1992–2007 Cisco Systems.OSPF external type 2.16.16.2.168. Page 18 of 20 .0. 172. B .8.0/24.16. ia .OSPF external type 1.IS-IS level-2. R . you have learned to systematically troubleshoot such problems. and Documentation With the completion of this lab.IS-IS. and 172. ____Bueno nuestra recomendación seria que para futuras practicas se nos indique paso a paso las conexiones a realizar porque a veces no se comprende muy bien con las hojas de practica y con ello evitar cualquier mala conexión.OSPF NSSA external type 2 E1 . E . and the R1 router can return the packet using the default route. Step 5: Use ping to check connectivity between the host PC3 and PC1.2 192. record any comments or notes that may help you in future labs.16. M .EGP i . L2 .16. EX . All rights reserved.168.0.16. E2 . This document is Cisco Public Information. Reflection. Traffic destined for these networks will be sent to R2 at 192.0/24.candidate default.168.

This document is Cisco Public Information. R2 receives the frame on the __s0/0/1__________ interface. the address field in the HDLC packet contains the value 0x8F. R2 strips off the header and looks up the network address _____172.1.168.10____________. For PC hosts that are normally connected to other networks (such as the school LAN or to the Internet). PC2 strips off the Ethernet header. PC3 then frames the packet with the source MAC address of (indicate device name) ___PC3 _____ and the destination MAC address of (indicate device name) ___R3___ ________.1. If you need help with this exercise see Section 1. The ICMP process on PC3 formulates a ping request to PC2 and sends the request to the IP process.2. R2 then sends the frame out on the media as an encoded bit stream. Because the destination MAC address matches the MAC address of PC2.1.16. R3 strips off the Ethernet header. 10. PC3 sends the frame out on the media as an encoded bit stream. R3 encapsulates the packet in an HDLC frame and forwards the frame out the correct interface. 3. R2 encapsulates the ping request in a frame with the source MAC address of (indicated device name) ____R2 _____ and the destination MAC address of (indicate device name) ___PC2_____. (Because this is a point-to-point link. “Path Determination and Switching Function.1.16. no address is needed. see Lab 1. 11.CCNA Exploration Routing Protocols and Concepts: Static Routing Lab 2. reconnect the appropriate cabling and restore the TCP/IP settings. 5. Task 13: Clean Up Erase the configurations and reload the routers. 4. However.5. you should document your network implementation. • • • show running-config show ip route show ip interface brief If you need to review the procedures for capturing command output.2_____________. Because the destination MAC address matches the receiving interface’s MAC address.1. All rights reserved. The ICMP process on PC2 formulates a ping reply to PC3 and sends the reply to the IP process. Task 14: Challenge In the following exercise.10_________. fill in the blanks to document the process as the ping travels from source to destination. R3 receives the bit stream on its ______fa0/0_______ interface.10__________ and destination IP address of __172. On each router. This destination address is directly connected to the ___fa/0/0________ interface. 12.10____________ and destination IP address of _192.8. Inc. Disconnect and store the cabling.2. 6. The IP process on PC2 examines the _172. Page 19 of 20 .1. Then PC2 passes the data to the ICMP process. 7.) 8.168.0_____________ in its routing table.16.10___ IP address to make sure that it matches its own IP address. Because the frame is HDLC.1: Basic Static Route Configuration Finally. 14.16. PC2 receives the bit stream on its _ethernet_______ interface.txt) file and save for future reference.168. 9. capture the following command output to a text (.4. The IP process on PC3 encapsulates the ping packet with a source IP address of _192. 2. The next-hop IP address is reachable out interface ____s0/0/1_________.” 1. R3 looks up the destination network address ___172. The IP process on PC2 encapsulates the ping packet with a source IP address of _172. This destination has a next-hop IP address of ___192.0____________ in its routing table. 13.1. Next.16. All contents are Copyright © 1992–2007 Cisco Systems.

16.168. (Because this is a point-to-point link. Page 20 of 20 . 16. R2 receives the bit stream on its ____fa0/0_________ interface.8.2.10______ IP address to make sure that it matches its own IP address. This destination address is directly connected to the ___fa0/0___________ interface. Inc. ICMP sends a “success” message to the requesting application.2.CCNA Exploration Routing Protocols and Concepts: Static Routing Lab 2. 19. This document is Cisco Public Information. R3 receives the frame on the __s0/0/1_________ interface. PC3 receives the bit stream on its __ETHERNET____________ interface.1______. The IP process on PC3 examines the _192. Because the frame is HDLC. Because the destination MAC address matches the MAC address of PC3. no address is needed.) 20. R3 strips off the header and looks up the destination network address ___192. The next-hop IP address is reachable out interface ___s0/0/1_________. PC2 then sends the frame out on the media as an encoded bit stream. R2 encapsulates the packet in an HDLC frame and forwards the frame out the correct interface.0_________ in its routing table. R2 strips off the Ethernet header. the address field in the HDLC packet contains the value 0x8F. All rights reserved. 18. However. 24.168. 22.2.1: Basic Static Route Configuration 15. PC2 then frames the packet with the source MAC address of (indicate device name) ___PC2_____ and the destination MAC address of (indicate device name) ___R2______. 21.168. 23. Then PC3 passes the data to the ICMP process. 25.0_________ in its routing table. This destination has a next-hop IP address of ____192. R3 encapsulates the ping request in a frame with the source MAC address of (indicated device name) ____R3____ and the destination MAC address of (indicate device name) __PC3______. R2 looks up the destination network address __192. PC3 strips off the Ethernet header. Because the destination MAC address matches the receiving interface’s MAC address. 17. R3 then sends the frame out on the media as an encoded bit stream.1. All contents are Copyright © 1992–2007 Cisco Systems.