×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

Subnet - Problem

Unanswered Question
May 11th, 2007
User Badges:

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (1 ratings)
Loading.
mohammedmahmoud Fri, 05/11/2007 - 14:00
User Badges:
  • Green, 3000 points or more

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.

sundar.palaniappan Fri, 05/11/2007 - 14:21
User Badges:
  • Green, 3000 points or more

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

voiper_99 Mon, 05/14/2007 - 19:46
User Badges:

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

Wilson Samuel Tue, 05/15/2007 - 10:08
User Badges:
  • Gold, 750 points or more
  • Community Spotlight Award,

    Mobile User, July 2015

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

Actions

This Discussion