Вы находитесь на странице: 1из 3

A network associate is adding security to the configuration of the Corp1 router.

The user on
host C should be able to use a web browser to access financial information from the Finance
Web Server. No other hosts from the LAN nor the Core should be able to use a web browser to
access this server. Since there are multiple resources for the corporation at this location
including other resources on the Finance Web Server, all other traffic should be allowed.
The task is to create and apply an access-list with no more than three statements that will
allow ONLY host C web access to the Finance Web Server. No other hosts will have web access
to the Finance Web Server. All other traffic is permitted.
Access to the router CLI can be gained by clicking on the appropriate host.
All passwords have been temporarily set to "cisco".
The Core connection uses an IP address of 198.18.196.65
The computers in the Hosts LAN have been assigned addresses of 192.168.10.1 192.168.10.254
Host A 192.168.10.1
Host B 192.168.10.2
Host C 192.168.10.3
Host D 192.168.10.4
The servers in the Server LAN have been assigned addresses of 172.26.222.17
-172.26.222.30
The Finance Web Server is assigned an IP address of 172.26.222.23.

Answer and Explanation


Looking at the above question, you need to create and apply access control list to the interface
connected to the server to filter traffic from Sw2 and Core (internet) network. IP addresses

172.26.222.17 172.26.222.30 are assigned to the LAN network. Looking at the figure
above; you can see .30 labelled to one of the connected interface.
To verify which interface, use the show running-config command:
Corp1>enable(type "cisco" as password here)
Corp1#show running-config

From the ouput, you can verify that interface FastEthernet0/1 is connected to Server LAN
network, so you apply the access-list on this interface ( outbound ).
To accomplish this, Use the following commands:
Corp1#configure terminal
Corp1(config)#access-list 100 permit tcp host 192.168.10.3 host 172.26.222.23 eq
80

(This enables host C - 192.168.10.3 to access the Finance Web Server172.26.222.23


via web (port 80)
Corp1(config)#access-list 100 deny tcp any host 172.26.222.23 eq 80
Corp1(config)#access-list 100 permit ip any any

(This denies other hosts access to the Finance Web Server via the web . All other traffic is
permitted)
Corp1(config)#interface fa0/1
Corp1(config-if)#ip access-group 100 out
(Apply this access-list to Fa0/1 interface. this filters traffic coming from the Core network).

Next step:
Click on host C to open its web browser. In the address box type http://172.26.222.23 to
verify your access to Finance Web Server. If no access, check your configuration.
Click on other hosts A, B and D and verify if you are denied access to Finance Web Server .
Finally, save your configuration with the following command:
Corp1(config-if)#end
Corp1#copyrunning-config startup-config (dont forget this bit)

Вам также может понравиться