0% found this document useful (0 votes)
44 views

Task # 1: Data Communication & Computer Networks (EE 300) 2016-EE-113

The document describes configuring OSPF routing on three routers to establish connectivity between their connected networks. Router 0 is configured with Ethernet interface IP 2.0.0.1 and two Serial interfaces with IPs 1.0.0.1 and 5.0.0.1. Router 1 is similarly configured with Ethernet IP 3.0.0.1 and two Serial IPs 2.0.0.2 and 4.0.0.1. Router 2 connects the two Serial networks and is configured with IPs 4.0.0.2 and 5.0.0.1. OSPF process 1 is configured on each router and ping tests confirm connectivity across all networks.

Uploaded by

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

Task # 1: Data Communication & Computer Networks (EE 300) 2016-EE-113

The document describes configuring OSPF routing on three routers to establish connectivity between their connected networks. Router 0 is configured with Ethernet interface IP 2.0.0.1 and two Serial interfaces with IPs 1.0.0.1 and 5.0.0.1. Router 1 is similarly configured with Ethernet IP 3.0.0.1 and two Serial IPs 2.0.0.2 and 4.0.0.1. Router 2 connects the two Serial networks and is configured with IPs 4.0.0.2 and 5.0.0.1. OSPF process 1 is configured on each router and ping tests confirm connectivity across all networks.

Uploaded by

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

Data Communication & Computer Networks (EE 300) 2016-EE-113

Lab# 07
Object:
To understand the operation of Dynamic routing protocol by using the Open Shortest Path First (OSPF).
Task # 1

Router 0
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip add 1.0.0.1 255.0.0.0
Router(config-if)#no shut
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Router(config-if)#int se1/0
Router(config-if)#ip add 2.0.0.1 255.0.0.0
Router(config-if)#clock rate 64000
Router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial1/0, changed state to down
%LINK-5-CHANGED: Interface Serial1/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to up

Router(config-if)#exit
Router(config)#router ospf 1
Router(config-router)#network 1.0.0.0 0.255.255.255 area 0
Router(config-router)#network 2.0.0.0 0.255.255.255 area 0
Router(config-router)#exit
Router(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
00:05:11: %OSPF-5-ADJCHG: Process 1, Nbr 3.0.0.1 on Serial1/0 from LOADING to FULL,

Router#ping 3.0.0.2
Sending 5, 100-byte ICMP Echos to 3.0.0.2, timeout is 2 seconds:
Success rate is 100 percent (5/5), round-trip min/avg/max = 6/7/11 ms

Router 1
Router>en
Router#conf t

SIR SYED UNIVERSITY OF ENGINEERING AND TECHNOLOGY Page 1


Data Communication & Computer Networks (EE 300) 2016-EE-113

Enter configuration commands, one per line. End with CNTL/Z.


Router(config)#int fa0/0
Router(config-if)#ip add 3.0.0.1 255.0.0.0
Router(config-if)#no shut
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Router(config-if)#int se1/0
Router(config-if)#ip add 2.0.0.2 255.0.0.0
Router(config-if)#no shut

Router(config-if)#
%LINK-5-CHANGED: Interface Serial1/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to up

Router(config-if)#exit
Router(config)#router ospf 1
Router(config-router)#network 3.0.0.0 0.255.255.255 area 0
Router(config-router)#network 2.0.0.0 0.255.255.255 area 0
00:05:05: %OSPF-5-ADJCHG: Process 1, Nbr 2.0.0.1 on Serial1/0 from LOADING to FULL,

Router(config-router)#exit
Router(config)#exit
%SYS-5-CONFIG_I: Configured from console by console

Router#ping 1.0.0.2
Sending 5, 100-byte ICMP Echos to 1.0.0.2, timeout is 2 seconds:
Success rate is 100 percent (5/5), round-trip min/avg/max = 7/9/14 ms

Task # 2

Router 0
Router>en
Router#conf t
Router(config)#int fa0/0
Router(config-if)#ip add 1.0.0.1 255.0.0.0
Router(config-if)#no shut
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Router(config-if)#int se1/0
Router(config-if)#ip add 2.0.0.1 255.0.0.0

SIR SYED UNIVERSITY OF ENGINEERING AND TECHNOLOGY Page 2


Data Communication & Computer Networks (EE 300) 2016-EE-113

Router(config-if)#clock rate 64000


Router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial1/0, changed state to down
%LINK-5-CHANGED: Interface Serial1/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to up

Router>en
Router#conf t
Router(config)#router ospf 1
Router(config-router)#network 1.0.0.0 0.255.255.255 area 0
Router(config-router)#network 2.0.0.0 0.255.255.255 area 0
Router(config-router)#network 4.0.0.0 0.255.255.255 area 0
Router(config-router)#exit
Router(config)#exit
%SYS-5-CONFIG_I: Configured from console by console

Router#ping 5.0.0.3
Sending 5, 100-byte ICMP Echos to 5.0.0.3, timeout is 2 seconds:
Success rate is 100 percent (5/5), round-trip min/avg/max = 7/12/17 ms

Router#ping 3.0.0.3
Sending 5, 100-byte ICMP Echos to 3.0.0.3, timeout is 2 seconds:
Success rate is 100 percent (5/5), round-trip min/avg/max = 6/8/13 ms

Router 1
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip add 3.0.0.1 255.0.0.0
Router(config-if)#no shut
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Router(config-if)#int se1/0
Router(config-if)#ip add 2.0.0.2 255.0.0.0
Router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial1/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to up
Router#conf t
Router(config-if)#int se1/1
Router(config-if)#ip add 4.0.0.1 255.0.0.0
Router(config-if)#no shut
Router(config-if)#exit
Router(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
%LINK-5-CHANGED: Interface Serial1/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/1, changed state to up

Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router ospf 1

SIR SYED UNIVERSITY OF ENGINEERING AND TECHNOLOGY Page 3


Data Communication & Computer Networks (EE 300) 2016-EE-113

Router(config-router)#network 3.0.0.0 0.255.255.255 area 0


Router(config-router)#network 2.0.0.0 0.255.255.255 area 0
Router(config-router)#network 4.0.0.0 0.255.255.255 area 0
Router(config-router)#exit
Router(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
00:24:58: %OSPF-5-ADJCHG: Process 1, Nbr 5.0.0.1 on Serial1/1 from LOADING to FULL,

Router#ping 5.0.0.2
Sending 5, 100-byte ICMP Echos to 5.0.0.2, timeout is 2 seconds:
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/6/11 ms

Router#ping 1.0.0.2
Sending 5, 100-byte ICMP Echos to 1.0.0.2, timeout is 2 seconds:
Success rate is 100 percent (5/5), round-trip min/avg/max = 6/8/13 ms

Router 2
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int se1/0
Router(config-if)#clock rate 64000
Router(config-if)#ip add 4.0.0.2 255.0.0.0
Router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial1/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to up

Router(config-if)#int fa0/0
Router(config-if)#ip add 5.0.0.1 255.0.0.0
Router(config-if)#no shut
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Router(config-if)#exit
Router(config)#router ospf 1
Router(config-router)#network 5.0.0.0 0.255.255.255 area 0
Router(config-router)#network 4.0.0.0 0.255.255.255 area 0
Router(config-router)#network 2.0.0.0 0.255.255.255 area 0
00:08:37: %OSPF-5-ADJCHG: Process 1, Nbr 3.0.0.1 on Serial1/0 from LOADING to FULL,
Router(config-router)#network 2.0.0.0 0.255.255.255 area 0
Router(config-router)#exit
Router(config)#exit
%SYS-5-CONFIG_I: Configured from console by console

Router#ping 1.0.0.3
Sending 5, 100-byte ICMP Echos to 1.0.0.3, timeout is 2 seconds:
Success rate is 100 percent (5/5), round-trip min/avg/max = 9/11/15 ms

Router#ping 3.0.0.3
Sending 5, 100-byte ICMP Echos to 3.0.0.3, timeout is 2 seconds:
Success rate is 100 percent (5/5), round-trip min/avg/max = 2/8/11 ms

SIR SYED UNIVERSITY OF ENGINEERING AND TECHNOLOGY Page 4


Data Communication & Computer Networks (EE 300) 2016-EE-113

Assignment Task

Router 0
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int se1/0
Router(config-if)#clock rate 64000
Router(config-if)#ip add 1.0.0.1 255.0.0.0
Router(config-if)#no shut

%LINK-5-CHANGED: Interface Serial1/0, changed state to down


Router(config-if)#int fa0/0
Router(config-if)#ip add 2.0.0.1 255.0.0.0
Router(config-if)#no shut
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to up
00:12:47: %OSPF-5-ADJCHG: Process 1, Nbr 3.0.0.1 on Serial1/0 from LOADING to FULL, Loading Done

Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int se1/1
Router(config-if)#clock rate 64000
Router(config-if)#ip add 5.0.0.1 255.0.0.0
Router(config-if)#no shut

Router(config-if)#exit
Router(config)#router ospf 1
Router(config-router)#network 2.0.0.0 0.255.255.255 area 0
Router(config-router)#network 1.0.0.0 0.255.255.255 area 0
Router(config-router)#network 5.0.0.0 0.255.255.255 area 0
Router(config-router)#exit
Router(config)#exit
%SYS-5-CONFIG_I: Configured from console by console

SIR SYED UNIVERSITY OF ENGINEERING AND TECHNOLOGY Page 5


Data Communication & Computer Networks (EE 300) 2016-EE-113

00:29:31: %OSPF-5-ADJCHG: Process 1, Nbr 6.0.0.1 on Serial1/1 from LOADING to FULL, Loading Done
Ping
Router#ping 3.0.0.2
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/6/15 ms

Router#ping 5.0.0.2
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/8/15 ms

Router#ping 7.0.0.2
Success rate is 100 percent (5/5), round-trip min/avg/max = 3/8/14 ms
Router 1
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int se1/0
Router(config-if)#ip add 1.0.0.2 255.0.0.0
Router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial1/0, changed state to up

Router(config-if)#int fa0
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to up
Router(config-if)#int fa0/0
Router(config-if)#ip add 3.0.0.1 255.0.0.0
Router(config-if)#no shut
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int se1/1
Router(config-if)#ip add 8.0.0.2 255.0.0.0
Router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial1/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/1, changed state to up
Router(config-if)#clock rate 64000
Router(config-if)#exit
Router(config)#exit
%SYS-5-CONFIG_I: Configured from console by console

Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router ospf 1
Router(config-router)#network 3.0.0.0 0.255.255.255 area 0
Router(config-router)#network 1.0.0.0 0.255.255.255 area 0
Router(config-router)#network 8.0.0.0 0.255.255.255 area 0
Router(config-router)#exit
Router(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
00:31:49: %OSPF-5-ADJCHG: Process 1, Nbr 8.0.0.1 on Serial1/1 from LOADING to FULL, Loading Done

Ping

SIR SYED UNIVERSITY OF ENGINEERING AND TECHNOLOGY Page 6


Data Communication & Computer Networks (EE 300) 2016-EE-113

Router#ping 2.0.0.2
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/6/15 ms

Router#ping 4.0.0.2
Success rate is 100 percent (5/5), round-trip min/avg/max = 3/10/20 ms

Router#ping 7.0.0.2
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/6/20 ms

Router 2
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int se1/0
Router(config-if)#ip add 5.0.0.2 255.0.0.0
Router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial1/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to up

Router(config-if)#exit
Router(config)#int se1/1
Router(config-if)#ip add 6.0.0.1 255.0.0.0
Router(config-if)#no shut

%LINK-5-CHANGED: Interface Serial1/1, changed state to down


Router(config-if)#int fa0/0
Router(config-if)#ip add 4.0.0.1 255.0.0.0
Router(config-if)#no shut
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Router(config-if)#int se1/1
Router(config-if)#clock rate 64000
Router(config-if)#exit
Router(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
%LINK-5-CHANGED: Interface Serial1/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/1, changed state to up

Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router ospf 1
Router(config-router)#network 4.0.0.0 0.255.255.255 area 1
Router(config-router)#network 5.0.0.0 0.255.255.255 area 0
Router(config-router)#network 6.0.0.0 0.255.255.255 area 1
Router(config-router)#exit
Router(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
00:32:02: %OSPF-5-ADJCHG: Process 1, Nbr 8.0.0.1 on Serial1/1 from LOADING to FULL, Loading Done
Ping
Router#ping 2.0.0.2
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/7/13 ms

SIR SYED UNIVERSITY OF ENGINEERING AND TECHNOLOGY Page 7


Data Communication & Computer Networks (EE 300) 2016-EE-113

Router#ping 3.0.0.2
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/10/12 ms

Router#ping 7.0.0.2
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/7/12 ms

Router 3
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int se1/0
Router(config-if)#ip add 6.0.0.2 255.0.0.0
Router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial1/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to up

Router(config-if)#int fa0/0
Router(config-if)#ip add 7.0.0.1 255.0.0.0
Router(config-if)#no shut
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Router(config-if)#int se1/1
Router(config-if)#ip add 8.0.0.1 255.0.0.0
Router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial1/1, changed state to down
%LINK-5-CHANGED: Interface Serial1/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/1, changed state to up

Router(config-if)#exit
Router(config)#router ospf 1
Router(config-router)#network 7.0.0.0 0.255.255.255 area 1
Router(config-router)#network 8.0.0.0 0.255.255.255 area 0
Router(config-router)#network 6.0.0.0 0.255.255.255 area 1
Router(config-router)#exit
Router(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
00:31:57: %OSPF-5-ADJCHG: Process 1, Nbr 6.0.0.1 on Serial1/0 from LOADING to FULL, Loading Done
Ping
Router#ping 2.0.0.2
Success rate is 100 percent (5/5), round-trip min/avg/max = 2/10/17 ms

Router#ping 4.0.0.2
Success rate is 100 percent (5/5), round-trip min/avg/max = 2/6/16 ms

Router#ping 3.0.0.2
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/6/14 ms

SIR SYED UNIVERSITY OF ENGINEERING AND TECHNOLOGY Page 8

You might also like