12-10-2021 01:19 AM
Hi
I want to create an ACL for a specific subnet, the third subnet of 192.168.1.0/28, the usable addresses 192.168.1.33 - 192.168.1.46 do I need to create a new line on the ACL for each address I can't see a way of creating a range? hopefully, that makes sense.
Also is it best practice to include the network address and broadcast address when creating ACL's if I'm asked to deny traffic from the entire subnet?
Thanks
Solved! Go to Solution.
12-10-2021 03:18 AM - last edited on 12-10-2021 09:13 AM by Translator
Hello,
not really sure what you are after, but:
access-list 1 deny 192.168.1.32 0.0.0.15
This denies hosts192.168.1.33 - 192.168.1.46, as well as the network and the broadcast address.
Unless you want to specifically permit or deny only certain host addresses, it is good practice to permit or deny the entire subnet (including network/broadcast address).
12-10-2021 01:59 AM
- Review this document :
https://www.cisco.com/c/en/us/support/docs/security/ios-firewall/23602-confaccesslists.html
M.
12-10-2021 03:18 AM - last edited on 12-10-2021 09:13 AM by Translator
Hello,
not really sure what you are after, but:
access-list 1 deny 192.168.1.32 0.0.0.15
This denies hosts192.168.1.33 - 192.168.1.46, as well as the network and the broadcast address.
Unless you want to specifically permit or deny only certain host addresses, it is good practice to permit or deny the entire subnet (including network/broadcast address).
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide