Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Subnet - Problem

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..

6 REPLIES
New Member

Re: Subnet - Problem

this being applied to a router or firewall?

Re: Subnet - Problem

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.

Re: Subnet - Problem

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

New Member

Re: Subnet - Problem

Interesting. Can I ask how you guys worked out the IPs & wild card masks that would be needed?

Re: Subnet - Problem

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

Re: Subnet - Problem

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

136
Views
4
Helpful
6
Replies
CreatePlease to create content