Lab-05 IP Addressing

kindlyminnowNetworking and Communications

Oct 26, 2013 (3 years and 8 months ago)

91 views

Nasir Ahmed Khan

Lab 05

2010
-
EE
-
043

IP Addressing


Objective:


To understand operation of static routing.


Lab Task:



Router 1

Router>en

Router#conf t

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

Router(config)#int s1/0

Router(config
-
if)#ip add 15.0.0.1 255.0.0.0

Router(config
-
if)#clock rate 64000

Router(config
-
if)#exit

Router(config)#int fastethernet0/0

Router(config
-
if)#ip add 10.0.0.1 255.0.0.0

Router(
config
-
if)#no shutdown

%LINK
-
5
-
CHANGED: Interface FastE
thernet0/0, changed state to up

Router(config
-
if)#

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

Router(config
-
if)#exit

Router(config)#interface Serial1/0

Router(
config
-
if)#no shutdown

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)#ip route 20.0.0.0 255.0.0.0 15.0.0.2

Ro
uter(config)#^Z

Router#

%SYS
-
5
-
CONFIG_I: Configured from console by console


Router 2
Router>en

Router#conf t

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

Router(config)#int s1/0

Router(config
-
if)#ip add 15.0.0.2 255.0.0.0

Router(config
-
if)#clock rate 64000

This command applies only to DCE interfaces

Router(config
-
if)#exit

Router(config)#int fastethernet0/0

Router(config
-
if)#ip add 20.0.0.1 255.0.0.0

Router(config
-
if)#no shutdown

%LINK
-
5
-
CHANGED: Interface FastE
thernet0/0,
changed state to up

Nasir Ahmed Khan

Lab 05

2010
-
EE
-
043

Router(config
-
if)#

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

Router(config
-
if)#exit

Router(config)#interface Serial1/0

Router(config
-
if)#clock rate 64000

This command applies only to DCE interf
aces

Router(config
-
if)#no shutdown

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

Router(config
-
if)#

%LINEPROTO
-
5
-
UPDOWN: Line protocol on Interface

Serial1/0, changed state to up

Router(config
-
if)#exit

Router(config)#ip route 10.0.0.0 255.0.0.0

15.0.0.1

Router(config)#^Z

Router#

%SYS
-
5
-
CONFIG_I: Configured from console by console


Ping From PC 1


PC>ping 10.0.0.1

Pinging
10.0.0.1 with 32 bytes of data:

Reply from 10.0.0.1: bytes=32 time=14ms TTL=255

Reply from 10.0.0.1: bytes=3
2 time=9ms TTL=255

Reply from 10.0.0.1: bytes=32 time=10ms TTL=255

Reply from 10.0
.0.1: bytes=32 time=8ms TTL=255

Ping statistics for 10.0.0.1:


Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli
-
seconds:


Minimum = 8ms,

Maximum = 14ms, Average = 10ms


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=15ms TTL=126

Reply from 20.0.0.2: bytes=32 time=24ms TTL=126

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

Reply from 20.0.
0.2: bytes=32 time=19ms TTL=126

Ping statistics for 20.0.0.2:


Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli
-
seconds:


Minimum = 15ms, Maximum = 24ms, Average = 19ms


Ping From PC 2


PC>p
ing 20.0.0.1

Pinging
20.0.0.1 with 32 bytes of data:

Reply from 20.0.0.1: bytes=32 time=9ms TTL=255

Reply from 20.0.0.1: bytes=32 time=10ms TTL=255

Reply from 20.0.0.1: bytes=32 time=5ms TTL=255

Nasir Ahmed Khan

Lab 05

2010
-
EE
-
043

Reply from 20.0.0.1: bytes=32
time=9ms TTL=255

Ping statistics for 20.0.0.1:


Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli
-
seconds:


Minimum = 5ms
, Maximum = 10ms, Average = 8ms


PC>ping 10.0.0.1

Pinging
10.0.0.1 with 32 bytes of
data:

Reply from 10.0.0.1: bytes=32 time=11ms TTL=254

Reply from 10.0.0.1: bytes=32 time=10ms TTL=254

Reply from 10.0.0.1: bytes=32 time=10ms TTL=254

Reply from 10.0.
0.1: bytes=32 time=10ms TTL=254

Ping statistics for 10.0.0.1:


Packets: Sent = 4, Recei
ved = 4, Lost = 0 (0% loss),

Approximate round trip times in milli
-
seconds:


Minimum = 10ms, Maximum = 11ms, Average = 10ms


Diagram:
















Conclusion:


In this lab we have done both serial and fastethernet

connection together in static routing, And worked
in both LAN and WAN environment.