Access Control Lists CCNA 2 v3 – Module 11

Slides:



Advertisements
Similar presentations
Access Control List (ACL)
Advertisements

© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 9: Access Control Lists Routing & Switching.
Chapter 9: Access Control Lists
Basic IP Traffic Management with Access Lists
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—4-1 Managing IP Traffic with ACLs Configuring IP ACLs.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—4-1 Managing IP Traffic with ACLs Introducing ACLs.
© 2007 Cisco Systems, Inc. All rights reserved.ICND2 v1.0—6-1 Access Control Lists Introducing ACL Operation.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Access Control Lists Accessing the WAN – Chapter 5.
NESCOT CATC1 Access Control Lists CCNA 2 v3 – Module 11.
WXES2106 Network Technology Semester /2005 Chapter 10 Access Control Lists CCNA2: Module 11.
CCNA 2 v3.1 Module 11.
Access Lists 1 Network traffic flow and security influence the design and management of computer networks Access lists are permit or deny statements that.
Access Lists Lists of conditions that control access.
Year 2 - Chapter 6/Cisco 3 - Module 6 ACLs. Objectives  Define and describe the purpose and operation of ACLs  Explain the processes involved in testing.
Implementing Standard and Extended Access Control List (ACL) in Cisco Routers.
CCNA2 Routing Perrine modified by Brierley Page 18/6/2015 Module 11 Access Control Non e0e1 s server.
1 Semester 2 Module 11 Access Control Lists (ACLs) Yuda college of business James Chen
Ch. 11 – Access Control Lists
CISCO NETWORKING ACADEMY Chabot College ELEC Access Control Lists - Introduction.
© 2002, Cisco Systems, Inc. All rights reserved..
1 Lecture #5 Access Control Lists (ACLs) Asst.Prof. Dr.Anan Phonphoem Department of Computer Engineering, Faculty of Engineering, Kasetsart University,
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 9: Access Control Lists Routing & Switching.
Access Control List ACL. Access Control List ACL.
Access Control Lists (ACLs)
Access Control List (ACL) W.lilakiatsakun. ACL Fundamental ► Introduction to ACLs ► How ACLs work ► Creating ACLs ► The function of a wildcard mask.
Ch. 11 – Access Control Lists CCNA 2 version 3.0.
1 © 2004 Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 11 Access Control Lists (ACLs)
1 © 2004 Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 11 Access Control Lists (ACLs)
Access Control List (ACL)
CCNA – Cisco Certified Network Associates Access Control List (ACL) By Roshan Chaudhary Lecturer Islington College.
Access-Lists Securing Your Router and Protecting Your Network.
ACLs ACLs are hard. Read, read, read. Practice, practice, practice ON TEST4.
Page 1 Access Lists Lecture 7 Hassan Shuja 04/25/2006.
Access Control List ACL’s 5/26/ What Is an ACL? An ACL is a sequential collection of permit or deny statements that apply to addresses or upper-layer.
1 What Are Access Lists? –Standard –Checks Source address –Generally permits or denies entire protocol suite –Extended –Checks Source and Destination address.
Semester 3 Chapter 6 ACLs. Overview Router can provide basic traffic filtering capability Access Control Lists can prevent packets from passing through.
Ch. 5 – Access Control Lists. Part 1: ACL Fundamentals.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Filtering Traffic Using Access Control Lists Introducing Routing and Switching.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Access Control Lists Accessing the WAN – Chapter 5.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Filtering Traffic Using Access Control Lists Introducing Routing and Switching.
Page 1 Chapter 11 CCNA2 Chapter 11 Access Control Lists : Creating ACLs, using Wildcard Mask Bits, Standard and Extended ACLs.
Sem 3 Access Control Lists. Summary of Access Lists Access lists perform serveral functions within a Cisco router, including: ** Implement security /
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 9: Access Control Lists Routing & Switching.
Access Control Lists (ACL). Access-List Overview 4 A Filter through which all traffic must pass 4 Used to Permit or Deny Access to Network 4 Provides.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Filtering Traffic Using Access Control Lists Introducing Routing and Switching.
Access Control Lists Mark Clements. 17 March 2009ITCN 2 This Week – Access Control Lists What are ACLs? What are they for? How do they work? Standard.
Wild Stuff ExtendedACLGeneralACLStandardACL Got the Right Number?
CCNA4 Perrine / Brierley Page 12/20/2016 Chapter 05 Access Control Non e0e1 s server.
Access Control List (ACL) W.lilakiatsakun. Transport Layer Review (1) TCP (Transmission Control Protocol) – HTTP (Web) – SMTP (Mail) UDP (User Datagram.
1 Pertemuan 24 Access Control List Fundamentals. Discussion Topics Introduction ACLs How ACLs work Creating ACLs The function of a wildcard mask Verifying.
Ch. 5 – Access Control Lists. Part 1: ACL Fundamentals.
1 Access Control Lists (ACLs). 222 Overview 1.Network administrators must be able to a.deny unwanted access to a network and b.allow authorized users.
CCNA4-1 Chapter 5 Access Control Lists (ACLs). CCNA4-2 Chapter 5 Securing Networks-How? Packet Filtering: Packet Filtering: Controls access to a network.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Access Control Lists Accessing the WAN – Chapter 5.
Lab 12 – Cisco Firewall.
Instructor & Todd Lammle
NetWork Training Center
Instructor Materials Chapter 7: Access Control Lists
Instructor Materials Chapter 4: Access Control Lists
Managing IP Traffic with ACLs
Managing IP Traffic with ACLs
© 2002, Cisco Systems, Inc. All rights reserved.
Introducing ACL Operation
Chapter 4: Access Control Lists (ACLs)
Access Control Lists Last Update
Chapter 7: Access Control Lists
Chap 5 – Access Control Lists Learning Objectives
Chapter 4: Access Control Lists
Access Control Lists (ACLs)
Chabot College ELEC Access Control Lists - Introduction.
Presentation transcript:

Access Control Lists CCNA 2 v3 – Module 11 NESCOT CATC CCNA2v3 Module 11 DC

What are ACLs? ACLs provide basic traffic filtering capabilities. ACLs enable management of traffic and secure access to and from a network. ACLs can be created for various network protocols; IP, IPX, or AppleTalk. The router examines each packet and either forwards or drops it. This router has one _________ interface and one ________ interface. Each interface can have one ACL __________ and one ACL __________ This router is configured for three routed protocols: Example: Ethernet E0 Serial S0 outbound inbound IP, AppleTalk, IPX. Maximum no. of ACLs that can be configured: (No. of interfaces) x 2 x (no. of routed protocols) = 12 Forwarding decision can be based on a packets: Source address Destination address Protocol Port number NESCOT CATC

Why use ACLS? Limit network traffic to increase network _____________. Provide traffic flow control by restricting the delivery of ________________. __________ - allow one host access but prevent another. Control which types of traffic are __________ or ________ by the router. Ability to control which _______ a client can access. Restrict user access to only certain _____________, (eg. Web pages). If ACLs are not configured, __________ passing through the router will be allowed onto _________ of the network. performance routing updates Security forwarded blocked areas types of files all packets all parts NESCOT CATC

How ACLs Work ACL statements operate in sequential, logical order, from top to bottom. If a condition is matched, the packet is permitted or denied and the rest of the ACL isn’t checked. An implicit "deny any" statement is at end of list by default. This last line "deny any" is not visible but it will not allow any unmatched packets to be permitted. ACL on interface? No Route packet to outbound interface Yes Any matches? Yes Frame arrives at inbound interface L2 address match? Yes ACL on interface? No Default Deny Yes Any matches? No Permit? Yes No Default Deny No Permit? Yes Yes Forward packet No

Creating ACLs There are many different types of ACLs. Each ACL is uniquely identified by assigning a number (or a name) to it. This number identifies the type of access list created and must fall within the specific range of numbers:    Rio(config)# access-list ? <1-99> IP standard access list <100-199> IP extended access list <200-299> Protocol type-code access list <300-399> DECnet access list <600-699> Appletalk access list <700-799> 48-bit MAC address access list <800-899> IPX standard access list <900-999> IPX extended access list <1000-1099> IPX SAP access list <1100-1199> Extended 48-bit MAC address access list <1200-1299> IPX summary address access list <1300-1999> IP standard access list (expanded range) <2000-2699> IP extended access list (expanded range) NESCOT CATC

Applying ACLs Creating the access list is the first half of using them on a router. The second half of the process is assigning them to an interface. Rio(config)# interface fastethernet 0/0 Rio(config-if)# ip access-group ? <1-199> IP access list (standard or extended) <1300-2699> IP expanded access list (standard or extended) WORD Access-list name Rio(config-if)# ip access-group 10 ? in inbound packets out outbound packets From inside the router A numbered ACL cannot be edited on the router. To edit an ACL: Copy it to a text file. Remove from router configuration with ‘no’ form of ACL statement. Make necessary changes to text file. Paste back to global configuration mode. NESCOT CATC

Wildcard Masks Wildcard masks are 32 bits long and paired with an IP address. Wildcard masks are used with ACLs to filter groups of IP addresses. Example 1: Rio(config)# access-list 10 permit 172.16.0.0 0.0.255.255 By applying the WM to the IP address, the router will ignore the values of the last two octets. This statement will permit traffic with source IP: _______________________ 172.16.[anything].[anything] Example 2: Rio(config)# access-list 10 permit 172.16.16.0 0.0.15.255 This WM discounts the value of the last octet, and 4 bits from the 3rd octet (moving right to left). If M = Match D = Don’t Care, WM = MMMMMMMM•MMMMMMMM•MMMMDDDD•DDDDDDDD This statement will permit traffic from range ___________ to _____________ 172.16.16.0 172.16.31.255 Two keywords used in ACLs: any host - means an IP address of _______ and WM ______________ 0.0.0.0 255.255.255.255 - matches an address exactly, or WM __________ 0.0.0.0 NESCOT CATC

More general statement denying other traffic from 10.0.0.0/24 network Standard ACLs Standard IP ACLs check only the ______________ of packets to be routed. source address Rio(config)# access-list 50 deny 172.16.1.1 Rio(config)# access-list 50 permit 172.16.0.0 0.0.255.255 No WM specified, mask = 0.0.0.0 Number between 1 and 99, or 1300 to1999 (recent IOS) Deny or Permit Wildcard Mask Extended ACLs Extended ACLs check the ________ and ___________ packet addresses as well as being able to check for __________ and _____________. source destination protocols port numbers Protocol Source Destination Port 1. access-list 101 permit ip host 10.0.0.1 any access-list 101 deny ip 10.0.0.0 0.0.0.255 any access-list 101 deny tcp host 172.16.6.1 192.168.1.0 0.0.0.255 eq 23 access-list 101 permit tcp 172.16.6.0 0.0.0.255 any eq telnet 2. 3. 4. Specifically permit all IP traffic from this host (only) to any other network or host More general statement denying other traffic from 10.0.0.0/24 network Specifically denies host 172.16.6.1 (only) telnet access to 192.168.1.0/24 network More general statement permitting telnet from all other hosts on 172.16.6.0/24 network

Named ACLs IP named ACLs were introduced in Cisco IOS Software Release 11.2. Advantages are: Intuitively identify ACLs using names (not just numbers). Extend possibilities beyond 798 simple and 799 extended ACLs Modification of a NACL without deleting and reconfiguring it. NACLs allow individual statements to be deleted without losing whole list. It is still only possible to add statements to the end of a list. Standard or Extended Administrator assigned name Rio(config)# ip access-list extended Server-Access Rio(config-ext-nacl)# permit tcp any host 10.0.0.2 eq smtp Rio(config-ext-nacl)# permit udp any host 10.0.0.2 eq 53 Rio(config-ext-nacl)# [Control + Z] Rio(config)# interface f 0/0 Rio(config-if)# ip access-group Server-Access out NESCOT CATC

Placing ACLs Verifying ACLs Command Description ACLs placed in proper location filter traffic and increase network efficiency. The general rule is to put extended ACLs close to the source of denied traffic. Standard ACLs do not specify destination addresses, so they should be placed as close to the destination as possible. Administrators can only place ACLs on devices under their control. Verifying ACLs These show commands verify the content and placement of ACLs: Command Description Interface information includes number of inbound or outbound ACL. Lists contents of all ACLs on the router Interface placement and ACL contents in current configuration show ip interface show access-list show running-config NESCOT CATC

ACL Rules One access list per ________, per _________, per _________. Standard access lists should be applied closest to the ___________. Extended access lists should be applied closest to the ________. Use the inbound or outbound interface reference as if looking at the port from ________________. The ______________ at the end of all access lists will not appear in the configuration listing. Access list entries should filter in the order from specific to ________. The permit or deny is examined ONLY if the _____________. New lines are always added to the _____ of the access list. ___________________________ will remove the whole list. It is not possible to selectively add and remove lines with _________ ACLs. An IP ACL will send ____________________ to sender of rejected packet. In some situations, removing an access list may result in a default ____________ being applied to the interface. Outbound filters do not affect traffic originating at _____________. protocol interface direction destination source inside the router implicit deny general match is true end no access-list [number] numbered ICMP host unreachable ‘deny any’ the local router NESCOT CATC

Firewalls A network firewall can be one or several machines working together to prevent unwanted access. External Internal Web Server DMZ FTP Server Firewalls control access to services both into and from the internal network. ACLs are used in firewalls between the internal and external network. A De-Militarised Zone contains network services available to Internet traffic. The firewall router provides isolation for the internal network and the DMZ. Border routers (at the edge of a network) use ACLs to provide security benefits. NESCOT CATC

Restricting VTY Access A router has both physical ports (Fa0/0, S0/0) and ________ ports. These virtual ports are called __________. There are five such vty lines, numbered __ to __ (0 to 15 on later IOS). VTY access can be restricted on routers by using ____________. Access to vty is accomplished using _________. Identical restrictions should be placed on all vty lines as it is not possible to control _____________________________. The process of creating a vty access list is the same as for ____________. Applying the ACL to a terminal line (vty, aux or con) requires the command ____________ instead of _______________.     Only ___________ ACLs can be applied to vty lines. virtual vty lines 4 access lists Telnet which line a user will connect on an interface access-class access-group numbered Rio(config)# line vty 0 4 Rio(config-line)# login Rio(config-line)# password Cisco Rio(config-line)# access-class 2 in Rio(config-line)# end Rio# NESCOT CATC