10.3.4 Packet Tracer – Connect a Router to a LAN (Instructor Version)
Instructor Note: Red font color or gray highlights indicate text that appears in the instructor copy only.
Addressing Table
Device | Interface | IP Address | Subnet Mask | Default Gateway |
---|---|---|---|---|
R1 | G0/0 | 192.168.10.1 | 255.255.255.0 | N/A |
G0/1 | 192.168.11.1 | 255.255.255.0 | N/A | |
S0/0/0 (DCE) | 209.165.200.225 | 255.255.255.252 | N/A | |
R2 | G0/0 | 10.1.1.1 | 255.255.255.0 | N/A |
G0/1 | 10.1.2.1 | 255.255.255.0 | N/A | |
S0/0/0 | 209.165.200.226 | 255.255.255.252 | N/A | |
PC1 | NIC | 192.168.10.10 | 255.255.255.0 | 192.168.10.1 |
PC2 | NIC | 192.168.11.10 | 255.255.255.0 | 192.168.11.1 |
PC3 | NIC | 10.1.1.10 | 255.255.255.0 | 10.1.1.1 |
PC4 | NIC | 10.1.2.10 | 255.255.255.0 | 10.1.2.1 |
Objectives
Part 1: Display Router Information
Part 2: Configure Router Interfaces
Part 3: Verify the Configuration
Background
In this activity, you will use various show
commands to display the current state of the router. You will then use the Addressing Table to configure router Ethernet interfaces. Finally, you will use commands to verify and test your configurations.
Note: The routers in this activity are partially configured. Some of the configurations are not covered in this course, but are provided to assist you in using verification commands.
Instructor Note: The serial interfaces are already configured and active. In addition, routing is configured using OSPF. This is done so that this activity is ready to provide complete output from show commands when the student configures and activates the Ethernet interfaces
Part 1: Display Router Information
Step 1: Display interface information on R1.
Note: Click a device and then click the CLI tab to access the command line directly. The console password is cisco. The privileged EXEC password is class.
a. Which command displays the statistics for all interfaces configured on a router?
R1#show interfaces
b. Which command displays the information about the Serial 0/0/0 interface only?
R1#show interfaces serial 0/0/0
c. Enter the command to display the statistics for the Serial 0/0/0 interface on R1 and answer the following questions:
1) What is the IP address configured on R1? 209.165.200.225/30
2) What is the bandwidth on the Serial 0/0/0 interface? 1544 kbits
Instructions
R1#show interfaces serial 0/0/0 R1#show interfaces serial 0/0/0 Serial0/0/0 is up, line protocol is up (connected) Hardware is HD64570 Internet address is 209.165.200.225/30 MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation HDLC, loopback not set, keepalive set (10 sec) Last input never, output never, output hang never Last clearing of "show interface" counters never Input queue: 0/75/0 (size/max/drops); Total output drops: 0 Queueing strategy: weighted fair Output queue: 0/1000/64/0 (size/max total/threshold/drops) Conversations 0/0/256 (active/max active/max total) Reserved Conversations 0/0 (allocated/max allocated) Available Bandwidth 1158 kilobits/sec 5 minute input rate 64 bits/sec, 0 packets/sec 5 minute output rate 67 bits/sec, 0 packets/sec 43 packets input, 2540 bytes, 0 no buffer Received 0 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort 43 packets output, 2560 bytes, 0 underruns 0 output errors, 0 collisions, 1 interface resets 0 output buffer failures, 0 output buffers swapped out 0 carrier transitions DCD=up DSR=up DTR=up RTS=up CTS=up
d. Enter the command to display the statistics for the GigabitEthernet 0/0 interface and answer the following questions:
- What is the IP address on R1? There is no IP address configured on the GigabitEthernet 0/0 interface.
- What is the MAC address of the GigabitEthernet 0/0 interface? 000d.bd6c.7d01
- What is the bandwidth on the GigabitEthernet 0/0 interface? 1000000 kbits
Instructions
R1#show interfaces gigabitEthernet 0/0 GigabitEthernet0/0 is administratively down, line protocol is down (disabled) Hardware is CN Gigabit Ethernet, address is 000d.bd6c.7d01 (bia 000d.bd6c.7d01) MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set Keepalive set (10 sec) Full-duplex, 100Mb/s, media type is RJ45 output flow-control is unsupported, input flow-control is unsupported ARP type: ARPA, ARP Timeout 04:00:00, Last input 00:00:08, output 00:00:05, output hang never Last clearing of "show interface" counters never Input queue: 0/75/0 (size/max/drops); Total output drops: 0 Queueing strategy: fifo Output queue :0/40 (size/max) 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 0 packets input, 0 bytes, 0 no buffer Received 0 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort 0 watchdog, 1017 multicast, 0 pause input 0 input packets with dribble condition detected 0 packets output, 0 bytes, 0 underruns 0 output errors, 0 collisions, 2 interface resets 0 unknown protocol drops 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier 0 output buffer failures, 0 output buffers swapped out
Step 2: Display a summary list of the interfaces on R1.
a. Which command displays a brief summary of the current interfaces, statuses, and IP addresses assigned to them?
R1#show ip interface brief
b. Enter the command on each router and answer the following questions:
1) How many serial interfaces are there on R1 and R2?
Each router has 2 serial interfaces
2) How many Ethernet interfaces are there on R1 and R2?
R1 has 6 Ethernet interfaces and R2 has 2 Ethernet interfaces.
3) Are all the Ethernet interfaces on R1 the same? If no, explain the difference(s).
No, they are not. There are two Gigabit Ethernet interfaces and 4 Fast Ethernet interfaces. Gigabit Ethernet interfaces support speeds of up to 1,000,000,000 bits per second and Fast Ethernet interfaces support speeds of up to 1,000,000 bits per second.
Step 3: Display the routing table on R1.
a. What command displays the content of the routing table?
R1#show ip route
b. Enter the command on R1 and answer the following questions:
1) How many connected routes are there (uses the C code)? 1
2) Which route is listed? 209.165.200.224/30
3) How does a router handle a packet destined for a network that is not listed in the routing table?
A router will only send packets to a network listed in the routing table. If a network is not listed, the packet will be dropped.
Part 2: Configure Router Interfaces
Step 1: Configure the GigabitEthernet 0/0 interface on R1.
a. Enter the following commands to address and activate the GigabitEthernet 0/0 interface on R1 :
R1(config)# interface gigabitethernet 0/0 R1(config-if)# ip address 192.168.10.1 255.255.255.0 R1(config-if)# no shutdown %LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up
b. It is good practice to configure a description for each interface to help document the network information. Configure an interface description indicating to which device it is connected.
R1(config-if)# description LAN connection to S1
c. R1 should now be able to ping PC1.
R1(config-if)# end %SYS-5-CONFIG_I: Configured from console by console R1# ping 192.168.10.10 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.10.10, timeout is 2 seconds: .!!!! Success rate is 80 percent (4/5), round-trip min/avg/max = 0/2/8 ms
Step 2: Configure the remaining Gigabit Ethernet Interfaces on R1 and R2.
a. Use the information in the Addressing Table to finish the interface configurations for R1 and R2. For each interface, do the following:
- Enter the IP address and activate the interface.
- Configure an appropriate description.
b. Verify interface configurations.
Step 3: Back up the configurations to NVRAM.
Save the configuration files on both routers to NVRAM. What command did you use? copy run start
Instructions
[tabs][tab title=”R1″]
cisco R1>enable class R1#config terminal R1(config)#interface gigabitethernet 0/0 R1(config-if)#ip address 192.168.10.1 255.255.255.0 R1(config-if)#no shutdown R1(config-if)#description LAN connection to S1 R1(config-if)#exit R1(config)#interface gigabitEthernet 0/1 R1(config-if)#ip address 192.168.11.1 255.255.255.0 R1(config-if)#no shutdown R1(config-if)#description LAN connection to S2 R1(config-if)#end R1#copy running-config startup-config
[/tab] [tab title=”R2″]
cisco R2>en Password: class R2#conf ter R2(config)#interface gigabitEthernet g0/0 R2(config-if)#ip add 10.1.1.1 255.255.255.0 R2(config-if)#no shutdown R2(config-if)#description LAN connection to S3 R2(config-if)#interface gigabitEthernet 0/1 R2(config-if)#ip address 10.1.2.1 255.255.255.0 R2(config-if)#no shutdown R2(config-if)#description LAN connection to S4 R2(config-if)#end R2#copy running-config startup-config
[/tab][/tabs]
Part 3: Verify the Configuration
Step 1: Use verification commands to check your interface configurations.
a. Use the show ip interface brief
command on both R1 and R2 to quickly verify that the interfaces are configured with the correct IP address and active.
How many interfaces on R1 and R2 are configured with IP addresses and in the “up” and “up” state?
3 on each router
What part of the interface configuration is NOT displayed in the command output?
The subnet mask
What commands can you use to verify this part of the configuration?
show run, show interfaces, show ip protocols
b. Use the show ip route
command on both R1 and R2 to view the current routing tables and answer the following questions:
1) How many connected routes (uses the C code) do you see on each router? 3
2) How many OSPF routes (uses the O code) do you see on each router?
Both R1 and R2 show 2 OSPF routes.
3) If the router knows all the routes in the network, then the number of connected routes and dynamically learned routes (OSPF) should equal the total number of LANs and WANs. How many LANs and WANs are in the topology? 5
4) Does this number match the number of C and O routes shown in the routing table? yes
Note: If your answer is “no”, then you are missing a required configuration. Review the steps in Part 2.
Step 2: Test end-to-end connectivity across the network.
You should now be able to ping from any PC to any other PC on the network. In addition, you should be able to ping the active interfaces on the routers. For example, the following should tests should be successful:
- From the command line on PC1, ping PC4.
- From the command line on R2, ping PC2.
Note: For simplicity in this activity, the switches are not configured; you will not be able to ping them.
Download PDF & PKA file:
[sociallocker id=”54558″]
[wpdm_package id=’55511′]
[wpdm_package id=’55509′]
[/sociallocker]
[alert-note][one_half]
Previous Lab
10.1.4 Packet Tracer – Configure Initial Router Settings
[/one_half][one_half_last]
Next Lab
10.3.5 Packet Tracer – Troubleshoot Default Gateway Issues
[/one_half_last][/alert-note]