Lab 1

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

DATA COMMUNICATION &COMPUTER NETWORKS

February 2, 2012

OBJECT:
To understand the operation of static routing.

connections:

Coding:

Router-1
Router> en Router# config t. Router(config)# int serial 1/0 Router(config-if)# ip add 15.0.0.1 255.0.0.0 Router(config-if)# clock rate 64000

Made By: Mohammad Yousuf Saleem

Roll #:2010-174-EE

DATA COMMUNICATION &COMPUTER NETWORKS

February 2, 2012

Router-2
Router> en

Router# config t Router(config)# int serial 1/0 Router(config-if)# ip add 15.0.0.2 255.0.0.0 Router(config-if)# clock rate 64000

Router-1 and User-1


Router# config t Router(config)# int fastethernet 0/0 Router(config-if)# ip add 10.0.0.1 255.0.0.0 Router(config-if)# no shutdown

Router-2 & User-2


Router# config t Router(config-if)# int fastethernet 0/0 Router(config-if)# ip add 20.0.0.1 255.0.0.0 Router(config-if)# no shutdown

I.P Route
Made By: Mohammad Yousuf Saleem Roll #:2010-174-EE

DATA COMMUNICATION &COMPUTER NETWORKS

February 2, 2012

Router-1:
Router(config)# ip route 20.0.0.0 255.0.0.0 15.0.0.2

I.P Route To Router-2:


Router(config)# ip route 10.0.0.0 255.0.0.0 15.0.0.1

OUTPUT Router-1 and User-2 Router# ping 20.0.0.2


Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 20.0.0.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 51/74/121 ms

Router-2 and User-1


Router# ping 10.0.0.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.0.0.2, timeout is 2 seconds:
Made By: Mohammad Yousuf Saleem Roll #:2010-174-EE

DATA COMMUNICATION &COMPUTER NETWORKS

February 2, 2012

!!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 60/88/160 ms

User-1 and User-2


Packet Tracer PC Command Line 1.0 PC> ping 20.0.0.2 Pinging 20.0.0.2 with 32 bytes of data: Reply from 20.0.0.2: bytes=32 time=120ms Reply from 20.0.0.2: bytes=32 time=120ms Reply from 20.0.0.2: bytes=32 time=100ms Reply from 20.0.0.2: bytes=32 time=120ms

TTL=126 TTL=126 TTL=126 TTL=126

User-2 and User-1


Packet Tracer PC Command Line 1.0 PC>ping 10.0.0.2 Pinging 10.0.0.2 with 32 bytes of data: Reply from 10.0.0.2: bytes=32 time=120ms TTL=126 Reply from 10.0.0.2: bytes=32 time=120ms TTL=126 Reply from 10.0.0.2: bytes=32 time=100ms TTL=126 Reply from 10.0.0.2: bytes=32 time=100ms TTL=126

Made By: Mohammad Yousuf Saleem

Roll #:2010-174-EE

DATA COMMUNICATION &COMPUTER NETWORKS

February 2, 2012

Made By: Mohammad Yousuf Saleem

Roll #:2010-174-EE

You might also like