03-17-2016 05:31 AM - edited 03-05-2019 03:35 AM
Ok, i have a bit problem i don't know how to solve:
I have got a router, to it a switch is connected, and to it there are two servers connected.
The router is connected to the switch on the fa0/1 interface (192.168.2.249).
The two hosts are connected to the switch on the fa0/1 and fa0/2 switch interface.
I want to make sure that the two hosts are unable to ping each other.
Host 1 ip address is: 192.168.2.250
Host 2: 192.168.2.251
Can someone help me how to setup the ACLs so they cant reach each other? I know the wildcard mask should be 0.0.0.0, but i'M not sure what the acl command should look like.
On which interface should this ACL be applied? In, out?
Thank you for your help in advance.
Solved! Go to Solution.
03-17-2016 06:53 AM
What sort of switch do you have?
A private vlan edge/protected port may be easer.
03-17-2016 12:13 PM
Since both host addresses are in the same subnet these hosts would communicate directly and would not go through the router. So there is not any kind of access list on the router that could prevent the hosts communicating. Perhaps there might be some kind of port ACL on the switch. But protected ports is probably the best alternative.
HTH
Rick
03-17-2016 06:53 AM
What sort of switch do you have?
A private vlan edge/protected port may be easer.
03-17-2016 09:52 AM
A 2950T-24.
So if I set the switches fa0/1 and fa0/2 to be protected ports, they cannot ping each other, but they can still be reached from other ports?
03-17-2016 12:13 PM
Since both host addresses are in the same subnet these hosts would communicate directly and would not go through the router. So there is not any kind of access list on the router that could prevent the hosts communicating. Perhaps there might be some kind of port ACL on the switch. But protected ports is probably the best alternative.
HTH
Rick
03-17-2016 07:30 PM
I am glad that our suggestions have been helpful to you. Thank you for using the rating system to mark this question as answered. This will help other readers in the forum to identify discussions which have useful information.
I hope you will continue to be active in these forums.
HTH
Rick
03-17-2016 12:35 PM
2950's support protected ports. Follow that URL I gave and you can configure it up.
03-17-2016 12:41 PM
Yes, they can be reached from other ports.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide