Scenario

R1 joins three networks: Staff on Gi0/0, Guests on Gi0/1 and the Server LAN on Gi0/2, where the file server lives at 10.1.99.10. Only Staff may reach the Server LAN, with one exception: the contractor laptop at 10.1.10.99 sits on the Staff LAN but must be kept out. A standard ACL only looks at the source address, so it belongs next to the destination.

Topology

R1

Requirements

  1. 1ACL 10 denies the contractor laptop 10.1.10.99
  2. 2ACL 10 permits the rest of the Staff LAN, 10.1.10.0/24
  3. 3The Guest LAN 10.1.20.0/24 is not allowed through
  4. 4ACL 10 is applied outbound on Gi0/2, the Server LAN interface
  5. 5ACL 10 is applied only there, not on Gi0/0 or Gi0/1

R1 routes between Staff, Guests and the Server LAN, and everything can talk to everything. Type ? for the commands you can use. Start with: enable

R1> show running-config

CCNA lab · about 10 min

Standard ACL: protect the server LAN

Write a standard access list that lets the Staff LAN reach the file server, blocks one contractor PC and every other network, and apply it in the right place.

This lab is included in the CCNA plans and in the free trial.

Start the free trial Try the free VLAN lab Today's free lab

All labs

About this lab

R1 joins three networks: Staff on Gi0/0, Guests on Gi0/1 and the Server LAN on Gi0/2, where the file server lives at 10.1.99.10. Only Staff may reach the Server LAN, with one exception: the contractor laptop at 10.1.10.99 sits on the Staff LAN but must be kept out. A standard ACL only looks at the source address, so it belongs next to the destination.

About 10 minutes. Included in the CCNA plans and the free trial.

Questions about this lab

Is this a real Cisco router?

No. It is a small simulator written by CertAce. It understands a handful of commands and keeps the state of one router, so you can practise the ideas without lab gear. Real devices print more, and the exam may ask for things this lab does not cover. CertAce is not affiliated with Cisco.

Why a standard ACL here and not an extended one?

The requirement is only about who the source is. Standard ACLs (1-99, 1300-1999) match source addresses, so they are enough, and they go near the destination. When you also need to match ports or the destination, you use an extended ACL close to the source.

What is the difference between a wildcard mask and a subnet mask?

They are inverses. A subnet mask of 255.255.255.0 becomes the wildcard 0.0.0.255. In a wildcard a 0 bit must match and a 1 bit is ignored. The word host is shorthand for 0.0.0.0, one exact address.

Does the order of lines in an ACL really matter?

Yes. Lines are checked from the top and the first match decides. Put the specific exceptions first and the general rules after them.

CertAce is not affiliated with or endorsed by Cisco Systems. CCNA and Cisco are trademarks of Cisco Systems, Inc. The simulator and every command output here were written by CertAce.