Lab 68 - RIPv2 Filtering with Standard ACL - Learn Cisco

Post Top Ad

Lab 68 - RIPv2 Filtering with Standard ACL

Prerequisites: CCNP level skills.

Topology
Pic. 1 - Topology Diagram.
Icons designed by: Andrzej Szoblik - http://www.newo.pl

Task1
Using a standard ACL filter out all odd subnets in the range 172.16.x.x/24 on R5.

Task 2
Remove filtering created in Task 1.
Using a standard ACL filter out all even subnets in the range 172.16.x.x/24 on R5.

Task 3
Remove filtering created in Task 2.
Using a standard ACL filter out 172.16.144.0/24 on R5.

Pic. 2 - Initial Routing Table on R5.

Lab Solution

Task1
Using a standard ACL filter out all odd subnets in the range 172.16.x.x/24 on R5.

R5 Configuration:
!
ip access-list standard ALLOW_EVEN
 permit 172.16.0.0 0.0.254.255
 permit 10.0.0.0 0.255.255.255
!
router rip
 version 2
 network 10.0.0.0
 distribute-list ALLOW_EVEN in FastEthernet1/0
 no auto-summary
!


Verification:
Pic. 3 - R5's Routing Table.
Task 2
Remove filtering created in Task 1. 
Using a standard ACL filter out all even subnets in the range 172.16.x.x/24 on R5.

R5 Configuration:
!
ip access-list standard ALLOW_ODD
 permit 172.16.1.0 0.0.254.255
 permit 10.0.0.0 0.255.255.255
!
router rip
 version 2
 network 10.0.0.0
 distribute-list ALLOW_ODD in FastEthernet1/0
 no auto-summary
!

Verification:
Pic. 4 - R5's Routing Table.
Task 3
Remove filtering created in Task 2.
Using a standard ACL filter out 172.16.144.0/24 on R5.

R5 Configuration:
!
ip access-list standard RIP_FILTER
 deny   172.16.144.0 0.0.0.255
 permit any
!
router rip
 version 2
 network 10.0.0.0
 distribute-list RIP_FILTER in FastEthernet1/0
 no auto-summary
!

Verification:
Pic. 5 - R5's Routing Table.
Notice!
172.16.144.0/24 is not installed. All other routes are.

Post Top Ad