05-11-2007 12:20 PM - edited 03-05-2019 04:01 PM
My Network 192.168.1.0 / 24
I want to allow 192.168.1.151...199 only 80 and 25,
how to do acl, wheather i need to create each host wise or can i use any range using subnets.. But i should not allow one host extra or less one host..exact 151..199.
can someone help to do with out host wise..
05-11-2007 12:35 PM
this being applied to a router or firewall?
05-11-2007 02:00 PM
Hi,
Use the following subnetting to cover your range:
192.168.1.151/32
192.168.1.152/29
192.168.1.160/28
192.168.1.176/28
192.168.1.192/29
HTH, please do rate if it does help,
Mohammed Mahmoud.
05-11-2007 02:21 PM
Mohammed,
Your access list should work fine but can be shrunk by one more line like this.
192.168.1.151 0.0.0.0
192.168.1.152 0.0.0.7
192.168.1.160 0.0.0.31
192.168.1.192 0.0.0.7
HTH
Sundar
05-14-2007 07:46 PM
Interesting. Can I ask how you guys worked out the IPs & wild card masks that would be needed?
05-15-2007 07:01 AM
Hi Will,
Here's a subnetting tutorial http://www.ralphb.net/IPSubnet/subnet.html
Here's a nice subnetting utility to confirm if your subnetting it right http://www.boson.com/FreeUtilities.html
Dandy
05-15-2007 10:08 AM
The best IP Subnetting, Supernetting/CIDR and VLSM page I have ever encountered is on a 3Com Website (Sorry, Cisco).
Please make a look into it and I'm sure you will never have to struggle with the IPv4 Addressing issues.
http://www.3com.com/other/pdfs/infra/corpinfo/en_US/501302.pdf.
Please rate if helpful,
Kind Regards,
Wilson Samuel
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: