So I have two subnets:
Subnet 1:200.190.64.0/28 which is connected to router 2
Subnet 2:20.10.96.0/21 which is connected to router 1
Both of these routers have another networked connected to them as well.
Now my question is how do I deny subnet 200.190.64.0 access to subnet 20.10.96.0 while allowing other networks to communicate.
So I have done Access-list stranded but the problem is that my other networks also can't access it as well; everything gets blocked.
Code that I am running
access-list deny host 200.190.64.0 0.0.0.15
access-list permit any
I tried this command on all of the router's interfaces
ROUTER 1 CONFIG
{}
) on it.