04-24-2013 06:06 AM - edited 03-04-2019 07:42 PM
Hello
I am doubting how I should define my dhcp range in the nat access list
My dhcp range is 10.0.0.0 /22 (255.255.252.0)
I know the access-list permint range parameter is 10.0.0.0 0.0.0.255 when the dhcp range would be 10.0.0.0 /24
But how do I enter this range exactly for a /22 subnet?
permit 10.0.0.0 0.0.0.252 ?
or
permit 10.0.0.0 0.0.3.255
or
...?
thank you!
Solved! Go to Solution.
04-24-2013 06:23 AM
Hi,
access-list 1 permit 10.0.0.0 0.0.3.0
EDIT: i had made a typo, it was indeed 0.0.3.255 as wildcard mask( that's what happens when your hands go faster than your brain )
Regards
Alain
Don't forget to rate helpful posts.
04-24-2013 06:48 AM
Hello John,
Please use this:
ip access-list 1 permit 10.0.0.0 0.0.3.255
0.0.3.255 is the wildcard mask for a /22
This sheet helped me when I was studying this: https://nsrc.org/workshops/2009/summer/presentations/day3/subnetting.pdf
Hope this helps
Please rate useful posts and remember to mark any solved questions as answered. Thank you.
04-24-2013 06:23 AM
Hi,
access-list 1 permit 10.0.0.0 0.0.3.0
EDIT: i had made a typo, it was indeed 0.0.3.255 as wildcard mask( that's what happens when your hands go faster than your brain )
Regards
Alain
Don't forget to rate helpful posts.
04-24-2013 07:13 AM
Thanks for the edit, now you have a correct answer click ;-)
04-24-2013 06:48 AM
Hello John,
Please use this:
ip access-list 1 permit 10.0.0.0 0.0.3.255
0.0.3.255 is the wildcard mask for a /22
This sheet helped me when I was studying this: https://nsrc.org/workshops/2009/summer/presentations/day3/subnetting.pdf
Hope this helps
Please rate useful posts and remember to mark any solved questions as answered. Thank you.
04-24-2013 07:12 AM
Thanks Bilal,
I indeed came to the conclusion 0.0.0.3.0 couldn't be right
The pdf is very usefull!!
Regards
John
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