可以实现,通过将不同业务VAP绑定不同的MAC认证域,每个域关联独立的MAC地址数据库来区分。
配置步骤:
1. 创建两个MAC认证域(如domain1、domain2):
domain domain1
authentication mac-authentication
authorization mac-authentication
accounting mac-authentication
quit
domain domain2
authentication mac-authentication
authorization mac-authentication
accounting mac-authentication
quit
2. 为每个域配置独立的MAC地址数据库(本地或远程):
本地MAC库:
mac-authentication user-name-format mac-address without-hyphen lowercase
local-user mac1 class network
password simple mac1
service-type mac-authentication
authorization-attribute vlan 10
local-user mac2 class network
password simple mac2
service-type mac-authentication
authorization-attribute vlan 20
(将mac1加入domain1,mac2加入domain2,需确保本地用户归属对应域)
远程MAC库(如RADIUS):在RADIUS服务器上为不同域配置独立的MAC账号列表。
3. 配置两个VAP模板,分别绑定不同域:
wlan service-template 1 clear
ssid SSID1
vlan 10
mac-authentication domain domain1
service-template enable
wlan service-template 2 clear
ssid SSID2
vlan 20
mac-authentication domain domain2
service-template enable
4. 将VAP模板绑定到AP组:
wlan ap-group default
service-template 1 vlan 10
service-template 2 vlan 20
验证:
测试MAC1连接SSID1可认证,连接SSID2认证失败;MAC2连接SSID2可认证,连接SSID1认证失败,即实现区分。
暂无评论