cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
608
Views
4
Helpful
6
Replies

Subnet - Problem

n.ramachandran
Level 1
Level 1

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 6

med_ddevlin
Level 1
Level 1

this being applied to a router or firewall?

mohammedmahmoud
Level 11
Level 11

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.

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

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

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

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

Getting Started

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:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco