03-04-2014 08:28 AM - edited 03-07-2019 06:31 PM
Hello
i want to block traffic b/w two hosts in same vlan, host are connected to 3750 stacked switches , i have heard that MAC acl works but i tried it its not working any suggestion ??
Regards,
Malik
Solved! Go to Solution.
03-04-2014 09:23 AM
Yes, you would use an extended acl and it is not applied to any port.
You could use port acls for both hosts and apply them inbound on both host ports using an extended acl and it would achieve the same thing if you are uncomfortable with using a VACL within the vlan.
Jon
03-04-2014 09:02 AM
Faisal
MAC acls only control non IPv4 traffic.
If you need to contol traffic between two hosts in the same vlan you can still use a VACL but you must use IP addresses and not mac addresses to control the traffic.
See this link for full details -
Jon
03-04-2014 09:11 AM
Jon,
Thanks for your your doc is lenghty if you solve this issue hereit will be much better will save my time
source 10.10.60.133 destintion 10.10.60.150 (want to deny all traffic b/w them)
if possible tell me where should i configure it either on access layer sw0r core layer sw ??
03-04-2014 09:13 AM
Are both hosts connected to the same switch ?
If so you need do it on that switch.
Jon
03-04-2014 09:14 AM
i believe both are on same if not then ???
03-04-2014 09:17 AM
Faisal
Actually i don't think it matters to be honest.
Just apply it on the access switch (assuming at least one host is connected to the access switch).
If they are both connected directly to the L3 switch then apply it there.
Be careful when applying it ie. make sure after you have denied the specific traffic you then allow all other traffic.
Jon
03-04-2014 09:20 AM
with extended ACL rite ??? and dont need to place on any interface or port ??
03-04-2014 09:23 AM
Yes, you would use an extended acl and it is not applied to any port.
You could use port acls for both hosts and apply them inbound on both host ports using an extended acl and it would achieve the same thing if you are uncomfortable with using a VACL within the vlan.
Jon
11-05-2019 11:02 AM
Will this solution of applying VACLs to filter traffic between 2 hosts on the same VLAN (connected to same or different switches) work if the switch is a Nexus 7K switch running nx-os? It worked for me on ios but don't seem to be working on Nexus.
Please advise
11-05-2019 12:11 PM
Hello,
VACLs should work on the N7K in the same way. How did you configure the VACL ? Make sure you comply with the restrictions outlined in the link below:
11-07-2019 03:22 PM
03-04-2014 09:25 AM
Thnx Jobfor your help
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