design and management of computer infrastructure

30
Design and Management of Computer Infrastructure (DMCI) BM 3 rd Year 1 St Semester Assignment 1

Upload: sandun-malinga-munasinghe

Post on 13-Apr-2017

93 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Design and Management of Computer Infrastructure

Design and Management of Computer Infrastructure (DMCI)

BM 3rd Year 1St Semester

Assignment 1

BM14413070

D.K.S.M Munasinghe

Page 2: Design and Management of Computer Infrastructure

Table of contents

Introduction.................................................................................................................................................4

Methodology...............................................................................................................................................5

Objectives:...............................................................................................................................................5

Part 1: Design IP addressing plan for the scenario...............................................................................6

Router Configuration.............................................................................................................................10

R1 Router..........................................................................................................................................10

R2 Router..........................................................................................................................................13

Routing Configuration...........................................................................................................................16

R1 Router..........................................................................................................................................16

R2 Router..........................................................................................................................................17

Assign IP Addresses on pc’s..................................................................................................................18

PC0 IP Configuration........................................................................................................................18

PC1 IP Configuration........................................................................................................................19

PC2 IP configuration.........................................................................................................................20

PC3 IP configuration.........................................................................................................................21

Verify Connectivity...................................................................................................................................22

Discussion.................................................................................................................................................24

Conclusion.................................................................................................................................................25

References.................................................................................................................................................26

2

Page 3: Design and Management of Computer Infrastructure

Introduction

About the Module

As a learning outcome in Design and management of computer infrastructure students have to learn how to use Cisco packet tracer in computer in network management situations. We can clearly realize that how the devices are working and how to use those devices in real networks

About Cisco Packet Tracpacket Tracer is a cross-platform visual simulation program designed by Cisco Systems that allows users to create network topologies and imitate modern computer networks. The software allows users to simulate the configuration of Cisco routers and switches using a simulated command line interface. Packet Tracer makes use of a drag and drop user interface, allowing users to add and remove simulated network devices as they see fit

3

Page 4: Design and Management of Computer Infrastructure

Methodology

Objectives:- Part 1: Design an IP addressing scheme

Part 2: Assign IP Address to network devices and verify Connectivity

4

Page 5: Design and Management of Computer Infrastructure

In order to design this scenario it’s will require

Two 1941 Routers

Four 2950-24 Switches

Four Generic Pcs

One Serial DCE cable

Eight copper straight-Through cable

Part 1: Design IP addressing plan for the scenario

192.168.100.0/24

Network Prefix Host Number

Network Prefix Subnet Number Host Number

Extended Network Prefix

192 168 100 0

Network Prefix Host Number

5

Page 6: Design and Management of Computer Infrastructure

It will be need 5 subnets to address this scenario

192 168 100 0

1 1 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 N N N H

21 22 23

2 4 8

3 bits will required

6

Subnet 0

Subnet 1Subnet 2

Subnet 3

Subnet 4

Page 7: Design and Management of Computer Infrastructure

It will create 8 subnets

192.168.100.0/24

Using Truth table

A

1282

B

642

C

322

Host In Decimal

0 0 0 0 00000000

0 0 1 32 00100000

0 1 0 64 01000000

0 1 1 96 01010000

1 0 0 128 10000000

1 0 1 160 11000000

1 1 0 192 11100000

1 1 1 224 11110000

Subnet Mask 255 255 255 224

In Decimal 11111111 11111111 11111111 11100000

Prefix Length /27

Subnet Table

7

Page 8: Design and Management of Computer Infrastructure

Addressing Table

Device Interface IP Address Subnet Mask Default gateway

R1G0/0 192.168.100.1 255.255.255.224G0/1 192.168.100.33 255.255.255.224

S0/1/0 192.168.100.65 255.255.255.224

R2G0/0 192.168.100.97 255.255.255.224G0/1 192.168.100.129 255.255.255.224

S0/1/0 192.168.100.94 255.255.255.224S1 VLAN1 192.168.100.2 255.255.255.224S2 VLAN1 192.168.100.64 255.255.255.224S3 VLAN1 192.168.100.98 255.255.255.224S4 VLAN1 192.168.100.130 255.255.255.224

PC1 NIC 192.168.100.30 255.255.255.224 192.168.100.1PC2 NIC 192.168.100.62 255.255.255.224 192.168.100.33PC3 NIC 192.168.100.126 255.255.255.224 192.168.100.97PC4 NIC 192.168.100.158 255.255.255.224 192.168.100.129

8

Subnet no Network address

1st useful ip address

Last useful ip address

Broadcast address

0 192.168.100.0 192.168.100.1 192.168.100.30 192.168.100.311 192.168.100.32 192.168.100.33 192.168.100.62 192.168.100.632 192.168.100.64 192.168.100.65 192.168.100.94 192.168.100.953 192.168.100.96 192.168.100.97 192.168.100.126 192.168.100.1274 192.168.100.128 192.168.100.12

9192.168.100.158 192.168.100.159

Page 9: Design and Management of Computer Infrastructure

Router Configuration

R1 Router

Go to Privileged mode

Router>enable

Go to Configuration mode

Router>Config t

To Change Host name of the router

Router#(config)#Hostname R1

To Select interface to configure

R1(config)#int gig0/0

9

Page 10: Design and Management of Computer Infrastructure

Assign ip address to the interface

R1(config-if)#ip 192.168.100.1 255.255.255.224

Exit from Current interface

R!(config-if)#Exit

To Select interface to configure

R1(config)#int gig0/1

Assign ip address to the interface

R1(config-if)#ip 192.168.100.33 255.255.255.224

Exit from Current interface

R!(config-if)#Exit

To Select interface to configure

R1(config)#int se0/1/0

Assign ip address to the interface

R1(config-if)#ip 192.168.100.65 255.255.255.224

No shutdown command

R1(config-if)#no shut

Set clock rate to the interface

R1(config-if)#clock rate 64000

10

Page 11: Design and Management of Computer Infrastructure

Exit from current interface mode

R1(config-if)#Exit

Exit from Configuration mode

R1(config)#Exit

View Show run Command

R1#Show run

(Hit Enter to View More)

11

Page 12: Design and Management of Computer Infrastructure

R2 Router

Go to Privileged mode

Router>enable

Go to Configuration mode

Router>Config t

To Change Host name of the router

Router#(config)#Hostname R2

To Select interface to configure

R1(config)#int gig0/0

Assign ip address to the interface

R2(config-if)#ip 192.168.100.97 255.255.255.224

Exit from Current interface

R2(config-if)#Exit

To Select interface to configure

R2(config)#int gig0/1

Assign ip address to the interface

R2(config-if)#ip 192.168.100.129 255.255.255.224

Exit from Current interface

12

Page 13: Design and Management of Computer Infrastructure

R2(config-if)#Exit

To Select interface to configure

R2(config)#int se0/1/0

Assign ip address to the interface

R2(config-if)#ip 192.168.100.94 255.255.255.224

No shutdown command

R2(config-if)#no shut

Set clock rate to the interface

R2(config-if)#clock rate 64000

Exit from current interface mode

R2(config-if)#Exit

Exit from Configuration mode

R2(config)#Exit

View Show run Command

R2#Show run

13

Page 14: Design and Management of Computer Infrastructure

(Hit Enter to View More)

14

Page 15: Design and Management of Computer Infrastructure

Routing Configuration

R1 Router Go to Privileged mode

R1>enable

Go to Configuration mode

R1#Config t

Assign gateways and network address of other routers

R1#ip Route 192.168.100.96 255.255.255.224 192.168.100.94

R1#ip Route 192.168.100.128 255.255.255.224 192.168.100.94

Exit to user mode

R1#exit

View show run command

R1>show run

(Hit enter view More)

15

Page 16: Design and Management of Computer Infrastructure

R2 Router

Go to Privileged mode

R2>enable

Go to Configuration mode

R2#Config t

Assign gateways and network address of other routers

R2#ip Route 192.168.100.0 255.255.255.224 192.168.100.65

R2#ip Route 192.168.100.32 255.255.255.224 192.168.100.65

Exit to user mode

R2#exit

View show run command

R2>show run

(Hit Enter to View More)

16

Page 17: Design and Management of Computer Infrastructure

Assign IP Addresses on pc’s

Step 1: Double Click on PC icon

Step 2: Click on Desktops tab

Step 3: Click on IP configuration

PC0 IP Configuration

17

Page 18: Design and Management of Computer Infrastructure

PC1 IP Configuration

18

Page 19: Design and Management of Computer Infrastructure

PC2 IP configuration

19

Page 20: Design and Management of Computer Infrastructure

PC3 IP configuration

20

Page 21: Design and Management of Computer Infrastructure

Verify Connectivity

1. PC0 to other PCs and Routers

2. PC1 to other PCs and Routers

21

Page 22: Design and Management of Computer Infrastructure

3. PC2 to other PCs and Routers

4. PC3 to other PCs and Routers

22

Page 23: Design and Management of Computer Infrastructure

Discussion

Select right router for scenario

In this scenario we have to use Gigabyte fast Ethernet so we should select 1941 router instead of generic router

We should add ports for 1941 router

Conclusion

23

1941 Router Generic router

1. Switch off the Router

2. Drag and drop this ports to that black space

3. Switch on the Router

Page 24: Design and Management of Computer Infrastructure

This Assignment provide basic understand about subnetting, features of cisco packet tracer and routing

When subnetting we should consider class of given IP address to create subnets

Class IP Range Prefix Length Default Subnet Mask

Hosts

A 1.0.0.0-126.255.255.255. /8 255.0.0.0 16777214B 128.0.0.0-191.255.255.255 /16 255.255.0.0 16384C 191.0.0.0-223.255.255 /24 255.255.255.0 254

In this scenario given IP address is 192.168.100.0/24 which is class c IP address

192.168.100.0

N N N H

Class C IP address have only one Host Portion.in this Scenario We should have 5 subnets, so we have to take three bits (23=8) from the host Portion. According to logic gates one subnet have 32 Hosts

Subnet Useful IP Range

0 192.168.100.1-192.168.100.301 192.168.100.33-192.168.100.622 192.168.100.65-192.168.100.943 192.168.100.97-192.168.100.1264 192.168.100.129-192.168.100.158

New prefix length and Subnet mask will change according to bits that are taken from host portion

Old Prefix length Bits taken New Prefix Length/24 3 /27

Subnet Mask

11111111.11111111.11111111.11100000

255.255.255.224

24

Page 25: Design and Management of Computer Infrastructure

References

https://en.wikipedia.org/wiki/Packet_Tracer

25