华为模拟器,无线AC,隧道集中转发和直连转发实验及抓包分析区别

 

LSW1配置

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
sys
sys lsw1
vlan b 11 10 20 100
 
dhcp en
 
int vlanif 11
ip add 11.0.0.2 30
 
int vlanif 10
ip add 10.0.0.1 24
dhcp sel int
dhcp server option 43 sub-option 2 ip-address 1.0.0.100
 
int vlanif 20
ip add 20.0.0.1 24
dhcp sel int
dhcp server option 43 sub-option 2 ip-address 1.0.0.100
 
int vlanif 100
ip add 1.0.0.1 24
dhcp sel int
 
 
int g0/0/2
p l t
p t a v 20 100
p t p v 100
 
int g0/0/3
p l t
p t a v 10 100
p t p v 100
 
int g 0/0/4
p l t
p t a v 20 100
p t p v 100
 
int g0/0/1
p l a
p d v 11
 
ip route-s 0.0.0.0 0 11.0.0.1

  AC配置

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
sys
sys ac1
vlan b 100 20
int vlanif 100
ip add 1.0.0.100 24
 
int g0/0/1
p l t
p t a v 100 20
port trunk pvid vlan 100
 
---------------------------------
创建AP组
 
wlan
ap-group name office-1
ap-group name office-2
q
-----------------------------------------
创建域模板,配置国家代码
 
wlan
regulatory-domain-profile name office
country-code CN
q
------------------------------------
AP组引用域模板
 
wlan
ap-group name office-1
regulatory-domain-profile office
y
q
 
wlan
ap-group name office-2
regulatory-domain-profile office
y
q
-----------------------------------
AC源接口或源地址配置
 
capwap capwap source interface Vlanif 100
 
-------------------------------
添加AP设备
wlan
ap auth-mode mac-auth
ap-id 0 ap-mac 00E0-FCC6-1160
ap-name office-1
ap-group office-1
y
q
 
 
ap-id 1 ap-mac 00E0-FCAA-1630
ap-name office-2
ap-group office-2
y
q
 
--------------------------------------
 
创建ssid模板
wlan
ssid-profile name 1-office
ssid 1-office
q
 
wlan
ssid-profile name 2-office
ssid 2-office
q
 
------------------------------------
创建安全模板
wlan
security-profile name office
security wpa-wpa2 psk pass-phrase 12345678 aes
 
------------------------------------------------
VAP 模板配置
wlan
vap-profile name office-1
  forward-mode direct-forward
  service-vlan vlan-id 10
  ssid-profile 1-office
  security-profile office
  q
vap-profile name office-2
  forward-mode tunnel
  service-vlan vlan-id 20
  ssid-profile 2-office
  security-profile office
  q
-----------------------------------------------
AP组引用VAP模板
wlan
ap-group name office-1
vap-profile office-1 wlan 1 radio all
q
 
ap-group name office-2
vap-profile office-2 wlan 1 radio all
q
 
---------------------------------------------

  AR1配置

1
2
3
4
5
6
7
8
9
10
11
sys
sys ar1
int g0/0/0
ip add 11.0.0.1 30
 
int lo1
ip add 1.1.1.1 32
 
ip route-static 10.0.0.0 255.255.255.0 11.0.0.2
ip route-static 20.0.0.0 255.255.255.0 11.0.0.2
ip route-static 1.0.0.0 255.255.255.0 11.0.0.2

  

 

posted @   CTF_无白  阅读(897)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· C#/.NET/.NET Core优秀项目和框架2025年2月简报
· Manus爆火,是硬核还是营销?
· 终于写完轮子一部分:tcp代理 了,记录一下
· 【杭电多校比赛记录】2025“钉耙编程”中国大学生算法设计春季联赛(1)
点击右上角即可分享
微信分享提示