From: Ajay Prakash (ajay.prakash@networkpeople.co.in)
Date: Thu Jul 26 2007 - 03:51:02 ART
Hello,
I have just completed task 4.10 in IE lab 2.
The task requires to filter off all rip routes recieved that have a even
second octet with a single statement in the access list. While doing so the
loopback route from the advertising switch also filtered off.
This happened because in my rack rental I am using rack 2 and thus the
second octet of the loopback route is also even. When i checked the
solution, there is no mention of this as in the solution they have used rack
1.
So to make things work, I added one more statement in the access list so
that this route is permitted. Now in doing so, my access list is now 2
statements against the requirement of 1 statement.
I presume that this problem cannot be tackeled in 1 accesslist statement due
to the fact that I am working on rack 2. Am I correct in saying so??
This is the access list in my configuration now:
Rack2SW1#sh access-l
Standard IP access list EVEN_SECOND_OCTET
5 deny 150.2.8.0, wildcard bits 0.0.0.255 (21 matches)
10 permit 0.0.0.0, wildcard bits 255.254.255.255 (222 matches)
!
router rip
version 2
offset-list EVEN_SECOND_OCTET in 16 Vlan783
network 150.2.0.0
network 204.12.2.0
no auto-summary
!
Rack2SW1#sh ip route rip
31.0.0.0/16 is subnetted, 2 subnets
R 31.3.0.0 [120/1] via 204.12.2.254, 00:00:08, Vlan783
R 31.1.0.0 [120/1] via 204.12.2.254, 00:00:08, Vlan783
150.2.0.0/16 is variably subnetted, 4 subnets, 2 masks
R 150.2.8.0/24 [120/1] via 204.12.2.8, 00:00:08, Vlan783
30.0.0.0/16 is subnetted, 2 subnets
R 30.3.0.0 [120/1] via 204.12.2.254, 00:00:08, Vlan783
R 30.1.0.0 [120/1] via 204.12.2.254 , 00:00:08, Vlan783
If we do not include the first statement in the access list ie. 5 deny
150.2.8.0, wildcard bits 0.0.0.255, then the route to loopback 150.2.8/0
also gets filtered off
Thanks.
Regards,
Ajay Prakash
This archive was generated by hypermail 2.1.4 : Sat Aug 18 2007 - 08:17:42 ART