Re: access-list

From: Nate Van Maren (nate@xxxxxxxxx)
Date: Thu Jul 11 2002 - 22:29:05 GMT-3


   
192.168.1.0 0.0.0.0.254
192.168.1.YYYYYYYX (X = match ; Y= do'nt care);
thus the very last bit has to be a 0, which is all odd numbers.

-Nate, #7911

> ----- Original Message -----
> From: <Hemant_Kumar@BERLEX.COM>
> To: <ccielab@groupstudy.com>
> Cc: "Fabrice Bobes" <study@6colabs.com>; <nobody@groupstudy.com>
> Sent: Thursday, July 11, 2002 5:36 PM
> Subject: RE: access-list
>
>
> > Thanks for all the replies. All of them pointing to same direction but i
> > can't figure it out why?
> >
> > Can someone explain the logic behind it?
> >
> > My understanding is the 0 means match and 1s means do'nt care...so
> >
> > 192.168.1.0 0.0.0.254.255
> >
> > 192.168.00000001.Y
> > 192.168.XXXXXXY.YYYYYYYY (X = match ; Y= do'nt care);
> >
> > So how will this only block the odd numbers...
> >
> > Can someone explain..
> >
> > Thanks
> > Hemant
> >
> >
> >
> > "Fabrice
> > Bobes"
> > <study@6colab To: <Hemant_Kumar@BERLEX.COM>
> > s.com> cc: <ccielab@groupstudy.com>
> > Sent by: Subject:
> > nobody@groups RE: access-list
> > tudy.com
> >
> >
> > 07/11/2002
> > 09:51 PM
> > Please
> > respond to
> > "Fabrice
> > Bobes"
> >
> >
> >
> >
> >
> >
> > Try this:
> >
> > access-list 1 permit 192.168.1.0 0.0.0.254
> > Or
> > access-list 1 deny 192.168.1.1 0.0.0.254
> > Access-list 1 permit any
> >
> > Fabrice
> >
> > -----Original Message-----
> > From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
> > Hemant_Kumar@BERLEX.COM
> > Sent: Thursday, July 11, 2002 12:13 PM
> > To: ccielab@groupstudy.com
> > Subject: access-list
> >
> >
> > Hi all,
> >
> > This might a small problem but i am not able to figure it out.
> >
> > I have classs C address eg 192.168.1.0
> >
> > I would like to block all the workstation with odd numbers as their ip
> > address? What is simplest way to achive this using access list.
> >
> > thanks



This archive was generated by hypermail 2.1.4 : Sat Sep 07 2002 - 19:36:27 GMT-3