Discussion Locked

accesss list on router

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
how can I denyb telnet traffic only on even number host and not on odd number host on a class b network address runnning ip and igrp protocol with a subnet mask od 255.255.255.192 ?must be extended access list. source ip 156.1.1.65 255.255.255.192 destination 156.1.149.130 255.255.255.192

7 replies

by Former member

You can certainly deny/permit a specific range of addresses within a network, using the source mask, but manipulating this mask to only allow the even IP addresses in not possible. Maybe if you tell us the reason, there is another solution...

by raystep

thanks but I have figured out how to do this the source address I gave is wrong it is 156.1.1.64 255.255.255.192 using the wild card mask of 0.0.0.254 will allow me to block only the even numbered host from telnetting to the other router by using this mask the last octet all the bits execpt the last bit will be ignored , if you convert the e ven number to binary you will see that they always end with a o this will match the even host numbers only

by raystep

too long of an access list all I had to do was use the wild card mask of 0.0.0.254 and this did what I needed to do

This discussion is closed to new replies.