0% found this document useful (0 votes)
4 views2 pages

OSPF Routing Basics for Network Setup

The document outlines a practical exercise for configuring OSPF routing in a network with routers R1, R2, and R3. It includes tasks such as configuring interfaces, verifying IP addresses, setting up OSPF protocol, modifying router IDs, adjusting OSPF costs, and redistributing a default OSPF route. Detailed commands and steps are provided for each task to facilitate the configuration process.

Translated by

ScribdTranslations
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)
4 views2 pages

OSPF Routing Basics for Network Setup

The document outlines a practical exercise for configuring OSPF routing in a network with routers R1, R2, and R3. It includes tasks such as configuring interfaces, verifying IP addresses, setting up OSPF protocol, modifying router IDs, adjusting OSPF costs, and redistributing a default OSPF route. Detailed commands and steps are provided for each task to facilitate the configuration process.

Translated by

ScribdTranslations
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

University of Oran

Department of Computer Science


M1-S2 2016/2017 – Next Generation Networks

TP 1: Basics of OSPF Routing

Address table

Tasks to be completed:
1. Configuration of interfaces on R1, R2, and R3
2. Verification of IP addressing and interfaces (Use the commandshow ip interface brief)
3. Configuration of Ethernet interfaces of PC1, PC2, and PC3.
4. Configuration of the OSPF protocol on routers R1, R2, and R3
• Step 1: using the commandOSPF routerin global configuration mode to enable
the OSPF protocol on a router. Enter 1 as the process ID for the parameter process-ID.
Example:R1(config)#router ospf 1

• Step 2: Announcement of directly attached networks with the commandnetwork.


Example: once in the OSPF Router configuration sub-mode, configure the local network
[Link]/28 in order to include it in the OSPF updates sent from R1. Use 0 as the ID
de zone pour le paramètre OSPFarea-id. L’ID de zone OSPF aura la valeur 0 dans toutes les
instructions network of this topology.
R1(config-router)#network [Link] [Link] area 0

Important: The OSPF commandnetworkuse a combination of network address and generic mask.
Note that when adding the serial link network between R1 and R2 to the OSPF configuration, the router
send a notification message to the console indicating that there is a neighbor relationship with another
OSPF router has been established.
1
5. Configuration of OSPF router IDs
• Step 1: review of current router IDs in the topology with:
show ip protocols - show ip ospf - show ip ospf interface

• Step 2: using loopback addresses to modify the router IDs in the topology.
For example:

R1(config)#interface loopback 0
R1(config-if)#ip address [Link] [Link]
R2(config)#interface loopback 0
R2(config-if)#ip address [Link] [Link]

• Step 3: using the commandshow ip ospf neighborsto verify the router IDs
have been modified.
• Step 4: using the router-id command to change the router ID on router R1

R1(config)#router ospf 1
R1(config-router)#router-id [Link]
Reload or use the 'clear ip ospf process' command for this to take effect.

6. OSPF Cost Configuration


• Step 1: using the commandshow ip routeon router R1 to display the OSPF cost
to access the network [Link]/24
• Step 2: use the command show interfaces serial0/0/0 on router R1 to display the
bandwidth of the Serial0/0/0 interface
• Step 3: using the commandbandwidthto modify the bandwidth of the interfaces
series of routers R1 and R2 on the real value, which is 64 Kbits/s
R1(config)#interface serial0/0/0
R1(config-if)#bandwidth 64

• Step 4: using the commandshow ip ospf interfaceon router R1 to check the


cost of series connections.

7. Redistribution of a default OSPF route


• Step 1: configuring a loopback address on router R1 to simulate a link with
a TSP.
R1(config)#interface loopback1
R1(config-if)#ip address [Link] [Link]

• Step 2: configuring a default static route on router R1. Use the address of
loop configured to simulate a connection with an ISP as the output interface.
R1(config)#ip route [Link] [Link] loopback1

• Step 3: using the commanddefault-information originate to include the route


static in the OSPF updates sent from router R1.
R1(config)#router ospf 1
R1(config-router)#default-information originate
R1(config-router)#

• Étape 4 : consultation de la table de routage du routeur R2 pour vérifier que la route statique par
default is redistributed via OSPF.

You might also like