Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IP Address Groups in ACLs

Status
Not open for further replies.

swimclan

Technical User
Mar 2, 2001
9
0
0
US
Is it possible to specify a group of IP's in an ACCESS-LIST declare? For example could I say:

Router(Config)# ACCESS-LIST 10 DENY a.b.c.d-e

or something along those lines where I would actually be denying d through e in the fourth octet.

Any help would be most appreciative!

Matt
 
use wildcard like
suppose you have range from 192.168.32.16-31 then
192.168.32.16 0.0.0.31

Method:
set mask to "0" upto where you want match and "1" for the range.
in my case
16=10000
31=11111
so 16-31 mask will be 00011111=31
first 3 octats will be 0.0.0 as thay require exact match.

Correct me if any thing wrong.


-bhandari
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top