0% found this document useful (0 votes)
37 views19 pages

Aland"s Networking Project (Theoretical)

Uploaded by

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

Aland"s Networking Project (Theoretical)

Uploaded by

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

Prepared by: Aland Hamza

Chapter 3 of the project

Introduction for project


1. In this project, we will implement a full-fledged network for a hotel
containing 3 floors. The
first floor has 3 departments Reception, store and Logistics. The second floor
also has 3
departments Finance, HR and Sales/Marketing. The third floor has 2
departments IT and
Admin. Each floor should have its own router as well as switch and all 3
routers are to be
connected using serial DCE cables. There should be wireless networks
implemented on each
floor and each department is supposed to be o its own VLAN, meaning the
first and second
floors will have 3 VLANs each and the third floor will have 2 VLANs. Here we
will use OSPF as
the routing protocol and also implement DHCP on each of the routers. SSH
remote access will
also be enabled on each router.

Initial Network Design


Fig 1: Initial Network Design

Add HWIC-2T interface to one of the empty slots on each router to enable
them to be connected using serial DCE cables.

Configuring The Network

For the routers to forward traffic, we must enable the clock rate at the serial
DCE interfaces. Since the routers are connected using Serial DCE cable. To do
this, go to the router cli:

Ø En

Ø Config t
Change the status of the serial interfaces on the router to up

Ø Int se0/3/0

Ø No shutdown

Ø Int se0/3/1

Ø No shutdown

Choose the serial DCE interface (one with the clock symbol next to it on the
topology)

Ø Int se0/3/0 [DCE interface]

Set the clock rate for the above interface.

Ø Clock rate 64000

Repeat the above steps for all the other routers.

Change the status of the gigabit ethernet interface to up

Ø Int gig0/0

Ø No shutdown

Configuring the VLANs for each floor

Here we do not have to do subnetting manually as the range of IP addresses to


be used by each department on a floor is specified in the problem statement.
Typically, a VLAN is configured on a Switch. Here we start with the switch on
floor 1. The departments and their respective VLANs from the problem
statements are as follows:

VLAN and IP Address range for the first floor

Configure Floor 1 VLAN

Ø En

Ø Config t

Ø Int range fa0/2–4

Ø Switchport mode access

Ø Switchport access vlan 80

Ø Exit

Ø Int range fa0/5–7

Ø Switchport mode access


Ø Switchport access vlan 70

Ø Exit

Ø Int range fa0/8–10

Ø Switchport mode access

Ø Switchport access vlan 60

Ø Exit

Ø Do wr

For Floor 2 the VLAN information from the problem statement is as follows

VLAN and IP Address range for floor 2

Configure Floor 2 VLAN

Ø En

Ø Config t

Ø Int range fa0/2–4


Ø Switchport mode access

Ø Switchport access vlan 50

Ø Exit

Ø Int range fa0/5–7

Ø Switchport mode access

Ø Switchport access vlan 40

Ø Exit

Ø Int range fa0/8–10

Ø Switchport mode access

Ø Switchport access vlan 30

Ø Exit

Ø Do wr

The VLAN information for the Admin and IT departments on Floor 3 are as
follows:

VLAN and IP Address range for Floor 3


Configure FLoor 3 VLAN

Ø En

Ø Config t

Ø Int range fa0/2–4

Ø Switchport mode access

Ø Switchport access vlan 10

Ø Exit

Ø Int range fa0/5–7

Ø Switchport mode access

Ø Switchport access vlan 20

Ø Exit

Ø Do wr

The VLAN interfaces on the switches are in access mode and for them to
communicate with other networks, the traffic has to pass through the interface
of the switch connected to the router. Therefore this interface should be a trunk
interface on all switches.

Ø Int fa0/1

Ø Switchport mode trunk


Ø Do wr

Configuring IP Address for the Router Interfaces

In the problem statement, we have been told that the routers are supposed to
use the IPs 10.10.10.0/30, 10.10.10.4/30, and 10.10.10.8/30 amongst
themselves for communication. The routers are connected through the serial
interfaces. The /30 subnet mask tells us that there are 30 network bits in the
subnet mask which becomes 11111111.11111111.11111111.11111100 which in
decimal form is 255.255.255.252 and that a total of 2 valid hosts are present
out of 3 available addresses. This means that in the network 10.10.10.0/30 the
IPs range from 0 to 2 and 10.10.10.0 becomes the network address leaving 2
valid IPs for hosts that can be assigned to the interfaces.

The steps to assign IP addresses to these interfaces are as follows:

Floor 1

Ø En

Ø Config t

Ø Int se0/3/0

Ø Ip address 10.10.10.1 255.255.255.252

Ø Int se0/3/1

Ø Ip address 10.10.10.9 255.255.255.252


Ø Do wr

Ø Exit

Floor 2

Ø En

Ø Config t

Ø Int se0/3/0

Ø Ip address 10.10.10.2 255.255.255.252

Ø Int se0/3/1

Ø Ip address 10.10.10.5 255.255.255.252

Ø Do wr

Ø Exit

Floor 3

Ø En

Ø Config t

Ø Int se0/3/0

Ø Ip address 10.10.10.6 255.255.255.252


Ø Int se0/3/1

Ø Ip address 10.10.10.10 255.255.255.252

Ø Do wr

Ø Exit

Configuring InterVLAN routing The DHCP server on the router

Inter-VLAN routing is configured on the router.

Floor 1

Ø En

Ø Config t

Ø Int gig0/0.80 [creates a subinteface for a VLAN]

Ø Encapsulation dot1q 80

Ø Ip address 192.168.8.1 255.255.255.0 [sets the ip address for the interface]

Ø Exit

Ø Int gig0/0.70 [creates a subinteface for a VLAN]

Ø Encapsulation dot1q 70

Ø Ip address 192.168.7.1 255.255.255.0 [sets the ip address for the interface]


Ø Exit

Ø Int gig0/0.60 [creates a subinteface for a VLAN]

Ø Encapsulation dot1q 60

Ø Ip address 192.168.6.1 255.255.255.0 [sets the ip address for the interface]

Ø Do wr

Ø Exit

Floor 2

Ø En

Ø Config t

Ø Int gig0/0.50 [creates a subinteface for a VLAN]

Ø Encapsulation dot1q 50

Ø Ip address 192.168.5.1 255.255.255.0 [sets the ip address for the interface]

Ø exit

Ø Int gig0/0.40 [creates a subinterface for a VLAN]

Ø Encapsulation dot1q 40

Ø Ip address 192.168.4.1 255.255.255.0 [sets the ip address for the interface]


Ø exit

Ø Int gig0/0.30 [creates a subinterface for a VLAN]

Ø Encapsulation dot1q 30

Ø Ip address 192.168.3.1 255.255.255.0 [sets the ip address for the interface]

Ø Do wr

Ø exit

Floor 3

Ø en

Ø config t

Ø int gig0/0.20 [creates a subinterface for a VLAN]

Ø encapsulation dot1q 20

Ø ip address 192.168.2.1 255.255.255.0 [sets the ip address for the interface]

Ø exit

Ø int gig0/0.10 [creates a subinterface for a VLAN]

Ø encapsulation dot1q 10

Ø ip address 192.168.1.1 255.255.255.0 [sets the ip address for the interface]


Ø do wr

Ø exit

DHCP configuration

Depending on the number of VLANs or departments we will need to create an


equivalent number of IP-pools for the DHCP service to assign the IP addresses
to the end devices from.

Floor 1

Ø En

Ø Config t

Ø Service dhcp

Ø Ip dhcp pool reception [dhcp pool for reception department]

Ø Network 192.168.8.0 255.255.255.0 [assigning the network address]

Ø Default-router 192.168.8.1 [Sets default gateway]

Ø Dns 192.168.8.1

Ø Exit

Ø Ip dhcp pool store [dhcp pool for store department]


Ø Network 192.168.7.0 255.255.255.0 [assigning the network address]

Ø Default-router 192.168.7.1 [Sets default gateway]

Ø Dns 192.168.7.1

Ø Exit

Ø Ip dhcp pool logistics [dhcp pool for logistics department]

Ø Network 192.168.6.0 255.255.255.0 [assigning the network address]

Ø Default-router 192.168.6.1 [Sets default gateway]

Ø Dns 192.168.6.1

Ø Do wr

Ø Exit

Floor 2

Ø En

Ø Config t

Ø Service dhcp

Ø Ip dhcp pool finance [dhcp pool for finance department]

Ø Network 192.168.5.0 255.255.255.0 [assigning the network address]


Ø Default-router 192.168.5.1 [Sets default gateway]

Ø Dns 192.168.5.1

Ø Exit

Ø Ip dhcp pool hr [dhcp pool for hr department]

Ø Network 192.168.4.0 255.255.255.0 [assigning the network address]

Ø Default-router 192.168.4.1 [Sets default gateway]

Ø Dns 192.168.4.1

Ø Exit

Ø Ip dhcp pool sales [dhcp pool for sales department]

Ø Network 192.168.3.0 255.255.255.0 [assigning the network address]

Ø Default-router 192.168.3.1 [Sets default gateway]

Ø Dns 192.168.3.1

Ø Do wr

Ø Exit

Floor 3

Ø En
Ø Config t

Ø Service dhcp

Ø Ip dhcp pool admin [dhcp pool for admin department]

Ø Network 192.168.2.0 255.255.255.0 [assigning the network address]

Ø Default-router 192.168.2.1 [Sets default gateway]

Ø Dns 192.168.2.1

Ø Exit

Ø Ip dhcp pool IT [dhcp pool for IT department]

Ø Network 192.168.1.0 255.255.255.0 [assigning the network address]

Ø Default-router 192.168.1.1 [Sets default gateway]

Ø Dns 192.168.1.1

Ø Do wr

Ø Exit

Set the end devices to receive IP address automatically from the dhcp server on
the router and check the settings.
The devices are receiving IP address from the DHCP server. Connections are
working

Configuring Routing Protocol on the Routers


As per the problem statement, the routing protocol OSPF needs to be
configured on the routers for the departments on each floor to communicate
with each other. OSPF advertises the network on a router to other networks.

Router- Floor 1

Ø En

Ø Config t

Ø Router ospf 10

Ø Network 10.10.10.0 255.255.255.252 area 0

Ø Network 10.10.10.8 255.255.255.252 area 0

Ø Network 192.168.8.0 255.255.255.0 area 0

Ø Network 192.168.7.0 255.255.255.0 area 0

Ø Network 192.168.6.0 255.255.255.0 area 0

Ø Do wr

Ø Exit

Router- Floor 2

Ø Router ospf 10

Ø Network 10.10.10.0 255.255.255.252 area 0


Ø Network 10.10.10.4 255.255.255.252 area 0

Ø Network 192.168.5.0 255.255.255.0 area 0

Ø Network 192.168.4.0 255.255.255.0 area 0

Ø Network 192.168.3.0 255.255.255.0 area 0

Ø Do wr

Ø Exit

Router- Floor 3

Ø Router ospf 10

Ø Network 10.10.10.4 255.255.255.252 area 0

Ø Network 10.10.10.8 255.255.255.252 area 0

Ø Network 192.168.1.0 255.255.255.0 area 0

Ø Network 192.168.2.0 255.255.255.0 area 0

Ø Do wr

Ø Exit

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy