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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Admitting IP address ranges

Status
Not open for further replies.

stevebone

IS-IT--Management
Sep 1, 2003
9
GB
I was wondering if anyone knew if I could allow ranges of IP address through a PIX firewall without having to input an individual command for each one?
 
Yes you can, by using the netmask. So long as the IP addresses are contiguous and fall on subnet bit boundaries then the task is quite easy.
 
Thanks, that would be good if I wanted the entire address ramge coming in, but what if I wanted only 15 or 20 address that are contiguous coming in? For example,
I wanted 195.106.136.200 -> 224 coming in and not the entire 195.106.136.0 address range.

 
Unfortunately you would need to enter them one by one.
 
In that example I'd use 2 lines:

access-list test permit ip any 195.106.1.200 255.255.255.248
access-list test permit ip any 195.106.1.208 255.255.255.240

The first line covers (last octet) .200 to .207, the second .208 to .224.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top