Re: Access-List

From: Ivan (ivan@iip.net)
Date: Sun Dec 10 2006 - 12:42:15 ART


(0 xor 0) xor 1 xor 1 = (0 xor 1) xor 1 = 1 xor 1 = 0
(0 xor 1) xor 0 xor 1 = (1 xor 0) xor 1 = 1 xor 1 = 0

But in your example both result is 1.

On Sunday 10 December 2006 17:58, Hugo Viana wrote:
> Mohamed, using only the ODD networks:
>
> Take the logical AND of these addresses, to find address:
>
> 0 1 0 1 0 0 0 1
> 0 1 0 1 0 0 1 1
> 0 1 0 1 0 1 0 1
> 0 1 0 1 0 1 1 1
> ---------------------
> 0 1 0 1 0 0 0 1 -> 81 in decimal notation
>
> And and logical XOR, to find de *the wildcard*:
>
> 0 1 0 1 0 0 0 1
> 0 1 0 1 0 0 1 1
> 0 1 0 1 0 1 0 1
> 0 1 0 1 0 1 1 1
> ---------------------
> 0 0 0 0 0 1 1 0 -> 6 in decimal notation
>
> Final result: 208.10.81.0 0.0.6.255, match only the ODD networks.
>
> On 12/10/06, Tandou Mohamed <dtandou@yahoo.com> wrote:
> > Hi keiko,
> > yes they are talking about the the 3rd octet. see i put them in binary
> > how do i go from here?
> >
> > 0 1 0 1 0 0 0 0
> > 0 1 0 1 0 0 0 1
> > 0 1 0 1 0 0 1 0
> > 0 1 0 1 0 0 1 1
> > 0 1 0 1 0 1 0 0
> > 0 1 0 1 0 1 0 1
> > 0 1 0 1 0 1 1 0
> > 0 1 0 1 0 1 1 1
> >
> > thanks, for your input.
> >
> > Mohamed
> >
> >
> > Heiko Liedtke <heiko.liedtke@gmx.net> wrote:
> > Hi,
> >
> > ODD in which octett? I guess there are talking about the 3rd octett...
> > If you write down some odd and some even networks in binary notation,
> > you can see, that there is always the least significant bit (the 2EXP0)
> > which
> > makes the differens between ODD and EVEN.
> > Knowing this you can easily write an ACL to filter on this bit.
> >
> >
> > Heiko
> >
> > Tandou Mohamed schrieb:
> > >Hello GS
> > > can someone explain to me the best way to filter access-list.
> > > The question asked to permit only ODD route without using distribute
> >
> > list
> >
> > > When i do show ip route this is what i get
> > >
> > > 208.10.80.0/24
> > > 208.10.81.0/24
> > > 208.10.82.0/24
> > > 208.10.83.0/24
> > > 208.10.84.0/24
> > > 208.10.85.0/24
> > > 208.10.86.0/24
> > > 208.10.87.0/24
> > > How do i filter odd route from here?
> > >
> > > Thanks
> > >
> > > Mohamed
> > >
> > >
> > >---------------------------------
> > >Any questions? Get answers on any topic at Yahoo! Answers. Try it now.
> > >
> > >---------------------------------
> > >Everyone is raving about the all-new Yahoo! Mail beta.
> > >
> > >_______________________________________________________________________
> > >Subscription information may be found at:
> > >http://www.groupstudy.com/list/CCIELab.html
> >
> > ---------------------------------
> > Check out the all-new Yahoo! Mail beta - Fire up a more powerful email
> > and get things done faster.
> >
> > ---------------------------------
> > Everyone is raving about the all-new Yahoo! Mail beta.
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html

-- 
Ivan


This archive was generated by hypermail 2.1.4 : Tue Jan 02 2007 - 07:50:37 ART