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!

allow range of ip addresses access to the internet

Status
Not open for further replies.

paccorobin

Technical User
Aug 14, 2007
10
NL
Hi,

I have a range of ip addresses (192.168.10.50-99) and I want to have those addresses to have access to the internet. There are also other hosts, but these are not part of this range.

Should I record every ip address and grant it access or can I simplify this? Maybe an example?

All of these addresses use the public ip address of the pix515.

Thanks for your help.

Frank
 
Code:
access-list NAT10 extended permit IP host 192.168.10.50 any
access-list NAT10 extended permit IP host 192.168.10.51 any
access-list NAT10 extended permit IP 192.168.10.52 255.255.255.252 any
access-list NAT10 extended permit IP 192.168.10.56 255.255.255.248 any
access-list NAT10 extended permit IP 192.168.10.64 255.255.255.224 any
access-list NAT10 extended permit IP 192.168.10.96 255.255.255.252 any
access-list NAT10 extended permit IP host 192.168.10.100 any
global (outside) 10 interface
global (inside) 10 NAT10

It is what it is!!
__________________________________
A+, Net+, I-Net+, Certified Web Master, MCP, MCSA, MCSE, CCNA, CCDA, and few others (I got bored one day)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top