Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Department of CA
Design Problem 2
Declaration:
I declare that this assignment is my individual work. I have not copied from any other student’s
work or from any other source except where due acknowledgement is made explicitly in the text, nor has
any part been written for me by another person.
Student’s Sign:
Evaluator’s Comments:
___________________________________________________
Problem:
An organization Patterson Software Solutions Ltd need to set up a network for its company. The company
would be setting up a network to connect its various departments using 4 routers:
Router_HR with 2 hosts
Router_Production with 3 hosts
Router_MaintenanceCenter with 2 hosts
Router_Research with 2 hosts
The organization has decided to use Class A addressing with network address 16.0.0.0.
Expectations:
1. Configure the network using valid subnet mask. List out the IP addresses that can be assigned to the
hosts and the router interfaces. (2)
2. Define Static routes for the network and verify with appropriate commands that routes are
configured properly. List out the routes created.
(5)
5. Can this network be configured now with OSPF routing protocol. If yes, configure the network and
list out the routes generated.
(5)
Expectations
Configure the network using valid subnet mask. List out the IP addresses that can be assigned to the hosts
and the router interfaces
Subnet mask
As the ip address is given to us that is 16.0.0.0 .this is class A address so the mask for class A can vary from 8
to 31.we take mask 24 that is 255.255.255.0
Assing ip address to host
1) select first host that is pc1
2) Click on it then the host a window will appear in front of you. like fig 1
Fig 1
3) Now click on desktop tab .then a new window will appear.
4) This window contain options like
Ip address
Dial up
Terminal
Command prompt
Web browser
Pc wireless
5) Select ip address from these options then a window will appear .in which enter
Ip address
Subnet mask
Default gateway
As we are assigning ip address to pc1 we will enter the ip address of pc1.the mask is common mask
which is decided for the network. The default gateway is the passage from which the packets will come and
to to other routers.
6) by this the ip address will be assigned to the host.
7) We will follow same procedure to assign ip address to other hosts.
Fig2
The ip address for other hosts are as:
1) Click on the router0 the window will appear .from this window click on CLI tab.
2) The command prompt will display.
3) Execute following commands to assign ip address to the interface.
Router_HR >enable
Router_HR #configure terminal
Router_HR (config)#interface FastEthernet0/0
Router_HR (config-if)#no shutdown
Router_HR (config-if)#ip address 16.0.10.1 255.255.255.0
Router_HR (config-if)#
Router_HR (config-if)#exit
Router_HR (config)#interface FastEthernet1/0
Router_HR (config-if)#no shutdown
Router_HR (config-if)#ip address 16.0.20.1 255.255.255.0
Router_HR (config-if)#
Router_HR (config-if)#exit
Router_HR (config)#interface Serial2/0
Router_HR (config-if)#no shutdown
Router_HR (config-if)#clock rate 1300000
Router_HR (config-if)#ip address 16.0.30.1 255.255.255.0
Router_HR (config-if)#
Router_HR (config-if)#exit
The following tables will show the ip address of interfaces corresponding to each router:
ROUTER0:
INTERFACE IP ADDRESS SUMNETMASK
fe0/0 16.0.10.1 255.255.255.0
fe1/0 16.0.20.1 255.255.255.0
S2/0 16.0.30.1 255.255.255.0
ROUTER1:
INTERFACE IP ADDRESS SUMNETMASK
fe0/0 16.0.50.1 255.255.255.0
fe1/0 16.0.60.1 255.255.255.0
Fe6/0 16.0.70.1 255.255.255.0
S2/0 16.0.30.2 255.255.255.0
S4/0 16.0.40.1 255.255.255.0
ROUTER2:
INTERFACE IP ADDRESS SUMNETMASK
fe0/0 16.0.90.1 255.255.255.0
fe1/0 16.0.100.1 255.255.255.0
S2/0 16.0.40.2 255.255.255.0
S3/0 16.0.80.1 255.255.255.0
ROUTER3:
INTERFACE IP ADDRESS SUMNETMASK
fe0/0 16.0.110.1 255.255.255.0
fe1/0 16.0.120.1 255.255.255.0
S2/0 16.0.80.2 255.255.255.0
Now the network will be as:
Define Static routes for the network and verify with appropriate commands that routes are configured
properly. List out the routes created
Static routing:
With static routing, you, as the administrator, manually enter the routes and tell the router, for each
IP network, what next hop that traffic should be delivered to.
1 There is no overhead for using static routes. With dynamic routes, network bandwidth is used to
communicate available networks between routers. With static routes, as the network administrator hard
codes these routes on the routers, the routers never need to communicate routing information.
2 Static routes can be easier to configure if you have a small network. Let's say that I have only two routers
and need to configure routing between them. I would need to configure only two route statements, one on
each router. With a dynamic routing protocol like RIP, I would have to enter two network statements on
each router.
3 Static routes could be considered more secure. Because you aren't learning any routes from any other
routers over the network, there is no chance that an incorrect or unsecured route will be learned by your
router.
4 Static routes don't request any router resources. A dynamic routing protocol like OSPF can require
significant resources from the router to calculate the shortest path across the network when there are many
routers. However, you wouldn't want to use static routes when there are many routers anyway (see
negatives of using static routing).
In summary, as a network administrator, you should be familiar with how and when to use static routes.
The ip route statement creates a static route. Static routes should be used in limited application but are very
necessary in many network configurations
Fill this
To define the information to
static routes . Create static
routes.
We can also
write these
commands on
the cli to create
static routes
Routing table entries.
contain both directly
connected or connected
by administrator
Router-Production:
here first is the n/w
address, /24 is the
subnet mask and other
is the interface address
S means
Connected
statically
C means
Connected
directly
Router-Maintanancecenter:
Directly
connected
Router –Research:
n/w address
and number of
subnets
First click on the
Pinging PC8 and PC6 fromPC0: host and select the
click and type
command.
Reply after
pinging
Enable RIP protocol on the network to generate routing table dynamically:
RIP is a dynamic, distance vector routing protocol was developed for smaller IP based networks. RIP uses
UDP port 520 for route updates. RIP calculates the best route based on hop count. Like all distance vector
routing protocols, RIP takes some time to converge. While RIP requires less CPU power and RAM than
some other routing protocols, RIP does have some limitations:
However, it must be pointed out that RIP is the only routing protocol that all routing devices and software
support, so in a mixed equipment environment, RIP may be your only option for dynamic routing. This is
changing with the widespread use of OSPF.
RIP ROUTING UPDATES
Routers running IP RIP broadcast the full list of all the routes they know every 30 seconds. When a router
running RIP hears a broadcast it runs the distance vector algorithm to create a list of best routes.
RIP TIMERS
TIMER DEFAULT CONTROLS
Update 30 sec. Interval between route update advertisements
Hold-
90 sec. Period a route is withdrawn from the table to prevent a routing loop.
Down
Interval a route should stay 'live' in the routing table. This counter is reset every time
Timeout 180 sec.
the router hears an update for this route.
Flush 120 sec. How long to wait to delete a route after it has timed out.
The routing-update timer controls the time between routing updates. Default is usually 30 seconds, plus a
small random delay to prevent all RIP routers from sending updates simultaneously.
Configure router dynamically using RIP:
We can also
write these
commands on
the cli to create
routes
Routing table entries.
contain both directly
connected or connected
by RIP
Router-Production:
We can also
write these
commands on
the cli to create
routes
R means
Connected by
RIP
C means
Connected
directly
Router-Maintanancecenter:
Directly
connected
Router –Research:
n/w address
and number of
subnets
First click on the
Pinging PC5 and PC8 fromPC0: host and select the
click and type
command.
Reply after
pinging
Configure router with EIGRP on the network and list out the routes created.
Before you configure EIGRP, there are some things you should know about it first. Here they are:
Router-HR
Enabling EIGRP
on the n/w using
commands.
Routing table entries.
contain both directly
connected or connected
by EIGRP shown by D
THE REST SCREEN SHORTS ARE SAME FOR OTHER ROUTERS ALSO.
First click on the
Pinging PC5 and PC8 fromPC0: host and select the
click and type
command.
Reply after
pinging
Can this network be configured now with OSPF routing protocol. If yes, configure the network and
list out the routes generated.
Yes, we can configure now with OSPF. But before it we have to the EIGRP the reason behind it is the
AD of EIGRP is less , so it will be preferred. so to use OSPF at this point require the disabling of
EIGRP. we can disable it using command:
Router (config)#no router eigrp 1
OSPF
The OSPF dynamic routing protocol is probably the most popular LAN routing protocol today. OSPF can scale to
the largest LANs but can also start out small. While OSPF can be complex to configure, its basic configuration
isn't difficult. Let's learn how to configure OSPF in the Cisco IOS.
OSPF offers the following features, that are found in a number of routing protocols:
• A standards-based routing protocol that works is very interoperable between different vendors routers and
firewalls
• Supports variable length subnet masks (VLSM), making it a classless routing protocols
• Authentication of routing updates are supported
• Route redistribution is supported between different routing protocols
• OSPF works well in point to point and point to multipoint, broadcast or non-broadcast configurations
• OSPF also offers a number of OSPF-specific features such as stub areas, virtual links, and OSPF on demand
circuits.
Router_Mainten(config)#router ospf 1
Router_Mainten(config-router)#network 16.0.0.0 0.0.255.255 area 0
Router_Mainten(config-router)#^Z
Router-HR
Enabling OSPF
on the n/w using
commands.
Routing table entries.
contain both directly
connected or connected
by OSPF shown by O
THE REST SCREEN SHORTS ARE SAME FOR OTHER ROUTERS ALSO.
First click on the
Pinging PC5 and PC8 fromPC0: host and select the
click and type
command.
Reply after
pinging