04-08-2009 06:19 AM - edited 03-04-2019 04:17 AM
Is it possible to define only this range of hosts: 192.168.80.200-254 /24 in standard ACL without entering each host per line?
Thank you.
ip access-list standard PAT
permit 192.168.80.200
permit 192.168.80.201
.
.
permit 192.168.80.254
Any other ways?
04-08-2009 06:34 AM
No. You're limited to specify a wildcard mask, to the extent your range is falling on bit boundaries. e.g 0.0.0.1 for x.x.x.200-201
04-08-2009 06:40 AM
You can accomplish the task with 3 lines:
ip access-list standard PAT
permit 192.168.80.200 7.255.255.255
permit 192.168.80.208 15.255.255.255
permit 192.168.80.224 31.255.255.255
HTH,
___
Edison.
04-08-2009 06:44 AM
Edison
Shouldn't that be -
ip access-list standard PAT
permit 192.168.80.200 .0.0.0.7
permit 192.168.80.208 0.0.0.15
permit 192.168.80.224 0.0.0.31
Jon
04-08-2009 06:48 AM
Jon,
Yes, posting while on the phone isn't something I recommend :)
__
Edison.
04-08-2009 06:57 AM
You're taking it the wrong way Edison (and I do not mean the wildcard mask).
You've just been talking while posting, not viceversa.
With a little practice, you will learn how to screw up both things at the same time. One only, is for beginners.
04-08-2009 07:00 AM
Paolo,
I actually did.
While posting, I was asked a question and I was dumbfounded :(
04-08-2009 07:08 AM
Good job, I'm proud of you. We're not Engineers for nothing.
04-08-2009 06:56 AM
Thank you.
How do you do this so quickly? I understand a logic, but... did you use some tools? IP calc?
04-08-2009 06:57 AM
PLEASE DO NOT POST THE SAME QUESTION ON TWO DIFFERENT THREADS.
04-08-2009 06:58 AM
Please do not post in uppercase neither :)
04-08-2009 06:58 AM
Victor,
Please, that's uncalled for..
04-08-2009 07:01 AM
Whats un-called for. Asking him not to post the same question on 2 threads?
Or using CAPS?
The CAPS is just an attention-getter. Were I yelling at him, I would have used "!" OK!!!!!!??????? :-D
04-08-2009 06:59 AM
OK
04-08-2009 07:02 AM
Tim,
It comes with experience.
I haven't used any IP Calculator for a LONG time.
__
Edison.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide