From: Rodgers Moore (rodgers@xxxxxxxxxxxxxx)
Date: Fri Jan 11 2002 - 19:44:15 GMT-3
The first question you should ask is "are these the only four to be
denied?". If you assume yes, like you should in the real lab exam, then
the first deny, denies more than just the four networks and is
incorrect. For instance the network 145.173.106.0 would be denied and
it's not in the list. BTW your deny should read "deny 144.160.52.0
15.13.72.255" you've got a typo in octet 3. This denies 512 "/24"
networks since it's ignoring the state of 9 bits in the first three
octets. That's the quick way to double check if you can consolidate
networks. You can consolidate if 2^(the number of bits different) =
the number of networks. One bit difference => 2 networks, 2 bits
difference => 4 networks, etc. etc.
On the second deny, you're real close. This denies all of the even
hosts. Set the last octet to 129 to get the odd ones.
Here's how the denies should look.
deny 157.173.52.0 0.0.0.255
deny 144.160.58.0 0.0.0.255
deny 151.168.122.0 0.0.0.255
deny 154.164.106.0 0.0.0.255
deny 192.6.4.129 0.0.1.126
enjoy,
Rodgers Moore, CCIE# 8153, CCNP, CCDP, CSS1
Frei Peter wrote:
> Hello group
> from a PROin course
> Filter the following networks with a minimum of config statements:
> 157.173.52.0;144.160.58.0;151.168.122.0;154.164.106.0
>
> and filter all odd hosts from the networks 192.6.4.0/24,192.6.5.0/24
> beginning with host 192.6.4.128 and 192.6.5.128
>
> my solution
> ip access-list standard FILTERTask4
> deny 144.160.42.0 15.13.80.255
> deny 192.6.4.128 0.0.1.126
> permit any
>
> Any comments?
>
> Thanks
>
> Peter
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:56:25 GMT-3