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!

quick ACL question

Status
Not open for further replies.

jdeane

IS-IT--Management
Joined
Sep 21, 2001
Messages
229
Location
GB
I am trying to split a subnet in two and prevent the upper half from having telnet access to the outside world.

The ip subnet is 171.17.0.64 - 171.17.0.127 255.255.255.192

I wish to allow 171.17.0.64 - 171.17.0.95 telnet access and
disallow 171.17.0.96 - 171.17.0.126

I'm I right in using
access-list 111 deny tcp 171.17.0.96 0.0.0.31 any eq telnet

Thanks

Jon
 
access-lists have an implicit deny any at the end of them. You are going to have to have at least one permit statement in the access-list. Try this:

access-list 101 permit tcp 171.17.0.64 0.0.0.31 any eq telnet

hopefully this will get you headed in the right direction...because of the implicit deny any the other subnet would be blocked..

also don't forget to apply this to an interface with the access-group command...

mika
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top