Top Banner
HCMC International University Computer Networks Dr. Phuong Vo Date: 07-12-2015 1 Lab exam Time: 03 hours Student name: Đỗ Song Toàn Student ID: ITITIU13083 Topology Task 1: IP addressing Step 1. Consider the network requirements: The 192.168.x.0/24 network must be subnetted to provide addresses for the three LANs. Each LAN requires 60 addresses. The subnet-mask /30 must be used for the serial connections between the three routers. The loopback address representing the link between the HQ router and the ISP will use the 200.200.200.200/32 network. Step 2. List the subnets used in the network in above topology. Subnet 1: 192.168.83.0/26 Subnet 2: 192.168.83.64/26 Subnet 3: 192.168.83.128/26 Subnet 4: 192.168.83.192/30 Subnet 5: 192.168.83.196/30 Subnet 6: 192.168.83.200/30
20
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Final Lab Cn

HCMC International University Computer Networks Dr. Phuong Vo Date: 07-12-2015

1

Lab exam

Time: 03 hours Student name: Đỗ Song Toàn Student ID: ITITIU13083

Topology

Task 1: IP addressing Step 1. Consider the network requirements:

The 192.168.x.0/24 network must be subnetted to provide addresses for the three LANs. Each LAN requires 60 addresses. The subnet-mask /30 must be used for the serial connections between the three routers. The loopback address representing the link between the HQ router and the ISP will use the

200.200.200.200/32 network. Step 2. List the subnets used in the network in above topology. Subnet 1: 192.168.83.0/26 Subnet 2: 192.168.83.64/26 Subnet 3: 192.168.83.128/26 Subnet 4: 192.168.83.192/30 Subnet 5: 192.168.83.196/30 Subnet 6: 192.168.83.200/30

Page 2: Final Lab Cn

HCMC International University Computer Networks Dr. Phuong Vo Date: 07-12-2015

2

… Step 3. Filling the following table:

Device Interface IP Address Subnet Mask Descriptions / Default Gateway

R1 Fa 192.168.83.1 255.255.255.192 N/A Serial0 192.168.83.193 255.255.255.252 N/A Serial1 192.168.83.198 255.255.255.252 N/A

Lo0 200.200.200.200 255.255.255.255 connect to ISP R2 Fa 192.168.83.65 255.255.255.192 N/A

Serial0 192.168.83.201 255.255.255.252 N/A Serial1 192.168.83.194 255.255.255.252 N/A

R3 Fa 192.168.83.129 255.255.255.192 N/A Serial0 192.168.83.197 255.255.255.252 N/A Serial1 192.168.83.202 255.255.255.252 N/A

PC1 NIC 192.168.83.2 255.255.255.192 192.168.83.1 PC2 NIC 192.168.83.66 255.255.255.192 192.168.83.65 PC3 NIC 192.168.83.130 255.255.255.192 192.168.83.129

Task 2: Perform Basic Router Configurations. Perform basic configuration of the R1, R2 and R3 routers according to the following guidelines:

1. Configure the router hostname. 2. Disable DNS lookup. 3. Configure an EXEC mode password. 4. Configure a password for console connections.

Task 2: Configure and Activate Serial and Ethernet Addresses. Step 1. Configure interfaces of R1, R2, and R3. Configure the interfaces on the routers with the IP addresses from the addressing table. Step 2. Verify IP addressing and interfaces. Output of show ip interface brief command:

Page 3: Final Lab Cn

HCMC International University Computer Networks Dr. Phuong Vo Date: 07-12-2015

3

Step 3. Configure Ethernet interfaces of PC1, PC2, and PC3. Configure the Ethernet interfaces of PC1, and PC2 with the IP addresses and default gateways and test the PC configuration by pinging the default gateway.

Task 3: Configure RIP. Step 1. Enable RIP routing on three router. Show your RIP routing configuration?

Page 4: Final Lab Cn

HCMC International University Computer Networks Dr. Phuong Vo Date: 07-12-2015

4

Step 2. Verify the routing table and answer the following questions. Printout the output of show ip route command:

Page 5: Final Lab Cn

HCMC International University Computer Networks Dr. Phuong Vo Date: 07-12-2015

5

What are the directly connected networks of R1? 200.200.200.200, loopback0 192.168.83.0/26, FastEthernet0 192.168.83.192/30, Serial0 192.168.83.196/30, Serial1 What are the networks R1 learned via RIP advertisements? 192.168.83.200/30 [120/1] via 192.168.83.194, 00:00:24, Serial0 [120/1] via 192.168.83.197, 00:00:09, Serial1 192.168.83.64/26 [120/1] via 192.168.83.194, 00:00:24, Serial0 192.168.83.128/26 [120/1] via 192.168.83.197, 00:00:09, Serial1 What are the paths from R1 to LAN 2 and LAN 3? Why these paths? 192.168.83.64/26 [120/1] via 192.168.83.194, 00:00:24, Serial0 192.168.83.128/26 [120/1] via 192.168.83.197, 00:00:09, Serial1 What are the next-hop IP addresses? From R1 to R2 192.168.11.64/26 [120/1] via 192.168.11.194, 00:00:24, Serial2/0 From R2 to R3 192.168.11.128/26 [120/1] via 192.168.11.198, 00:00:54, Serial3/0 Step 3. Verify the RIP protocol. Printout the output of show ip protocols command and explain the meaning of the timers:

Page 6: Final Lab Cn

HCMC International University Computer Networks Dr. Phuong Vo Date: 07-12-2015

6

Task 4: Running RIP on a Stub Network Step 1. Configure loop-back interface on router R1 to simulate the connection to ISP. R1 use default route to send the traffic to the internet and distributes this default route into the RIP domain.

Page 7: Final Lab Cn

HCMC International University Computer Networks Dr. Phuong Vo Date: 07-12-2015

7

Show your configure

Step 2. Show the routing tables of R1 and R2 and explain the entries corresponding to this step.

Page 8: Final Lab Cn

HCMC International University Computer Networks Dr. Phuong Vo Date: 07-12-2015

8

Task 5: Document your report and submit Step 1: On each router, capture the following command output to a text file and attaché to the end of your report.

Running configuration

Page 9: Final Lab Cn

HCMC International University Computer Networks Dr. Phuong Vo Date: 07-12-2015

9

Routing table Interface summarization Output from show ip protocols

Running-config: R1/

R1#sho ip rou Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route Gateway of last resort is 0.0.0.0 to network 0.0.0.0 200.200.200.0/32 is subnetted, 1 subnets C 200.200.200.200 is directly connected, Loopback0 192.168.83.0/24 is variably subnetted, 6 subnets, 2 masks C 192.168.83.0/26 is directly connected, FastEthernet0 R 192.168.83.64/26 [120/1] via 192.168.83.194, 00:00:08, Serial0 R 192.168.83.128/26 [120/1] via 192.168.83.197, 00:00:06, Serial1 R 192.168.83.200/30 [120/1] via 192.168.83.194, 00:00:08, Serial0 [120/1] via 192.168.83.197, 00:00:06, Serial1 C 192.168.83.192/30 is directly connected, Serial0 C 192.168.83.196/30 is directly connected, Serial1 S* 0.0.0.0/0 is directly connected, Loopback0 R1#sho ru Building configuration... Current configuration : 1355 bytes ! version 12.3 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname R1 ! boot-start-marker boot-end-marker

Page 10: Final Lab Cn

HCMC International University Computer Networks Dr. Phuong Vo Date: 07-12-2015

10

! enable secret 5 $1$d9ol$IAuy25sRXO.kP1Ctj.vIT. ! memory-size iomem 5 mmi polling-interval 60 no mmi auto-configure no mmi pvc mmi snmp-timeout 180 no aaa new-model ip subnet-zero no ip icmp rate-limit unreachable ip cef ! ! ip tcp synwait-time 5 ! ip audit po max-events 100 no ip domain lookup no ftp-server write-enable ! ! ! ! ! ! ! interface Loopback0 ip address 200.200.200.200 255.255.255.255 ! interface FastEthernet0 description R1 LAN ip address 192.168.83.1 255.255.255.192 speed auto ! interface Serial0 ip address 192.168.83.193 255.255.255.252 clockrate 64000 ! interface Serial1 description Link to R3 ip address 192.168.83.198 255.255.255.252 clockrate 64000

Page 11: Final Lab Cn

HCMC International University Computer Networks Dr. Phuong Vo Date: 07-12-2015

11

! interface Serial2 no ip address shutdown ! interface Serial3 no ip address shutdown ! router rip version 2 network 192.168.83.0 default-information originate ! ip classless ip route 0.0.0.0 0.0.0.0 Loopback0 no ip http server no ip http secure-server ! no cdp log mismatch duplex ! line con 0 exec-timeout 0 0 privilege level 15 password cisco logging synchronous login line aux 0 exec-timeout 0 0 privilege level 15 logging synchronous line vty 0 4 password cisco login ! end

R2/ R2#sho ru Building configuration... Current configuration : 1224 bytes

Page 12: Final Lab Cn

HCMC International University Computer Networks Dr. Phuong Vo Date: 07-12-2015

12

! version 12.3 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname R2 ! boot-start-marker boot-end-marker ! enable secret 5 $1$I0My$gg2SVkfNdkK0HOhwaGftn1 ! memory-size iomem 5 mmi polling-interval 60 no mmi auto-configure no mmi pvc mmi snmp-timeout 180 no aaa new-model ip subnet-zero no ip icmp rate-limit unreachable ip cef ! ! ip tcp synwait-time 5 ! ip audit po max-events 100 no ip domain lookup no ftp-server write-enable ! ! ! ! ! ! ! interface FastEthernet0 description R2 LAN ip address 192.168.83.65 255.255.255.192 speed auto ! interface Serial0

Page 13: Final Lab Cn

HCMC International University Computer Networks Dr. Phuong Vo Date: 07-12-2015

13

ip address 192.168.83.201 255.255.255.252 clockrate 64000 ! interface Serial1 description Link to R3 ip address 192.168.83.194 255.255.255.252 clockrate 64000 ! interface Serial2 no ip address shutdown ! interface Serial3 no ip address shutdown ! router rip version 2 network 192.168.83.0 ! ip classless no ip http server no ip http secure-server ! no cdp log mismatch duplex ! line con 0 exec-timeout 0 0 privilege level 15 password cisco logging synchronous login line aux 0 exec-timeout 0 0 privilege level 15 logging synchronous line vty 0 4 password cisco login ! end

Page 14: Final Lab Cn

HCMC International University Computer Networks Dr. Phuong Vo Date: 07-12-2015

14

R3/ R3#sho ru Building configuration... Current configuration : 1225 bytes ! version 12.3 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname R3 ! boot-start-marker boot-end-marker ! enable secret 5 $1$f4EU$9sTdA5pUuyRS5lTaFb3Pi. ! memory-size iomem 5 mmi polling-interval 60 no mmi auto-configure no mmi pvc mmi snmp-timeout 180 no aaa new-model ip subnet-zero no ip icmp rate-limit unreachable ip cef ! ! ip tcp synwait-time 5 ! ip audit po max-events 100 no ip domain lookup no ftp-server write-enable ! ! ! ! ! ! !

Page 15: Final Lab Cn

HCMC International University Computer Networks Dr. Phuong Vo Date: 07-12-2015

15

interface FastEthernet0 description R3 LAN ip address 192.168.83.129 255.255.255.192 speed auto ! interface Serial0 ip address 192.168.83.197 255.255.255.252 clockrate 64000 ! interface Serial1 description Link to R2 ip address 192.168.83.202 255.255.255.252 clockrate 64000 ! interface Serial2 no ip address shutdown ! interface Serial3 no ip address shutdown ! router rip version 2 network 192.168.83.0 ! ip classless no ip http server no ip http secure-server ! no cdp log mismatch duplex ! line con 0 exec-timeout 0 0 privilege level 15 password cisco logging synchronous login line aux 0 exec-timeout 0 0 privilege level 15 logging synchronous

Page 16: Final Lab Cn

HCMC International University Computer Networks Dr. Phuong Vo Date: 07-12-2015

16

line vty 0 4 password cisco login ! End Routing table R1#sho ip rou Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route Gateway of last resort is 0.0.0.0 to network 0.0.0.0 200.200.200.0/32 is subnetted, 1 subnets C 200.200.200.200 is directly connected, Loopback0 192.168.83.0/24 is variably subnetted, 6 subnets, 2 masks C 192.168.83.0/26 is directly connected, FastEthernet0 R 192.168.83.64/26 [120/1] via 192.168.83.194, 00:00:02, Serial0 R 192.168.83.128/26 [120/1] via 192.168.83.197, 00:00:17, Serial1 R 192.168.83.200/30 [120/1] via 192.168.83.194, 00:00:02, Serial0 [120/1] via 192.168.83.197, 00:00:17, Serial1 C 192.168.83.192/30 is directly connected, Serial0 C 192.168.83.196/30 is directly connected, Serial1 S* 0.0.0.0/0 is directly connected, Loopback0

R2# R2#sho ip rou Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route Gateway of last resort is 192.168.83.193 to network 0.0.0.0

Page 17: Final Lab Cn

HCMC International University Computer Networks Dr. Phuong Vo Date: 07-12-2015

17

192.168.83.0/24 is variably subnetted, 6 subnets, 2 masks R 192.168.83.0/26 [120/1] via 192.168.83.193, 00:00:25, Serial1 C 192.168.83.64/26 is directly connected, FastEthernet0 R 192.168.83.128/26 [120/1] via 192.168.83.202, 00:00:22, Serial0 C 192.168.83.200/30 is directly connected, Serial0 C 192.168.83.192/30 is directly connected, Serial1 R 192.168.83.196/30 [120/1] via 192.168.83.193, 00:00:25, Serial1 [120/1] via 192.168.83.202, 00:00:24, Serial0 R* 0.0.0.0/0 [120/1] via 192.168.83.193, 00:00:00, Serial1 R2#

R3# R3#sho ip rou Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route Gateway of last resort is 192.168.83.198 to network 0.0.0.0 192.168.83.0/24 is variably subnetted, 6 subnets, 2 masks R 192.168.83.0/26 [120/1] via 192.168.83.198, 00:00:26, Serial0 R 192.168.83.64/26 [120/1] via 192.168.83.201, 00:00:07, Serial1 C 192.168.83.128/26 is directly connected, FastEthernet0 C 192.168.83.200/30 is directly connected, Serial1 R 192.168.83.192/30 [120/1] via 192.168.83.198, 00:00:26, Serial0 [120/1] via 192.168.83.201, 00:00:07, Serial1 C 192.168.83.196/30 is directly connected, Serial0 R* 0.0.0.0/0 [120/1] via 192.168.83.198, 00:00:00, Serial0 R3# Interface summarization: R1#sho ip int bri Interface IP-Address OK? Method Status Protocol FastEthernet0 192.168.83.1 YES manual up up Loopback0 200.200.200.200 YES manual up up Serial0 192.168.83.193 YES manual up up

Page 18: Final Lab Cn

HCMC International University Computer Networks Dr. Phuong Vo Date: 07-12-2015

18

Serial1 192.168.83.198 YES manual up up Serial2 unassigned YES unset administratively down down Serial3 unassigned YES unset administratively down down R1# R2#sho ip int br Interface IP-Address OK? Method Status Protocol FastEthernet0 192.168.83.65 YES manual up up Serial0 192.168.83.201 YES manual up up Serial1 192.168.83.194 YES manual up up Serial2 unassigned YES unset administratively down down Serial3 unassigned YES unset administratively down down R2# R3#sho ip int br Interface IP-Address OK? Method Status Protocol FastEthernet0 192.168.83.129 YES manual up up Serial0 192.168.83.197 YES manual up up Serial1 192.168.83.202 YES manual up up Serial2 unassigned YES unset administratively down down Serial3 unassigned YES unset administratively down down R3# Output from show ip protocols R1#sho ip pro Routing Protocol is "rip" Sending updates every 30 seconds, next due in 22 seconds Invalid after 180 seconds, hold down 180, flushed after 240 Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Redistributing: rip Default version control: send version 2, receive version 2 Interface Send Recv Triggered RIP Key-chain FastEthernet0 2 2 Serial0 2 2 Serial1 2 2 Automatic network summarization is in effect Maximum path: 4 Routing for Networks: 192.168.83.0

Page 19: Final Lab Cn

HCMC International University Computer Networks Dr. Phuong Vo Date: 07-12-2015

19

Routing Information Sources: Gateway Distance Last Update 192.168.83.194 120 00:00:11 192.168.83.197 120 00:00:24 Distance: (default is 120) R2#sho ip pro Routing Protocol is "rip" Sending updates every 30 seconds, next due in 26 seconds Invalid after 180 seconds, hold down 180, flushed after 240 Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Redistributing: rip Default version control: send version 2, receive version 2 Interface Send Recv Triggered RIP Key-chain FastEthernet0 2 2 Serial0 2 2 Serial1 2 2 Automatic network summarization is in effect Maximum path: 4 Routing for Networks: 192.168.83.0 Routing Information Sources: Gateway Distance Last Update 192.168.83.202 120 00:00:06 192.168.83.193 120 00:00:10 Distance: (default is 120) R3#sho ip pro Routing Protocol is "rip" Sending updates every 30 seconds, next due in 24 seconds Invalid after 180 seconds, hold down 180, flushed after 240 Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Redistributing: rip Default version control: send version 2, receive version 2 Interface Send Recv Triggered RIP Key-chain FastEthernet0 2 2 Serial0 2 2 Serial1 2 2 Automatic network summarization is in effect Maximum path: 4

Page 20: Final Lab Cn

HCMC International University Computer Networks Dr. Phuong Vo Date: 07-12-2015

20

Routing for Networks: 192.168.83.0 Routing Information Sources: Gateway Distance Last Update 192.168.83.201 120 00:00:23 192.168.83.198 120 00:00:18 Distance: (default is 120) Step 2: Submit your final report to Blackboard.

END.