CCNA Network Services and Security • Set 12
CCNA Network Services and Security Practice Test 12 — 15 questions with explanations. Free, no signup.
You are connected to R1. The network uses OSPF between R1 and R2. Configure an extended ACL on R1 so that hosts in VLAN 10 (192.168.10.0/24) can reach the web server at 203.0.113.100 only via HTTP/HTTPS, and hosts in VLAN 20 (192.168.20.0/24) can reach it via any TCP service except HTTP/HTTPS. All other traffic to the server must be denied. Apply the ACL outbound on the interface facing the server. Currently, the ACL is missing the permit for VLAN 20 traffic, causing connectivity loss.
R1# show running-config | section interface GigabitEthernet0/0 interface GigabitEthernet0/0 ip address 192.0.2.1 255.255.255.252 ip access-group BLOCK_HTTP in duplex auto speed auto ! R1# show running-config | section access-list ip access-list extended BLOCK_HTTP deny tcp any 203.0.113.100 0.0.0.0 eq 80 deny tcp any 203.0.113.100 0.0.0.0 eq 443 permit ip 192.168.10.0 0.0.0.255 203.0.113.100 0.0.0.0 permit tcp 192.168.20.0 0.0.0.255 203.0.113.100 0.0.0.0 eq 22 permit tcp 192.168.20.0 0.0.0.255 203.0.113.100 0.0.0.0 eq 23 permit tcp 192.168.20.0 0.0.0.255 203.0.113.100 0.0.0.0 eq 443 permit tcp 192.168.20.0 0.0.0.255 203.0.113.100 0.0.0.0 eq 80 !
R1# show running-config | section interface GigabitEthernet0/0 interface GigabitEthernet0/0 ip address 192.0.2.1 255.255.255.252 ip access-group BLOCK_HTTP in duplex auto speed auto ! R1# show running-config | section access-list ip access-list extended BLOCK_HTTP deny tcp any 203.0.113.100 0.0.0.0 eq 80 deny tcp any 203.0.113.100 0.0.0.0 eq 443 permit ip 192.168.10.0 0.0.0.255 203.0.113.100 0.0.0.0 permit tcp 192.168.20.0 0.0.0.255 203.0.113.100 0.0.0.0 eq 22 permit tcp 192.168.20.0 0.0.0.255 203.0.113.100 0.0.0.0 eq 23 permit tcp 192.168.20.0 0.0.0.255 203.0.113.100 0.0.0.0 eq 443 permit tcp 192.168.20.0 0.0.0.255 203.0.113.100 0.0.0.0 eq 80 !