Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For the topology above, write the commands to do the followings: 1. Activate OSPF on Router B and advertise the needed networks 2. Write an

For the topology above, write the commands to do the followings:

1. Activate OSPF on Router B and advertise the needed networks

2. Write an access list (of your choice) to block PC with IP 192.168.20.2/24 from accessing networks 192.168.32.1/24 and 192.168.31.1/24, the code should show the location of the access list.

Sol82:

Assuming that the topology mentioned in the question is not provided, I cannot write the exact commands. However, here are the general commands that can be used to achieve the given tasks:

  1. To activate OSPF on Router B and advertise the needed networks, the following commands can be used:

RouterB(config)# router ospf 1

RouterB(config-router)# network area

Here, refers to the network address that needs to be advertised, and refers to the wildcard mask associated with the network address. The area command specifies the OSPF area in which the network needs to be advertised.

  1. To write an access list to block PC with IP 192.168.20.2/24 from accessing networks 192.168.32.1/24 and 192.168.31.1/24, the following commands can be used:

Router(config)# access-list deny ip host 192.168.20.2 192.168.32.0 0.0.0.255

Router(config)# access-list deny ip host 192.168.20.2 192.168.31.0 0.0.0.255

Router(config)# access-list permit ip any

Router(config)# interface

Router(config-if)# ip access-group in

Here, refers to the number assigned to the access list. The first two commands specify the networks that need to be blocked for the PC with IP address 192.168.20.2/24. The third command allows all other traffic. The interface command specifies the interface to which the access list needs to be applied, and the ip access-group in command applies the access list to inbound traffic on that interface.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Design Operation And Evaluation Of Mobile Communications

Authors: Gavriel Salvendy ,June Wei

1st Edition

3030770249, 978-3030770242

More Books

Students also viewed these Programming questions

Question

What is master production scheduling and how is it done?

Answered: 1 week ago

Question

40. Consider a M/G/1 system with E[S] Answered: 1 week ago

Answered: 1 week ago