Is there a way to filter out even(or odd) numbered IP address from passing through a router (I am working with the cisco packet tracer) using access lists or any other methods?
Thank You
Is there a way to filter out even(or odd) numbered IP address from passing through a router (I am working with the cisco packet tracer) using access lists or any other methods?
Thank You
Yes, this is possible since Cisco takes ACL hostmasks quite literally and permits any bitmask. An IPv4 hostmask is 32 bits. A normal definition would have the leftmost bits equal to zero, and the rightmost bits equal to one, but in theory you can mix zeroes and ones, and Cisco permits this. See http://www.cisco.com/c/en/us/support/docs/security/ios-firewall/23602-confaccesslists.html#topic2
For example:
As @ron-maupin noted this is not very useful though, it is basically only useful for your rather unusual request.