Lab 3 Packet Tracer - Student-Single-Area OSPFv 2 Configuration with Switches PDF

Title Lab 3 Packet Tracer - Student-Single-Area OSPFv 2 Configuration with Switches
Course Intro to Enterprise Networking
Institution Algonquin College
Pages 19
File Size 1.2 MB
File Type PDF
Total Downloads 76
Total Views 125

Summary

Student-Single-Area OSPFv 2 Configuration with Switches...


Description

Lab 3: PT – Configure, modify and verify Single-Area OSPFv2 with Layer 2/3 Switches

Addressing Table: Device

Interface

IP Address

Subnet Mask

Default Gateway

G0/1.10

100.1.10.1

/24

N/A

S0/0/0

209.165.100.1

/24

N/A

S0/0/1

100.1.20.1

/30

N/A

Loopback 0

10.10.10.10

/32

N/A

G0/0

209.165.150.2

/24

N/A

S0/0/0

209.165.100.2

/24

N/A

S0/0/0

100.1.20.2

/30

N/A

Loopback 0

30.30.30.30

/32

N/A

Vlan 10

100.1.10.5

/24

N/A

FA0/5

Layer 2 Trunk

N/A

N/A

S2

Vlan10

100.1.10.6

/24

N/A

PC1

NIC

100.1.10.10

/24

100.1.10.1

PC2

NIC

100.1.10.20

/24

100.1.10.1

Server

NIC

209.165.150.15 0

/24

R1

R1 R1

ISP R2

R2 R2

S1

209.165.150.2

Objectives: Part 1: Configure VLANs, trunks on Switches Part 2: Configure OSPF router IDs Part 3: Configure Networks for OSPF Routing, OSPF Process ID 4 Part 4: Configure OSPF priority to force DR and BDR election Part 5: Configure passive interfaces Part 6: Configure default route on R1 Part 7: Tune OSPF Hello and Dead Interval Timers on link between R1 and R2 Part 8: Adjust OSPF reference bandwidth on all devices Part 9: Verify reachability from PCs to Server

 2020 - 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public

Page 1 of 19

www.netacad.com

Lab 3: PT – Configure, modify and verify Single-Area OSPFv2 with Layer 2/3 Switches

Note: You must configure the router hostnames to include your name (not your username). For example, I would rename the R1 hostname “Sherif_R1” as shown: Router(config)# hostname Sherif_R1 Sherif_R1(config)#

Note on Screenshots: You must include screenshots and short explanation as proof of completion when requested. The screenshots must: 

Be of your entire desktop and not “zoomed-in” to a specific area.



Include the router prompts with your name



Must include a short explanation of “What” and “Why” you are showing me this.

Note: Labs missing these will not be graded. See screenshot Sample below

Background 

This lab has is worth 2% of your total grade



Each Screen shot is worth 1 point



Explanation for each Screenshot is worth 1 point



Total points available in this lab is 16 points

In this activity, you will activate OSPF routing with L3 switches. In addition, you will configure explicit router IDs, passive interfaces., inject default route on R1, tune OSPF Hello/Dead interval timers and adjust OSPF cost. You will verify OSPF proper operations and routes propagation and reachability between PCs to Server

 2020 - 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public

Page 2 of 19

www.netacad.com

Lab 3: PT – Configure, modify and verify Single-Area OSPFv2 with Layer 2/3 Switches

Screenshot Sample:

Explanation Sample “what it should include”? 



What are you showing me? Specifically call out what you are supposed to look at in the output. If it’s the router ID then specify what it is. Also it is recommended if you can draw a circle or box around the item of interest. Why are you showing me this? (e.g., If you are verifying the Router ID as an example then the output proves that the router-id command was correctly assigned.)

How to insert a shape around a Screenshot: https://www.youtube.com/watch?v=4nyC2VdAEI0&ab_channel=RichardDonnelly

 2020 - 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public

Page 3 of 19

www.netacad.com

Lab 3: PT – Configure, modify and verify Single-Area OSPFv2 with Layer 2/3 Switches

Instructions Part 1: Configure VLANs and trunks Step 1: Configure VLANs and trunk between switches a. Configure and assign host names to switches as shown in the Packet Tracer, use vtp version 2, use domain name = swlab, leave vtp mode as server on both DLS switches, this part will be pre-configured for you in Packet Tracer file, just verify that it is properly configured. b. Configure vlans on S1 and S2 as follows: i. Vlan 10--- name Management ii. Vlan 66--- name Native, this will be the Native Vlan c. Configure Port FA0/11 as a trunk port between S1 and S2 switches, allow all VLANs on the trunk and disable DTP (by default all VLANs are allowed so you do not need to do anything): S1 configuration is shown below: S1(config)#interface fa0/11 S1(config-if)#switchport trunk native vlan 66 S1(config-if)#switchport trunk encapsulation dot1q S1(config-if)#switchport mode trunk S1(config-if)#switchport nonegotiate d. Configure S2 interface fa0/11 as trunk similar to the above configuration e. Configure SVI 10 interface on both S1 and S2 switches, this is also pre-configured for you with IP address, just verify it is configured properly and the SVI interface is UP/UP state Note: VLAN 10 has to be active otherwise the SVI interface will be Down

f.

Verify that the trunk between Switches is operational, use “show interface trunk” for verification

g. Configure port FA0/5 on S1 as a trunk port, this port is connected to Router R1, Gig0/1, ensure that native vlan on the trunk is set to 66: S1(config)#int S1(config-if)# S1(config-if)# S1(config-if)# S1(config-if)#

FastEthernet 0/5 switchport trunk native vlan 66 switchport trunk encapsulation dot1q switchport mode trunk switchport nonegotiate

 2020 - 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public

Page 4 of 19

www.netacad.com

Lab 3: PT – Configure, modify and verify Single-Area OSPFv2 with Layer 2/3 Switches

g. Configure port FA0/6 on both S1 and S2 switches to be mapped to VLAN 10, S1 configuration is shown below, map S2 FA0/6 to vlan 10 using similar configuration : S1(config-if)#interface FastEthernet0/6 S1(config-if)# switchport access vlan 10 S1(config-if)# switchport mode access S1(config-if)# switchport nonegotiate S1(config-if)# spanning-tree portfast a.

PC1 and PC2 are preconfigured with IP addresses and both are using R1 Gig0/1.10 IP address 100.1.10.1/24 of R1 as their default Gateway address, verify that PC1 and PC2 are configured properly Step 2: Switch Verifications:

a. Verify that the trunk is Operational between switches (only S1 is shown below): S1#sh interface trunk------ S2 should have the similar output, S1 only has a trunk port to R1 Port Fa0/5 Fa0/11 Port Fa0/5 Fa0/11 Port Fa0/5 Fa0/11 Port Fa0/5 Fa0/11

Mode Encapsulation on 802.1q on 802.1q Vlans allowed on trunk 1-1005 1-1005

Status trunking trunking

Native vlan 66 66

Vlans allowed and active in management domain 1,10,66 1,10,66 Vlans in spanning tree forwarding state and not pruned 1,10,66 1,10,66

b. Verify that the SVI interfaces on S1 and S2 are Operational: S1#sh interfaces vlan 10 Vlan10 is up, line protocol is up S2#sh interfaces vlan 10 Vlan10 is up, line protocol is up

 2020 - 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public

Page 5 of 19

www.netacad.com

Lab 3: PT – Configure, modify and verify Single-Area OSPFv2 with Layer 2/3 Switches

c. Verify the interface FA0/6 on both S1 and S2 switches are mapped to vlan 10, S2 is shown below, S1 should have same output, also native vlan 66 should be active S2#sh vlan brief

The output below confirms that interface FA0/6 is mapped to VLAN 10 VLAN Name Status Ports ---- -------------------------------- --------- --------------------------1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4 Fa0/7, Fa0/8, Fa0/9, Fa0/10 Fa0/12, Fa0/13, Fa0/14, Fa0/15 Fa0/16, Fa0/17, Fa0/18, Fa0/19 Fa0/20, Fa0/21, Fa0/22, Fa0/23 Fa0/24, Gig0/1, Gig0/2 10 Management active Fa0/6 66 Native active

Part 2: Configure OSPF router IDs Step 1: Configure OSPF Router IDs: a. Verify that R1 and R2 are configured properly with IP addresses as shown in the Addressing Table, this includes also R1’s, R2’s Loopback addresses, this step is preconfigured for you, just ensure IP addressing is correct. b. Start the OSPF routing process on all devices. Use process ID 4. Router(config)# router ospf process-id c. Use the router-id command to set the OSPF RIDs of the devices as follows:  R1: 10.10.10.10  R2: 30.30.30.30  S1: 0.0.0.5  S2: 0.0.0.6 Note: Before enabling OSPF on S1 and S2 switches, you must enable “ip routing” command on both switches

 2020 - 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public

Page 6 of 19

www.netacad.com

Lab 3: PT – Configure, modify and verify Single-Area OSPFv2 with Layer 2/3 Switches

Use the following commands: Router(config-router)# router-id rid R1(config)# router ospf 4 R1(config-router)# router-id 10.10.10.10 R2(config)# router ospf 4 R2(config-router)# router-id 30.30.30.30 S1(config)#ip routing S1(config)# router ospf 4 S1(config-router)# router-id 0.0.0.5 S2(config)#ip routing S2(config)# router ospf 4 S2(config-router)# router-id 0.0.0.6 Close configuration window

Part 3: Configure Networks for OSPF Routing, OSPF Process ID 4 Step 1: Configure networks for OSPF routing using network commands and wildcard masks on R1. Questions: a. Configure the routing process on R1 with the network statements and wildcard masks that are required to activate OSPF routing for all the attached networks. The network statement values should be the network or subnet addresses of the configured networks. b. Open configuration window Router(config-router)# network network-address wildcard-mask Please READ carefully the NOTE below: NOTE: In OSPF there is a network command to activate OSPF on ALL connected interfaces and their associated networks as long as the interfaces are in UP/UP state (Operational), {as mentioned in lecture interfaces that are DOWN/DOWN or UP/DOWN will not be advertised} the syntax for this command is: Router(config-router)# network 0.0.0.0 255.255.255.255 area For Single area 0 the command to enable OSPF advertisement on ALL Connected interfaces that are in UP/UP (Operational) state: Router(config-router)# network 0.0.0.0 255.255.255.255 area 0

 2020 - 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public

Page 7 of 19

www.netacad.com

Lab 3: PT – Configure, modify and verify Single-Area OSPFv2 with Layer 2/3 Switches

b. Advertise R1’s loopback address in OSPF, for loopback address use the exact IP address with Quad Zero mask (network 10.10.10.10 0.0.0.0 area 0) c. Verify that OSPF has been configured properly by the displaying the running configuration. If you find an error, delete the network statement using the no command and reconfigure it, the configuration should be as shown below: R1(config)#router ospf 4 R1(config-router)# router-id 10.10.10.10 R1(config-router)# network 10.10.10.10 0.0.0.0 area 0 R1(config-router)# network 100.1.10.0 0.0.0.255 area 0 R1(config-router)# network 100.1.20.0 0.0.0.3 area 0 Step 2: Configure OSPF to advertise networks for OSPF routing on R2, S1, S2 switches d. On router R2, S1 and S2 switches configure OSPF using network commands with the exact IP addresses of the interfaces and quad-zero masks (0.0.0.0). The syntax of the OSPF network commands is as shown below for R2: R2(config)#router ospf 4 R2(config-router)#router-id 30.30.30.30 R2(config-router)# log-adjacency-changes R2(config-router)# network 30.30.30.30 0.0.0.0 area 0 R2(config-router)# network 100.1.20.2 0.0.0.0 area 0

e. Configure OSPF on S1 and S2 switches also using the exact IP addresses of the SVI vlan 10 interfaces and quad-zero masks (0.0.0.0). S1 example is shown below: S1(config)#router ospf 4 S1(config-router)#router-id 0.0.0.5 S1(config-router)# network 100.1.10.5 0.0.0.0 area 0

Part 4: Configure OSPF priority to appoint R1 as the DR and S1 as the BDR Step 1: a. On router R1, configure ip OSPF priority to 100 (default is 1) under interface Gig0/1.10 c. On S1 under VLAN 10 interface configure OSPF priority to 50, this should force the DR as R1 and BDR as S1 (you need to clear OSPF process on R1,S1, S2 to make this step take effect)

 2020 - 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public

Page 8 of 19

www.netacad.com

Lab 3: PT – Configure, modify and verify Single-Area OSPFv2 with Layer 2/3 Switches

: c. Configure the above steps on R1 and S1 using the command syntax as shown below: R1(config)#int gig 0/1.10 R1(config-subif)#encapsulation dot1Q 10 R1(config-subif)# ip address 100.1.10.1 255.255.255.0 R1(config-subif)# ip ospf priority 100 S1(config)#int vlan 10 S1(config-if)# ip address 100.1.10.5 255.255.255.0 S1(config-if)# ip ospf priority 50 d. Clear OPSF process on R1, S1, S2 devices to force the OSPF re-election with new OSPF priority values as shown below: R1#clear ip ospf process Reset ALL OSPF processes? [no]: yes R2#clear ip ospf process Reset ALL OSPF processes? [no]: yes S1#clear ip ospf process Reset ALL OSPF processes? [no]: yes S2#clear ip ospf process Reset ALL OSPF processes? [no]: yes

Step 2: OSPF neighbor election verifications: e. Paste from S2 the screenshot output for “show ip ospf neighbor” command to verify that OSPF neighbors are properly established in the network, R1 should be the DR, S1 should be the BDR Screenshot is required below from S2 using “show ip ospf neighbor” (2 points) 1 point

 2020 - 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public

Page 9 of 19

www.netacad.com

Lab 3: PT – Configure, modify and verify Single-Area OSPFv2 with Layer 2/3 Switches

Explanation (1 point):

Part 5: Configure Passive Interfaces OSPF will send its protocol traffic out of all interfaces that are participating in the OSPF process. On links that are not configured to other networks, such as LANs, this unnecessary traffic consumes resources. The passive-interface command will prevent the OSPF process from sending unnecessary routing protocol traffic out LAN interfaces. There are 2 methods to configure passive interfaces. Both achieve the same result: 1- Using “Passive-interface “interface”” command under OSPF routing process 2- Using “passive-interface default” under OSPF routing process, using this command will enable Passive interfaces on all interfaces so you will need to remove passive interface statement from interfaces that you need to send OSPF routing protocol messages. Any of the above 2 methods can be used to suppress the OSPF routing protocol messages on links that should not receive OSPF Hellos or other OSPF routing protocol messages.

 2020 - 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public

Page 10 of 19

www.netacad.com

Lab 3: PT – Configure, modify and verify Single-Area OSPFv2 with Layer 2/3 Switches

Method 2 requires to be careful as it will enable all interfaces as Passive and you will need to add “no passive-interface interface” as required, otherwise OSPF adjacency will not be established over VLAN 10. Method 1 using passive-interface “interface”: on R1 router: Question: “Serial0/0/0 is connected to ISP and OSPF should not be sending messages over that interface:

Step 1: Configure Serial 0/0/0 on R1 as passive-interface a. Configure R1’s S0/0/0 that is connected to ISP router as Passive interface, use passiveinterface command b. Configure S2 FA0/6 interface that is connected to the User PC2 as passive interface, use “passive-interface” command c. Configure S1 using “passive interface default” command, and disable the passive interface on VLAN 10, notice that FA0/6 will also be enabled using the “passive interface default” command, Method 2 requires to be careful as it will enable all interfaces as Passive and you will need to add “no passive-interface interface” as required, otherwise OSPF adjacency will not be established over VLAN 10.

S1 configuration is shown below: S1(config)#router ospf 4 S1(config-router)#router-id 0.0.0.5 S1(config-router)# passive-interface default S1(config-router)# no passive-interface Vlan10 S1(config-router)# network 100.1.10.5 0.0.0.0 area 0 Screenshot is required below from S1 using “show ip protocols” {Trim the interfaces to shown only the ones used in the network (FA0/6) , i.e. the one connected to PC1} (2 points) 1 point

 2020 - 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public

Page 11 of 19

www.netacad.com

Lab 3: PT – Configure, modify and verify Single-Area OSPFv2 with Layer 2/3 Switches

Explanation (1 point):

Part 6:

Configure OSPF default route on R1

Step 1: Enable default route on R1 Ensure that R1 can ping the ISP router interface, this ensure link is UP/UP: R1#ping 209.165.100.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 209.165.100.2, timeout is 2 seconds: !!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 1/5/11 ms Step 2: Enable default route commands on R1 such that default route is pointing to ISP Serial0/0/0 as the next hop address: Note: Depending on the Lab instructions you may be asked to point default route to Loopback 0 address of R1 instead of ISP next hop, so you have to configure based on the Lab instructions, in this case we will point the default route to ISP IP address (209.165.100.2) R1(config)#ip route 0.0.0.0 0.0.0.0 209.165.100.2

 2020 - 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public

Page 12 of 19

www.netacad.com

Lab 3: PT – Configure, modify and verify Single-Area OSPFv2 with Layer 2/3 Switches

Step 3: Configure a static Route on ISP router pointing to Internal 100.1.0.0/16 network ISP(config)#ip route 100.1.10.0 255.255.255.0 209.165.100.1 Note: “Without the Static route on ISP, no reachability can be achieved from PCs to the Internet Server”

Step 4: Enable OSPF command “default-information originate” on R1 to propagate the default route: R1config-router)#router ospf 4 R1config-router)#default-information originate

Step 5: Paste the screenshot of command “sh ip route | inc E2” from S2 device to Verify that the default route is injected by R1 is propagated (2 points) S2 screenshot for command output “sh ip route | inc E2” (2 points) 1 point

 2020 - 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public

Page 13 of 19

www.netacad.com

Lab 3: PT – Configure, modify and verify Single-Area OSPFv2 with Layer 2/3 Switches

Explanation (1 point):

Part 7: Tune OSPF Hello and Dead Interval Timers on link between R1 and R2 Step 1: Tune OSPF Hello and Dead interval timers to twice the default value on Serial link between R1 and R2 (note default Hello is 10 seconds, default dead-interval is 40 seconds): a. Enable CLI on both R1 and R2 Serial interfaces to adjust Hello and Dead intervals, R1 interface configuration is shown below...


Similar Free PDFs