Contents

2.7.2 lab – Configure Single-Area OSPFv2 (Instructor Version)InstructionsPart 1: build the Network and also Configure Basic maker Settings.Part 2: Configure and Verify Single-Area OSPFv2 for basic operation.Part 3: Optimize the Single-Area OSPFv2 configurationDevice Configs

2.7.2 rap – Configure Single-Area OSPFv2 (Instructor Version)

Topology

*

Addressing Table

DeviceInterfaceIP AddressSubnet Mask
R1G0/0/110.53.0.1255.255.255.0
Loopback1172.16.1.1255.255.255.0
R2G0/0/110.53.0.2255.255.255.0
Loopback1192.168.1.1255.255.255.0

Objectives

Part 1: build the Network and Configure Basic device SettingsPart 2: Configure and Verify Single-Area OSPFv2 for an easy operationPart 3: Optimize and Verify the Single-Area OSPFv2 configuration

Background / Scenario

Instructor Note: This lab has actually been constructed to use 2 routers v no serial interfaces. The switches shown in the topology room optional. If you have a 3rd router you deserve to introduce right into the pod, imply you add it to among the switches to develop a true multi-access network. You could additionally directly affix the 3rd router to among the other routers, creating second point-to-point network.

You are watching: Lab - configuring basic single-area ospfv2

You have actually been tasked with configuring a tiny company’s network using OSPFv2. R1 will be hosting one internet connection (simulated by interface Loopback 1) and also sharing the default route details to R2. After ~ the initial configuration, the organization has actually asked because that the construction to it is in optimized to alleviate protocol traffic and ensure that R1 remains in regulate of routing.

Note: The static routing method used in this lab is to assess your capability to configure and readjust OSPFv2 in a single-area configuration. This technique used in this lab may not reflect networking ideal practices.

Note: The routers supplied with CCNA manual labs are Cisco 4221 with Cisco IOS XE relax 16.9.4 (universalk9 image). The switches supplied in the labs space Cisco Catalyst 2960s with Cisco IOS release 15.2(2) (lanbasek9 image). Other routers, switches, and also Cisco IOS versions have the right to be used. Depending on the model and Cisco IOS version, the commands easily accessible and the calculation produced might vary from what is shown in the labs. Describe the Router Interface summary Table in ~ the end of the lab because that the correct user interface identifiers.

Note: Ensure that the routers and also switches have been erased and also have no startup configurations. If you are unsure contact your instructor.

Instructor Note: describe the Instructor Lab hands-on for the procedures to initialize and also reload devices.

Required Resources

2 Routers (Cisco 4221 with Cisco IOS XE release 16.9.4 universal image or comparable)2 Switches (Cisco 2960 through Cisco IOS relax 15.2(2) lanbasek9 image or comparable)1 pc (Windows with a terminal emulation program, such together Tera Term)Console cables come configure the Cisco IOS tools via the console portsEthernet cables as displayed in the topology

Instructions

Part 1: build the Network and Configure Basic an equipment Settings.Step 1: Cable the network as presented in the topology.

Attach the tools as presented in the topology diagram, and cable together necessary.

Step 2: Configure straightforward settings for each router.

a. Entrust a device name to each router.

router(config)# hostname R1router(config)# hostname R2b. Disable DNS lookup to prevent the router from attempting to translate incorrectly entered regulates as though they were organize names.

R1(config)# no ip domain lookupR2(config)# no ip domain lookupc. Assign class as the privileged EXEC encrypted password.

R1(config)# enable mystery classR2(config)# enable secret classd. Assign cisco together the console password and enable login.

R1(config)# line console 0R1(config-line)# password ciscoR1(config-line)# loginR2(config)# heat console 0R2(config-line)# password ciscoR2(config-line)# logine. Entrust cisco together the VTY password and permit login.

R1(config)# line vty 0 4R1(config-line)# password ciscoR1(config-line)# loginR2(config)# line vty 0 4R2(config-line)# password ciscoR2(config-line)# loginf. Encrypt the plaintext passwords.

R1(config)# organization password-encryptionR2(config)# business password-encryptiong. Create a banner that cautions anyone accessing the maker that unauthorized accessibility is prohibited.

R1(config)# banner motd $ Authorized customers Only! $R2(config)# banner motd $ Authorized customers Only! $h. Conserve the to run configuration come the startup configuration file.

R1# copy running-config startup-configR2# copy running-config startup-configStep 3: Configure basic settings for each switch.a. Assign a device name to each switch.

switch(config)# hostname S1switch(config)# hostname S2b. Disable DNS lookup to avoid the router indigenous attempting to translate incorrectly entered regulates as though they were host names.

S1(config)# no ip domain lookupS2(config)# no ip domain lookupc. Entrust class as the privileged EXEC encrypted password.

S1(config)# enable an enig classS2(config)# enable an enig classd. Assign cisco as the console password and permit login.

S1(config)# heat console 0S1(config-line)# password ciscoS1(config-line)# loginS2(config)# line console 0S2(config-line)# password ciscoS2(config-line)# logine. Assign cisco as the VTY password and permit login.

S1(config)# heat vty 0 15S1(config-line)# password ciscoS1(config-line)# loginS2(config)# heat vty 0 15S2(config-line)# password ciscoS2(config-line)# loginf. Encrypt the plaintext passwords.

S1(config)# service password-encryptionS2(config)# service password-encryptiong. Create a banner that alerts anyone accessing the machine that unauthorized accessibility is prohibited.

S1(config)# banner motd $ Authorized customers Only! $S2(config)# banner motd $ Authorized individuals Only! $h. Save the running configuration come the startup construction file.

S1# copy running-config startup-configS2# copy running-config startup-configPart 2: Configure and also Verify Single-Area OSPFv2 for basic operation.Step 1: Configure interface addresses and an easy OSPFv2 on each router.a. Configure interface addresses on each router as displayed in the Addressing Table above.

R1(config)# interface g0/0/1R1(config-if)# ip address 10.53.0.1 255.255.255.0R1(config-if)# no shutR1(config-if)# exitR1(config)# interface loopback 1R1(config-if)# ip resolve 172.16.1.1 255.255.255.0R1(config-if)# exitR2(config)# interface g0/0/1R2(config-if)# ip deal with 10.53.0.2 255.255.255.0R2(config-if)# no shutR2(config-if)# exitR2(config)# user interface loopback 1R2(config-if)# ip address 192.168.1.1 255.255.255.0R2(config-if)# exitb. Go into OSPF router configuration setting using process ID 56.

R1(config)# router ospf 56R2(config)# router ospf 56c. Configure a revolution router ID for each router (1.1.1.1 because that R1, 2.2.2.2 because that R2).

R1(config-router)# router-id 1.1.1.1R2(config-router)# router-id 2.2.2.2d. Configure a network statement because that the network between R1 and R2 placing it in area 0.

R1(config-router)# network 10.53.0.0 0.0.0.255 area 0R2(config-router)# network 10.53.0.0 0.0.0.255 area 0e. ~ above R2 only, add the configuration vital to advertisement the Loopback 1 network into OSPF area 0.

See more: Why Cant I Download Pictures Of My Friends In Wechat Unable To Download Image ?

R2(config-router)# network 192.168.1.0 0.0.0.255 area 0OR

R2(config)# user interface loopback1R2(config-if)# ip ospf 56 area 0f. Verify OSPFv2 is operational in between the routers. Concern the command to verify R1 and R2 have developed an adjacency.

R1# present ip ospf neighborNeighbor id Pri State Dead Time deal with Interface2.2.2.2 1 FULL/DR 00:00:33 10.53.0.2 GigabitEthernet0/0/1R2# show ip ospf neighborNeighbor id Pri State Dead Time resolve Interface1.1.1.1 1 FULL/BDR 00:00:37 10.53.0.1 GigabitEthernet0/0/1Which router is established as the DR? which is the BDR? What was the selection criteria?