Hello out there,
I have an assignment which involves three routers connected serially and each with private networks connected to it.
From left to right, the two outer networks requires an ACL command to restrict access to the other network but to one item which is supposed to be a server's IP address number located in the centre router's connected network.
I thought that this would be easy where that all you need is a couple of lines of code that will permit ip access of the reuired subnet of the outer networks to only the server and the second line to deny ip access to the rest. The codes are as follows:
access-list 101 ip permit [source subnet] [destination IP address] [any] access-list 101 ip permit 192.168.86.64 0.0.0.31 192.168.86.33 0.0.0.0 any access-list 101 ip deny 192.168.86.64 0.0.0.31 any any
access-list 101 ip permit 192.168.86.64 0.0.0.31 host 192.168.86.33 any access-list 101 ip deny 192.168.86.64 0.0.0.31 any any
The problems is that I keep on getting errors that this is bugging me. What am I doing wrong?
Can someone help as that this would be appretiated.