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

Lab-02 Static Routing

Computer Networks Lab 02

Uploaded by

shefat2002
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views

Lab-02 Static Routing

Computer Networks Lab 02

Uploaded by

shefat2002
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Lab Report

Course Code: CSE314


Course Name: Computer Networks

Lab No: 02
Lab Task: Static Routing.

Submission Date: 13-08-2023

Submitted to Submitted By
Mr. Narayan Ranjan Chakraborty Name: Asma Akter Mitu
Associate Professor ID: 201-15-3134
Department of CSE Section: 60_B
Daffodil International University Department of CSE
Daffodil International University
Lab Task: 02
Title: Static Routing.

Equipment:

No Name Model/Type Quantity


1. Router Generic (PT) 03
2. End Device PC 03
3. Cable i) Cross Over 03
ii) Serial DCE 03

Configuration:

S2/0 S3/0

Router1 10.10.10.10 12.12.12.12

Router2 10.10.10.11 11.11.11.12

Router3 11.11.11.11 12.12.12.13

Connecting End Default


IP Address Subnet Mask
Device Device Gateway

Router1 PC0 200.200.200.129 255.255.255.128 200.200.200.130

Router2 PC1 201.201.201.201 255.255.255.192 201.201.201.202

Router3 PC2 150.150.150.150 255.255.252.0 150.150.150.151


Diagram:
Command:

Router: 01
Router>enable
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int f0/0
Router(config-if)#ip add 200.200.200.130 255.255.255.128
Router(config-if)#no shut
Router(config-if)#exit
Router(config)#int s2/0
Router(config-if)#ip
Router(config-if)#ip add 10.10.10.10 255.192.0.0
Router(config-if)#no shut
Router(config-if)#exit
Router(config)#int s3/0
Router(config-if)#ip add 12.12.12.12 255.240.0.0
Router(config-if)#clock rate 64000
Router(config-if)#no shut

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


Router(config-if)#exit
Router(config)#ip route 201.201.201.192 255.255.255.192 10.10.10.11
Router(config)#ip route 150.150.150.150 255.255.252.0 12.12.12.13
%Inconsistent address and mask
Router(config)#ip route 150.150.148.0 255.255.252.0 12.12.12.13
Router(config)#ex
Router#
%SYS-5-CONFIG_I: Configured from console by console
copy run start
Destination filename [startup-config]?
Building configuration...
[OK]

Router: 02
Router>enable
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int f0/0
Router(config-if)#ip add 201.201.201.202 255.255.255.192
Router(config-if)#no shut
Router(config-if)#int s2/0
Router(config-if)#ip add 10.10.10.11 255.192.0.0
Router(config-if)#clock rate 64000
Router(config-if)#no shut
Router(config-if)#int s3/0
Router(config-if)#ip add 11.11.11.12 255.224.0.0
Router(config-if)#clock rate 64000
Router(config-if)#no shut
Router(config-if)#ex
Router(config)#ip route 200.200.200.128 255.255.255.128 10.10.10.10
Router(config)#ip route 150.150.148.0 255.255.252.0 11.11.11.11
Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console
copy run start
Destination filename [startup-config]?
Building configuration...
[OK]

Router: 03
Router>enable
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int f0/0
Router(config-if)#ip add 150.150.150.151 255.255.252.0
Router(config-if)#no shut
Router(config-if)#int s2/0
Router(config-if)#ip add 11.11.11.11 255.224.0.0
Router(config-if)#no shut
Router(config-if)#exit
Router(config)#int s3/0
Router(config-if)#ip add 12.12.12.13 255.240.0.0
Router(config-if)#exit
Router(config)#int s3/0
Router(config-if)#ip add 12.12.12.13 255.240.0.0
Router(config-if)#no shut

Router(config-if)#
%LINK-5-CHANGED: Interface Serial3/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial3/0, changed state to up

Router(config-if)#exit
Router(config)#ip route 200.200.200.128 255.255.255.128 12.12.12.12
Router(config)#ip route 201.201.201.192 255.255.255.192 11.11.11.12
Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console
copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
Result: (Command Prompt)
PC0
C:\>ipconfig
FastEthernet0 Connection:

Connection-specific DNS Suffix..:


Link-local IPv6 Address.........: FE80::240:BFF:FEEB:D9B
IPv6 Address....................: ::
IPv4 Address....................: 200.200.200.129
Subnet Mask.....................: 255.255.255.128
Default Gateway.................: ::
200.200.200.130

C:\>ping 150.150.150.150

Pinging 150.150.150.150 with 32 bytes of data:

Reply from 150.150.150.150: bytes=32 time=16ms TTL=126


Reply from 150.150.150.150: bytes=32 time=17ms TTL=126
Reply from 150.150.150.150: bytes=32 time=15ms TTL=126
Reply from 150.150.150.150: bytes=32 time=44ms TTL=126

Ping statistics for 150.150.150.150:


Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 15ms, Maximum = 44ms, Average = 23ms

C:\>ping 201.201.201.201

Pinging 201.201.201.201 with 32 bytes of data:

Reply from 201.201.201.201: bytes=32 time=25ms TTL=126


Reply from 201.201.201.201: bytes=32 time=19ms TTL=126
Reply from 201.201.201.201: bytes=32 time=17ms TTL=126
Reply from 201.201.201.201: bytes=32 time=9ms TTL=126

Ping statistics for 201.201.201.201:


Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 9ms, Maximum = 25ms, Average = 17ms
PC1
C:\>ipconfig

FastEthernet0 Connection:

Connection-specific DNS Suffix..:


Link-local IPv6 Address.........: FE80::202:17FF:FE85:6A22
IPv6 Address....................: ::
IPv4 Address....................: 201.201.201.201
Subnet Mask.....................: 255.255.255.192
Default Gateway.................: ::
201.201.201.202

C:\>ping 200.200.200.129

Pinging 200.200.200.129 with 32 bytes of data:

Reply from 200.200.200.129: bytes=32 time=21ms TTL=126


Reply from 200.200.200.129: bytes=32 time=12ms TTL=126
Reply from 200.200.200.129: bytes=32 time=8ms TTL=126
Reply from 200.200.200.129: bytes=32 time=18ms TTL=126

Ping statistics for 200.200.200.129:


Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 8ms, Maximum = 21ms, Average = 14ms

PC2
C:\>ipconfig

FastEthernet0 Connection:

Connection-specific DNS Suffix..:


Link-local IPv6 Address.........: FE80::201:63FF:FEBD:14A4
IPv6 Address....................: ::
IPv4 Address....................: 150.150.150.150
Subnet Mask.....................: 255.255.252.0
Default Gateway.................: ::
150.150.150.151

C:\>ping 201.201.201.201

Pinging 201.201.201.201 with 32 bytes of data:

Reply from 201.201.201.201: bytes=32 time=20ms TTL=126


Reply from 201.201.201.201: bytes=32 time=19ms TTL=126
Reply from 201.201.201.201: bytes=32 time=17ms TTL=126
Reply from 201.201.201.201: bytes=32 time=9ms TTL=126

Ping statistics for 201.201.201.201:


Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 9ms, Maximum = 20ms, Average = 16ms

Comment:
We successfully established static routing across a network of three
routers connected by serial DCE wires in this experiment. Each router
was smoothly connected to a different PC, each with its own IP address.
We developed efficient communication channels between the routers
through diligent configuration, allowing data flow across the associated
PCs. This experiment highlighted how static routing can be used to
provide predefined routes for data packets within a network. Overall,
the lab gave useful information about setting and administering static
routes, emphasizing their importance in improving network traffic flow.

You might also like