0% found this document useful (0 votes)
67 views20 pages

Final Lab CN

lab
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
67 views20 pages

Final Lab CN

lab
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 20

HCMC International University

Dr. Phuong Vo

Computer Networks
Date: 07-12-2015

Lab exam
Time: 03 hours

Student name: Song Ton


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

HCMC International University


Dr. Phuong Vo

Computer Networks
Date: 07-12-2015

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

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

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

R2

R3

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:

HCMC International University


Dr. Phuong Vo

Computer Networks
Date: 07-12-2015

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?

HCMC International University


Dr. Phuong Vo

Computer Networks
Date: 07-12-2015

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

HCMC International University


Dr. Phuong Vo

Computer Networks
Date: 07-12-2015

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
From R2 to R3

192.168.11.64/26 [120/1] via 192.168.11.194, 00:00:24, Serial2/0

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:

HCMC International University


Dr. Phuong Vo

Computer Networks
Date: 07-12-2015

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.
6

HCMC International University


Dr. Phuong Vo
Show your configure

Computer Networks
Date: 07-12-2015

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

HCMC International University


Dr. Phuong Vo

Computer Networks
Date: 07-12-2015

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

HCMC International University


Dr. Phuong Vo
Routing table

Computer Networks
Date: 07-12-2015

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

C
C
R
R
R
C
C

S*

200.200.200.0/32 is subnetted, 1 subnets

200.200.200.200 is directly connected, Loopback0

192.168.83.0/24 is variably subnetted, 6 subnets, 2 masks


192.168.83.0/26 is directly connected, FastEthernet0

192.168.83.64/26 [120/1] via 192.168.83.194, 00:00:08, Serial0

192.168.83.128/26 [120/1] via 192.168.83.197, 00:00:06, Serial1


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

192.168.83.192/30 is directly connected, Serial0


192.168.83.196/30 is directly connected, Serial1

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

HCMC International University


Dr. Phuong Vo
!

Computer Networks
Date: 07-12-2015

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

10

HCMC International University


Dr. Phuong Vo
!

Computer Networks
Date: 07-12-2015

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#sho ru

R2/

Building configuration...
Current configuration : 1224 bytes
11

HCMC International University


Dr. Phuong Vo
!

Computer Networks
Date: 07-12-2015

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

12

HCMC International University


Dr. Phuong Vo
ip address 192.168.83.201 255.255.255.252
!

Computer Networks
Date: 07-12-2015

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
13

HCMC International University


Dr. Phuong Vo
R3#sho ru

R3/

Computer Networks
Date: 07-12-2015

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
!
!
!
!
!
!
!
14

HCMC International University


Dr. Phuong Vo
interface FastEthernet0

Computer Networks
Date: 07-12-2015

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

15

HCMC International University


Dr. Phuong Vo
line vty 0 4

Computer Networks
Date: 07-12-2015

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

C
C
R
R
R
C
C

S*

200.200.200.0/32 is subnetted, 1 subnets

200.200.200.200 is directly connected, Loopback0

192.168.83.0/24 is variably subnetted, 6 subnets, 2 masks


192.168.83.0/26 is directly connected, FastEthernet0

192.168.83.64/26 [120/1] via 192.168.83.194, 00:00:02, Serial0

192.168.83.128/26 [120/1] via 192.168.83.197, 00:00:17, Serial1


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

192.168.83.192/30 is directly connected, Serial0


192.168.83.196/30 is directly connected, Serial1

0.0.0.0/0 is directly connected, Loopback0

R2#sho ip rou

R2#

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


16

HCMC International University


Dr. Phuong Vo
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

192.168.83.128/26 [120/1] via 192.168.83.202, 00:00:22, Serial0

192.168.83.64/26 is directly connected, FastEthernet0

192.168.83.200/30 is directly connected, Serial0

192.168.83.192/30 is directly connected, Serial1

R
R*

R2#

Computer Networks
Date: 07-12-2015

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

0.0.0.0/0 [120/1] via 192.168.83.193, 00:00:00, Serial1

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

192.168.83.0/26 [120/1] via 192.168.83.198, 00:00:26, Serial0

192.168.83.64/26 [120/1] via 192.168.83.201, 00:00:07, Serial1

192.168.83.128/26 is directly connected, FastEthernet0

192.168.83.200/30 is directly connected, Serial1

R
C

R*

R3#

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

192.168.83.196/30 is directly connected, Serial0

0.0.0.0/0 [120/1] via 192.168.83.198, 00:00:00, Serial0

Interface summarization:
R1#sho ip int bri
Interface

FastEthernet0
Loopback0
Serial0

IP-Address

192.168.83.1

OK? Method Status


YES manual up

200.200.200.200 YES manual up

192.168.83.193

YES manual up

Protocol
up

up

up

17

HCMC International University


Dr. Phuong Vo
Serial1
192.168.83.198

YES manual up

Serial3

YES unset

Serial2
R1#

R2#sho ip int br

unassigned
unassigned

YES unset

administratively down down


administratively down down

Interface

IP-Address

OK? Method Status

Serial0

192.168.83.201

YES manual up

Serial2

unassigned

YES unset

FastEthernet0
Serial1
Serial3
R2#

R3#sho ip int br

192.168.83.65

192.168.83.194
unassigned

YES manual up

YES manual up
YES unset

OK? Method Status

Serial0

192.168.83.197

YES manual up

Serial2

unassigned

YES unset

Serial1
Serial3
R3#

192.168.83.202
unassigned

YES manual up

YES manual up
YES unset

up

up
up

administratively down down

IP-Address

192.168.83.129

Protocol

administratively down down

Interface

FastEthernet0

up

Computer Networks
Date: 07-12-2015

Protocol
up

up
up

administratively down down

administratively down down

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

Serial0

FastEthernet0
Serial1

Triggered RIP

Key-chain

Automatic network summarization is in effect


Maximum path: 4

Routing for Networks:


192.168.83.0

18

HCMC International University


Dr. Phuong Vo
Routing Information Sources:
Gateway

192.168.83.194

Computer Networks
Date: 07-12-2015

Distance

Last Update

120

192.168.83.197

Distance: (default is 120)

00:00:11

120

00:00:24

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

Serial0

FastEthernet0

Serial1

Triggered RIP

Key-chain

Automatic network summarization is in effect


Maximum path: 4

Routing for Networks:


192.168.83.0

Routing Information Sources:


Gateway

192.168.83.202
192.168.83.193

Distance

Distance: (default is 120)

Last Update

120

00:00:06

120

00:00:10

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

Serial0

FastEthernet0
Serial1

Triggered RIP

Key-chain

Automatic network summarization is in effect


Maximum path: 4

19

HCMC International University


Dr. Phuong Vo
Routing for Networks:

Computer Networks
Date: 07-12-2015

192.168.83.0

Routing Information Sources:


Gateway

192.168.83.201
192.168.83.198

Distance

Distance: (default is 120)

120
120

Last Update

00:00:23
00:00:18

Step 2: Submit your final report to Blackboard.

END.

20

You might also like