Design of computer networks
Series of exercises (static routing)
Field: ID Trainer: KALALI Majdouline
Exercise 1:
Here is the routing table of a router R1:
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2,
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
R [Link]/8 [120/1] via [Link], 00:00:09, Serial2/0
S [Link]/8 [1/0] via [Link]
C [Link]/8 is directly connected, FastEthernet0/0
S [Link]/8 [1/0] via [Link]
R [Link]/8 [120/2] via [Link], 00:00:22, FastEthernet1/0
R [Link]/16 [120/1] via [Link], 00:00:22, FastEthernet1/0
S [Link]/16 [1/0] via [Link]
C [Link]/24 is directly connected, Serial2/0
C [Link]/24 is directly connected, FastEthernet1/0
S* [Link]/0 [1/0] via [Link]
What command was used to display this routing table?
2. What are the manually configured routes?
3. What is the purpose of the default route? And what is the Cisco command that allows it?
configure?
4. What would the router do if it had to route a packet whose destination address was:
a. [Link]
b. 25 .33.23.10
c. 166 .66.66.66
5. Which command allows you to delete the last route from the routing table.
6. After this deletion, try to answer question 4 again.
Exercise 2:
What is the best aggregation for the network addresses [Link]/24, [Link]/24?
and [Link]/24?
2. We have a Class B network address of [Link] to which we assign
the mask [Link]. The subnets [Link] to [Link] must be
aggregated. Provide the address and the mask that allow this aggregation.
3.
[Link] /24
[Link] /24
[Link] /24
[Link] /24
[Link] /24
[Link] /24
[Link] /24
[Link] /24
Can we aggregate these addresses by [Link] /21? Explain your answer and provide one.
Another possibility to aggregate 8 network addresses if this proposal is incorrect.
Exercise 3:
The network administrator has configured routing manually to succeed the
communication between the different network devices.
R2
R3
R1
R4
1. Provide the routing table of the different routers specifying the type of learning of
each road.
2. Can we optimize the routing tables.
Exercise 4:
1) Studied topology
2) Questions
What command allows you to create a static route on a router?
b. What is the administrative distance of a static route?
c. Suppose no routing protocol has been configured on the studied topology. A
with only 3 static routes across the entire topology, make it so
what:
. The networks [Link] and [Link] can communicate with each other.
. Each of these two networks has access to the Internet.
d. Provide the commands you would have used to configure each of the routers.