在windowsserver2016配置radius服务器和交换机配置基于MAC的802.1x。无法通过认证,在windowsserver应该如何配置?在端口开启802.1x后,无法ping通其他网段的ip地址,而且如果交换机下端口在接一个傻瓜式的交换机,在此交换机接几台设备,应该如何进行设置。
version 7.1.064, Release 0821P11
#
sysname H3C
#
wlan global-configuration
firmware-upgrade disable
#
dot1x
#
mac-authentication
#
security-zone intra-zone default permit
#
ip pool l2tp1 192.168.1.40 192.168.1.60
#
dhcp server always-broadcast
#
dns proxy enable
#
system-working-mode standard
password-recovery enable
#
vlan 1
#
controller Cellular0/0
#
interface Aux0
#
interface Virtual-Template0
#
interface Virtual-Template1
ppp authentication-mode chap domain joy
remote address pool l2tp1
ip address 192.168.1.1 255.255.255.0
#
interface NULL0
#
interface Vlan-interface1
description LAN-interface
ip address 192.168.0.1 255.255.255.0
tcp mss 1280
#
interface GigabitEthernet0/0
port link-mode route
description Multiple_Line
ip address 10.1.0.123 255.255.0.0
nat outbound
nat outbound 2001
nat server protocol tcp global 10.1.0.123 8888 inside 192.168.0.7 8080
#
interface GigabitEthernet0/1
port link-mode route
#
interface GigabitEthernet0/2
port link-mode route
#
interface GigabitEthernet0/27
port link-mode route
#
interface GigabitEthernet0/3
port link-mode bridge
#
interface GigabitEthernet0/4
port link-mode bridge
#
interface GigabitEthernet0/5
port link-mode bridge
#
interface GigabitEthernet0/6
port link-mode bridge
#
interface GigabitEthernet0/7
port link-mode bridge
#
interface GigabitEthernet0/8
port link-mode bridge
#
interface GigabitEthernet0/9
port link-mode bridge
#
interface GigabitEthernet0/10
port link-mode bridge
#
interface GigabitEthernet0/11
port link-mode bridge
#
interface GigabitEthernet0/12
port link-mode bridge
#
interface GigabitEthernet0/13
port link-mode bridge
#
interface GigabitEthernet0/14
port link-mode bridge
#
interface GigabitEthernet0/15
port link-mode bridge
duplex full
dot1x
dot1x mandatory-domain jmc
#
interface GigabitEthernet0/16
port link-mode bridge
#
interface GigabitEthernet0/17
port link-mode bridge
#
interface GigabitEthernet0/18
port link-mode bridge
#
interface GigabitEthernet0/19
port link-mode bridge
#
interface GigabitEthernet0/20
port link-mode bridge
#
interface GigabitEthernet0/21
port link-mode bridge
#
interface GigabitEthernet0/22
port link-mode bridge
#
interface GigabitEthernet0/23
port link-mode bridge
#
interface GigabitEthernet0/24
port link-mode bridge
#
interface GigabitEthernet0/25
port link-mode bridge
#
interface GigabitEthernet0/26
port link-mode bridge
#
security-zone name Local
#
security-zone name Trust
#
security-zone name DMZ
#
security-zone name Untrust
#
security-zone name Management
#
scheduler logfile size 16
#
line class aux
user-role network-admin
#
line class tty
user-role network-operator
#
line class vty
user-role network-operator
#
line aux 0
user-role network-admin
#
line vty 0 63
authentication-mode scheme
user-role network-operator
#
info-center loghost 127.0.0.1 port 3301
info-center source CFGLOG loghost level informational
#
performance-management
#
acl number 2001
rule 0 permit source 192.168.0.0 0.0.0.255
rule 5 deny
#
password-control enable
undo password-control aging enable
undo password-control history enable
password-control length 6
password-control login-attempt 3 exceed lock-time 10
password-control update-interval 0
password-control login idle-time 0
#
radius scheme radius1
primary authentication 192.168.0.151
key authentication cipher $c$3$BGvkRjtjw5qaWAd3v3Gd7uFIl9ff1/sTdQ==
user-name-format without-domain
#
domain jmc
authentication lan-access radius-scheme radius1
authorization lan-access radius-scheme radius1
#
domain joy
authentication ppp local
#
domain system
#
domain default enable system
#
role name level-0
description Predefined level-0 role
#
role name level-1
description Predefined level-1 role
#
role name level-2
description Predefined level-2 role
#
role name level-3
description Predefined level-3 role
#
role name level-4
description Predefined level-4 role
#
role name level-5
description Predefined level-5 role
#
role name level-6
description Predefined level-6 role
#
role name level-7
description Predefined level-7 role
#
role name level-8
description Predefined level-8 role
#
role name level-9
description Predefined level-9 role
#
role name level-10
description Predefined level-10 role
#
role name level-11
description Predefined level-11 role
#
role name level-12
description Predefined level-12 role
#
role name level-13
description Predefined level-13 role
#
role name level-14
description Predefined level-14 role
#
user-group system
#
local-user admin class manage
service-type telnet http https
authorization-attribute user-role network-admin
#
local-user user class network
password cipher $c$3$Ft9L1q5O81xbLllMycd6JzAgddnp9Q==
service-type ppp
authorization-attribute user-role network-operator
#
l2tp-group 1 mode lns
allow l2tp virtual-template 1
undo tunnel authentication
#
l2tp enable
#
ip http enable
ip https enable
#
wlan auto-ap enable
wlan auto-persistent enable
#
wlan ap-group default-group
vlan 1
#
(0)
最佳答案
您好,请知:
802.1X认证失败,以下是排查要点,请参考:
1、检查端口是否开启了802.1X功能,以下是开启的参考命令:
int gi 1/0/1
dotlx
quit
2、检查设备的radius方案配置中是否指向了正确的radius服务器,且秘钥是否正确。
3、检查domain配置中是否调用了radius方案,且domain域需作为默认域。
4、检查radius服务器的路由是否可达。
5、以下是交换机802.1X的配置手册链接:
https://www.h3c.com/cn/d_202001/1267735_30005_0.htm
6、以下是windows部署radius的参考链接:
https://blog.csdn.net/wsasy12345/article/details/82250785
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论