NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

Tom-P's avatar
Tom-P
Tutor
Jun 30, 2020
Solved

MAC ACL for specific VLAN

I have connected four WNAP320 Access Points to a GS724TPv2 smart managed switch. The Access Points all broadcast three different SSID's (trusted, guest & IoT) that are assigned to three different VLAN's (10, 20 & 30). The router gives different IP ranges to the different VLAN's and I have added firewall rules to manage traffic between the VLAN's and internet. That part works well.

 

I would like to add a MAC ACL (access control list) to white list all my known devices to the trusted SSID and that specific VLAN10 and block all unknown devices. Unkown devices should only connect to the IoT and/or Guest network. The reason is that iOS devices (and probably Android as well) have the opportunity to share a wifi key if the owner of the unkown devices is in the contact list of the phone that is connected to the trusted network. 

 

Although this sounds easy (and probably is if you know what to do), I was not succesful. I've tried setting it up in the AP, but this doesn't work since you only can setup a whitelist for the entire AP and not a specific SSID/VLAN.

There are examples to be found on the internet, but they only discuss port based MAC ACL's and i have trunked my three VLAN's from the switchports to the access ports.

 

I hope someone knows a usefull link or can give me a push in the right direction!

  • Tom-P's avatar
    Tom-P
    Jul 08, 2020

    Hi Everyone,

     

    After Eric's last question we continued by e-mail and Eric found the solution;

     

    Please just keep config as your first setting, with all zeros in MAC mask. Then add some new rules that with Destination MAC=white list.

    This is because the MAC ACL binding to VLAN not specific physical port, so the packet include upstream(Client->Server) and downstream(Server->Client). It’s necessary to add bi-direction rule.

     

    I guess I'm not the only one who wants to build a MAC ACL white list so here's the solution to your all;

    You have to make two rules per device. One with the device MAC in the destination MAC field of that rule. The second rule with the same device MAC in the source MAC field. MAC mask should be all zero's for both rules.

    IN the VLAN Binding Configuration you pick the VLAN ID the devices of the white list should connect to. ACL type is MAC ACL and the ACL ID is the name you gave to the set of rules you made for your devices on the white list.

4 Replies

Replies have been turned off for this discussion
  • Retired_Member's avatar
    Retired_Member

    Hi Tom-P 

     

     

    Welcome to Community!

     

    For your requirement, I suggest you config MAC ACL and binding to specific VLAN on switch GS724TPv2. On the MAC ACL rule, just permit all trust MAC list, for others MAC switch will deny by default. 

    For MAC ACL configuration, please click here and follow up the User Manual.

     

    Hope it helps!

     

    Regards,

    EricZ

    • Tom-P's avatar
      Tom-P
      Tutor

      Thanks for you reply EricZ. Unfortunatly I was not succesful. What I've done;

       

      I created a MAC ACL and added a rule for each device on my white list.

      I gave every rule an unique sequence number, Action = Permit, Match Every = False, Source MAC = the device MAC, Source MAC Mask= 00:00:00:00:00:00. I was not sure about the VLAN field in the rule so I left it empty.

      I skipped the MAC Binding Configuration to a specific switch port and went to the Advanced tab and selected the VLAN Binding Table. I added a VLAN Binding Configuration of the VLAN ID I want to allow my white list devices, ACL type = MAC ACL and the ACL ID the name of the MAC ACL i created in the first step.

       

      After that every device was blocked on that VLAN. Even the ones i added in the rules.

      The manual isn't all that clear to me. Guess you have to be smart to manage a smart managed switch :-)

       

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More