![]() |
Access list
Please help me i am trying to build an accesslist to permit only
traffic from .180 to .240 hosts My network address is 192.168.1.0 255.255.255.0 I have come up with only host from 192 and above access-list 1 permit 192.168.1.192 0.0.0.63 Any suggestion on how i would include the 180 and exclude the 240 and above thanks |
Re: Access list
access-list 101 permit tcp any host 192.168.1.180 0.0.0.15
This should allow 177 - 190 then you can deny 177 - 179 if you must Bryan Martin "david" <athaided@hotmail.com> wrote in message news:cade243d.0401211843.68721d92@posting.google.c om... > Please help me i am trying to build an accesslist to permit only > traffic from .180 to .240 hosts > My network address is 192.168.1.0 255.255.255.0 > > I have come up with only host from 192 and above > access-list 1 permit 192.168.1.192 0.0.0.63 > > Any suggestion on how i would include the 180 and exclude the 240 and > above > > thanks |
Re: Access list
In article <cade243d.0401211843.68721d92@posting.google.com >,
david <athaided@hotmail.com> wrote: :Please help me i am trying to build an accesslist to permit only :traffic from .180 to .240 hosts :I have come up with only host from 192 and above :access-list 1 permit 192.168.1.192 0.0.0.63 :Any suggestion on how i would include the 180 and exclude the 240 and :above access-list 1 permit 192.168.1.180 0.0.0.3 access-list 1 permit 192.168.1.184 0.0.0.7 access-list 1 permit 192.168.1.192 0.0.0.31 access-list 1 permit 192.168.1.224 0.0.0.15 -- This signature intentionally left... Oh, darn! |
Re: Access list
In article <zYGPb.260$F86.40093@twister.southeast.rr.com>,
Bryan Martin <uce@ftc.gov> wrote: :access-list 101 permit tcp any host 192.168.1.180 0.0.0.15 :This should allow 177 - 190 then you can deny 177 - 179 if you must Surely that wouldn't be allowed -- it would complain that 180 didn't match the .15 bitmask. -- Most Windows users will run any old attachment you send them, so if you want to implicate someone you can just send them a Trojan -- Adam Langley |
Re: Access list
> In article <zYGPb.260$F86.40093@twister.southeast.rr.com>,
> Bryan Martin <uce@ftc.gov> wrote: > :access-list 101 permit tcp any host 192.168.1.180 0.0.0.15 > :This should allow 177 - 190 then you can deny 177 - 179 if you must would allow 176-191... In article <buneqb$4h3$1@canopus.cc.umanitoba.ca>, roberson@ibd.nrc- cnrc.gc.ca says... > Surely that wouldn't be allowed -- it would complain that 180 didn't > match the .15 bitmask. I don't see why not. It's just a bit mask pattern - no subnet restrictions or anything like that. -- hsb "Somehow I imagined this experience would be more rewarding" Calvin *************** USE ROT13 TO SEE MY EMAIL ADDRESS **************** ************************************************** ****************** Due to the volume of email that I receive, I may not not be able to reply to emails sent to my account. Please post a followup instead. ************************************************** ****************** |
Re: Access list
In article <MPG.1a7a71b07cb2180a989bb1@news-server.nyc.rr.com>,
Hansang Bae <uonr@alp.ee.pbz> wrote: > > In article <zYGPb.260$F86.40093@twister.southeast.rr.com>, > > Bryan Martin <uce@ftc.gov> wrote: > > :access-list 101 permit tcp any host 192.168.1.180 0.0.0.15 > > :This should allow 177 - 190 then you can deny 177 - 179 if you must > > would allow 176-191... > > > In article <buneqb$4h3$1@canopus.cc.umanitoba.ca>, roberson@ibd.nrc- > cnrc.gc.ca says... > > Surely that wouldn't be allowed -- it would complain that 180 didn't > > match the .15 bitmask. > > > I don't see why not. It's just a bit mask pattern - no subnet > restrictions or anything like that. Although it would be nice if the ACL parser warned when you're masking off non-zero bits. It's almost never intentional. And in the case where you mistakenly enter a subnet mask in place of a wildcard mask, it has the exact opposite results than were intended. E.g. if you do: access-list 1 deny 10.0.0.0 255.0.0.0 it's equivalent to: access-list 1 deny 0.0.0.0 255.0.0.0 which only blocks addresses 0.x.x.x. -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me *** |
access-list 1 permit 192.168.1.184 0.0.0.7
would only permit .180 - .187 what about 188-191? Quote:
|
| All times are GMT. The time now is 06:29 PM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.