RE: Access list

From: Victor Cappuccio (cvictor@protokolgroup.com)
Date: Mon Jul 03 2006 - 00:01:42 ART


If these are the only routes,
 51.3.0.1
 51.5.0.1
 51.7.0.1
 
 51.3.0.9
 51.5.0.9
 51.7.0.9

and no more then

My access-list would look like this

ip access-list stand Q
  permit 51.1.0.1 0.6.0.9

but let the router do the calculations
* 255 - 6 == 249
* 255 - 9 == 246

Rack3R2#show ip route 51.1.0.1 255.249.0.246 long

Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP

       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

       E1 - OSPF external type 1, E2 - OSPF external type 2

       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2

       ia - IS-IS inter area, * - candidate default, U - per-user static
route
       o - ODR, P - periodic downloaded static route

 

Gateway of last resort is not set

 

     51.0.0.0/32 is subnetted, 6 subnets

C 51.3.0.1 is directly connected, Loopback100

C 51.7.0.1 is directly connected, Loopback102

C 51.5.0.1 is directly connected, Loopback101

C 51.3.0.9 is directly connected, Loopback103

C 51.7.0.9 is directly connected, Loopback105

C 51.5.0.9 is directly connected, Loopback104

   
hth
Victor.-

-----Mensaje original-----
De: nobody@groupstudy.com [mailto:nobody@groupstudy.com] En nombre de shi
bindong
Enviado el: Domingo, 02 de Julio de 2006 10:44 p.m.
Para: Sami
CC: ccielab@groupstudy.com
Asunto: Re: Access list

i think the solution guide is correct. 51.1.0.1. 0.0.0.8 is simply derived
on the operation rule, but it also including subnet 51.1.0.1.(so it is not
correct). to be more acurate, we should creat 2 ACLs.

On 7/1/06, Sami <sy1977@gmail.com> wrote:
>
> Group,
>
> One of the task say use minimum amount of line necessary to comple this
> task.
>
> 51.3.0.1
> 51.5.0.1
> 51.7.0.1
> 51.3.0.9
> 51.5.0.9
> 51.7.0.9
>
> How can I combine in one access list ?
>
> Thanks
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>

-- 
your friends

bindong



This archive was generated by hypermail 2.1.4 : Tue Aug 01 2006 - 07:13:46 ART