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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How would I write the IP address ra

Status
Not open for further replies.

MAJBlaine

IS-IT--Management
May 20, 2002
34
US
How would I write the IP address range:
104.15.20.14 - 104.15.20.88
in an access list to allow acces to 121.45.32.7?
 
In order to permit only the addresses you have specified I think the following source range list is the shortest you can get.

access-list 101 permit <prot> <range1> host 121.45.32.7
access-list 101 permit <prot> <range2> host 121.45.32.7
etc etc

104.15.20.14 0.0.0.0
104.15.20.15 0.0.0.0
104.15.20.16 0.0.0.15
104.15.20.32 0.0.0.31
104.15.20.64 0.0.0.15
104.15.20.80 0.0.0.7
 
Thanks for the confirmation. I was hoping there was an easier way, but alas....

Blaine
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top