客户端用MAC认证连接wifi,需要10多分钟才可以连上去,之前也做过一个MAC认证的项目,不会出现这种问题。请问是因为什么原因导致的呢?
文件是配置文件,这个案例是MAC认证加portal认证的
(0)
最佳答案
是要做单独的MAC认证还是MAC+portal认证?有没有结合服务器来做?
下边有个本地MAC认证案例,可以作为参考:
http://www.h3c.com/cn/d_201902/1152576_30005_0.htm
(0)
1
(0)
/ vlan 1 # vlan 50 description wifi # vlan 100 description ap-manager # vlan 110 # dhcp server ip-pool ap gateway-list 192.168.100.1 network 192.168.100.0 mask 255.255.255.0 forbidden-ip 192.168.100.1 # wlan service-template mac ssid Hongxing vlan 50 client forwarding-location ap client-security authentication-mode mac mac-authentication domain local-mac service-template enable # wlan service-template portal ssid Hongxing-guest vlan 50 client forwarding-location ap portal enable method direct portal domain portal portal apply web-server fangke service-template enable # interface NULL0 # interface Vlan-interface1 # interface Vlan-interface100 ip address 192.168.100.1 255.255.255.0 # interface Vlan-interface110 ip address 192.168.110.2 255.255.255.0 # interface GigabitEthernet1/0/5 port link-mode route ip address 192.168.90.1 255.255.255.0 # interface GigabitEthernet1/0/7 port link-mode route # interface GigabitEthernet1/0/8 port link-mode route # interface GigabitEthernet1/0/1 port link-mode bridge # interface GigabitEthernet1/0/2 port link-mode bridge # interface GigabitEthernet1/0/3 port link-mode bridge # interface GigabitEthernet1/0/4 port link-mode bridge # interface GigabitEthernet1/0/6 port link-mode bridge port link-type trunk port trunk permit vlan all # scheduler logfile size 16 # line class console user-role network-admin # line class vty user-role network-operator # line con 0 user-role network-admin # line vty 0 31 authentication-mode scheme user-role network-operator # ip route-static 0.0.0.0 0 192.168.110.1 # undo info-center enable undo info-center logfile enable # domain local-mac authorization-attribute idle-cut 15 1024 authentication lan-access local # domain portal authorization-attribute idle-cut 15 1024 authentication portal local authorization portal none accounting portal none # portal web-server fangke url http://192.168.110.2:8080/portal # portal local-web-server http default-logon-page defaultfile.zip tcp-port 8080 # ip http enable ip https enable
/ vlan 1 # vlan 50 description wifi # vlan 100 description ap-manager # vlan 110 # dhcp server ip-pool ap gateway-list 192.168.100.1 network 192.168.100.0 mask 255.255.255.0 forbidden-ip 192.168.100.1 # wlan service-template mac ssid Hongxing vlan 50 client forwarding-location ap client-security authentication-mode mac mac-authentication domain local-mac service-template enable # wlan service-template portal ssid Hongxing-guest vlan 50 client forwarding-location ap portal enable method direct portal domain portal portal apply web-server fangke service-template enable # interface NULL0 # interface Vlan-interface1 # interface Vlan-interface100 ip address 192.168.100.1 255.255.255.0 # interface Vlan-interface110 ip address 192.168.110.2 255.255.255.0 # interface GigabitEthernet1/0/5 port link-mode route ip address 192.168.90.1 255.255.255.0 # interface GigabitEthernet1/0/7 port link-mode route # interface GigabitEthernet1/0/8 port link-mode route # interface GigabitEthernet1/0/1 port link-mode bridge # interface GigabitEthernet1/0/2 port link-mode bridge # interface GigabitEthernet1/0/3 port link-mode bridge # interface GigabitEthernet1/0/4 port link-mode bridge # interface GigabitEthernet1/0/6 port link-mode bridge port link-type trunk port trunk permit vlan all # scheduler logfile size 16 # line class console user-role network-admin # line class vty user-role network-operator # line con 0 user-role network-admin # line vty 0 31 authentication-mode scheme user-role network-operator # ip route-static 0.0.0.0 0 192.168.110.1 # undo info-center enable undo info-center logfile enable # domain local-mac authorization-attribute idle-cut 15 1024 authentication lan-access local # domain portal authorization-attribute idle-cut 15 1024 authentication portal local authorization portal none accounting portal none # portal web-server fangke url http://192.168.110.2:8080/portal # portal local-web-server http default-logon-page defaultfile.zip tcp-port 8080 # ip http enable ip https enable
是本地MAC认证还是远程MAC认证?
(0)
本地MAC认证,有的设备可以很快连上去,有的设备连了很久都没连上去。
本地MAC认证,有的设备可以很快连上去,有的设备连了很久都没连上去。
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明