Top Banner
HCMC International University Computer Networks Dr. Phuong Vo Date: 07-12-2015 1 Lab exam Time: 03 hours Student name: Hà Vũ Thanh Thuận Student ID: ITITIU13122 Topology Task 1: IP addressing Step 1. Consider the network requirements: The 172.x.0.0/ network must be subnetted to provide addresses for the three LANs. o LAN 1 requires 1000 addresses o LAN 2 requires 500 address o LAN 3 requires 500 address 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 100.100.100.100/32 network. The bandwidths of the links between R1 and R2; R1 and R3 are 10Mbps. The bandwidth of the link between R2 and R3 is 2Mbps. Step 2. List the subnets used in the network in above topology. Subnet 1: 172.22.0.0/22 Subnet 2: 172.22.4.0/23
14

HaVuThanhThuan-ITITIU13122-LabComnet_IT - Lab Exam - Tues

Jan 28, 2016

Download

Documents

lab
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: HaVuThanhThuan-ITITIU13122-LabComnet_IT - Lab Exam - Tues

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

1

Lab exam

Time: 03 hours

Student name: Hà Vũ Thanh Thuận

Student ID: ITITIU13122

Topology

Task 1: IP addressing

Step 1. Consider the network requirements:

The 172.x.0.0/ network must be subnetted to provide addresses for the three LANs.

o LAN 1 requires 1000 addresses

o LAN 2 requires 500 address

o LAN 3 requires 500 address

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 100.100.100.100/32 network.

The bandwidths of the links between R1 and R2; R1 and R3 are 10Mbps.

The bandwidth of the link between R2 and R3 is 2Mbps.

Step 2. List the subnets used in the network in above topology.

Subnet 1: 172.22.0.0/22

Subnet 2: 172.22.4.0/23

Page 2: HaVuThanhThuan-ITITIU13122-LabComnet_IT - Lab Exam - Tues

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

2

Subnet 3: 172.22.6.0/23

Subnet 4: 172.22.8.0/30

Subnet 5: 172.22.8.4/30

Subnet 6: 172.22.8.8/30

Step 3. Filling the following table:

Device Interface IP Address Subnet Mask Descriptions / Default Gateway

R1 Fa 172.22.0.1/22 255.255.252.0 N/A

Serial0 172.22.8.1/30 255.255.255.252 N/A

Serial1 172.22.8.5/30 255.255.255.252 N/A

Lo0 100.100.100.100/32 255.255.255.255 connect to ISP

R2 Fa 172.22.4.1/23 255.255.254.0 N/A

Serial0 172.22.8.2/30 255.255.255.252 N/A

Serial1 172.22.8.9/30 255.255.255.252 N/A

R3 Fa 172.22.6.1/23 255.255.254.0 N/A

Serial0 172.22.8.10/30 255.255.255.252 N/A

Serial1 172.22.8.6/30 255.255.255.252 N/A

PC1 NIC 172.22.0.2/22 255.255.252.0 172.22.0.1/22

PC2 NIC 172.22.4.2/23 255.255.254.0 172.22.4.1/23

PC3 NIC 172.22.6.2/23 255.255.254.0 172.22.6.1/23

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.

R1

Page 3: HaVuThanhThuan-ITITIU13122-LabComnet_IT - Lab Exam - Tues

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

3

R2

R3

Task 3: 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 4: HaVuThanhThuan-ITITIU13122-LabComnet_IT - Lab Exam - Tues

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

4

Step 3. Configure the bandwidth of the serial links.

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.

Page 5: HaVuThanhThuan-ITITIU13122-LabComnet_IT - Lab Exam - Tues

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

5

Task 4: Configure OSPF

Step 1. Enable OSPF routing on three router.

Show your OSPF routing configuration?

Page 6: HaVuThanhThuan-ITITIU13122-LabComnet_IT - Lab Exam - Tues

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

6

Step 2. Verify the routing table and answer the following questions.

Printout the output of show ip route command:

What are the directly connected networks of R2?

Page 7: HaVuThanhThuan-ITITIU13122-LabComnet_IT - Lab Exam - Tues

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

7

What are the networks R2 learned via OSPF advertisements?

What are the paths from R2 to LAN 1 and LAN 3? Why does R2 use these paths?

R2 to LAN1

R2 to LAN 3

R2 will use paths because of the bandwidth which is from R2 To R1 and from R1 to R3 that are biggest, about 10Mbps

What are the next-hop IP addresses?

Nex-hop IP address of R2 and R3 is R1

Step 3. Verify the OSPF protocol.

Printout the output of show ip ospf interface command for an interface and explain the meaning of the

timers shown in the output:

Hello: interval time (in seconds) that one router sends one ospf hello packet

Dead: time (in seconds) that waiting before the declare a neighbor dead

Wait: timers interval that causes the interface that want to exit out of the wait period. This timer is usually equal to the dead timer interval

Retransmit: Time for waiting before retransmitting a database description packet when it’s not been acknowledged

Hello due in: An ospf hello packet that is sent on this interface from time “show ip ospf interface” is solved

Task 5: Running OSPF 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 OSPF domain.

Show your configure

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

Page 8: HaVuThanhThuan-ITITIU13122-LabComnet_IT - Lab Exam - Tues

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

8

The traffics that doesn’t destined to any ips addresses in the topology wiil be sent to the ISP

Task 6: 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

Routing table

Interface summarization

Output from show ip protocols

Step 2: Submit your final report to Blackboard.

R1#show running-config

Building configuration...

Current configuration : 1326 bytes

!

version 12.3

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname R1

!

Page 9: HaVuThanhThuan-ITITIU13122-LabComnet_IT - Lab Exam - Tues

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

9

boot-start-marker

boot-end-marker

!

enable secret 5 $1$e1fE$6T6vJU30ex.JVfB9wE6OU1

!

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 100.100.100.100 255.255.255.255

!

interface FastEthernet0

ip address 172.22.0.1 255.255.252.0

speed auto

!

interface Serial0

bandwidth 10000

ip address 172.22.8.1 255.255.255.252

clockrate 64000

!

interface Serial1

bandwidth 10000

Page 10: HaVuThanhThuan-ITITIU13122-LabComnet_IT - Lab Exam - Tues

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

10

ip address 172.22.8.5 255.255.255.252

!

router ospf 1

log-adjacency-changes

network 172.22.0.0 0.0.3.255 area 0

network 172.22.8.0 0.0.0.3 area 0

network 172.22.8.4 0.0.0.3 area 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

R1#

R2#show running-config

Building configuration...

Current configuration : 1193 bytes

!

version 12.3

service timestamps debug datetime msec

service timestamps log datetime msec

Page 11: HaVuThanhThuan-ITITIU13122-LabComnet_IT - Lab Exam - Tues

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

11

no service password-encryption

!

hostname R2

!

boot-start-marker

boot-end-marker

!

enable secret 5 $1$vFZN$Tbciwqjtq/uWtv.oqEY33/

!

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

ip address 172.22.4.1 255.255.254.0

speed auto

!

interface Serial0

bandwidth 10000

ip address 172.22.8.2 255.255.255.252

clockrate 64000

!

interface Serial1

Page 12: HaVuThanhThuan-ITITIU13122-LabComnet_IT - Lab Exam - Tues

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

12

bandwidth 2000

ip address 172.22.8.9 255.255.255.252

!

router ospf 1

log-adjacency-changes

network 172.22.4.0 0.0.1.255 area 0

network 172.22.8.0 0.0.0.3 area 0

network 172.22.8.8 0.0.0.3 area 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

R2#

R3#show running-config

Building configuration...

Current configuration : 1194 bytes

!

version 12.3

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

Page 13: HaVuThanhThuan-ITITIU13122-LabComnet_IT - Lab Exam - Tues

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

13

!

hostname R3

!

boot-start-marker

boot-end-marker

!

enable secret 5 $1$p7CL$2slZ.DIQ5.UmhOVpaM/qf0

!

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

ip address 172.22.6.1 255.255.254.0

speed auto

!

interface Serial0

bandwidth 2000

ip address 172.22.8.10 255.255.255.252

clockrate 64000

!

interface Serial1

bandwidth 10000

Page 14: HaVuThanhThuan-ITITIU13122-LabComnet_IT - Lab Exam - Tues

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

14

ip address 172.22.8.6 255.255.255.252

!

router ospf 1

log-adjacency-changes

network 172.22.6.0 0.0.1.255 area 0

network 172.22.8.4 0.0.0.3 area 0

network 172.22.8.8 0.0.0.3 area 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

R3#

END.