Discussion Locked

Cisco router access control list

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

What will be the access control list along with wild card masks that will (1) deny telnet session to any host from even numbered hosts on subnet say 156.1.150.0 (2) deny telnet session to any hostfrom odd numbered hosts on subnet say 156.1.150.0
your answers will be greatly appreciated

6 replies

by mike mullins

You can't deny even and odd numbered hosts.
Access lists work via host or host mask, there isn't a way to filter the mask to odd and even addresses:

However it basically works this way>
access-list 110 deny tcp host 156.1.150.3 host 165.1.150.2eq telnet

Source and Destination have to be specified explicitly (host 156.1.150.3) or via a range (156.1.150.6 0.0.0.25 - this specifies host 6-31)

For more information check out the article,
https://www.techrepublic.com/article.jhtml?id=r00220010306mul01.htm

*remove the spaces*

Good Luck

This discussion is closed to new replies.