争怎路由网/路由器百科/内容

华三无线三层网络注册设置方法(华三三层路由设置)

路由器百科2024-03-01 阅读


1 组网需求

如图1所示,集中式转发架构下,无线客户端Client、有线客户端Host通过L3 switch与AC相连,L3 switch做DHCP server为AP、Client和Host分配IP地址。需要实现无线客户端Client通过AP连接到AC上,并能与有线客户端Host互相访问,具体要求如下:

· 无线客户端Client通过VLAN 200接入网络,有线客户端Host通过VLAN 300接

入网络;

· AC属于VLAN 100,AP属于VLAN 400,AC和AP之间跨三层网络建立连接。

图1 Fit AP通过三层网络注册到AC配置举例组网图


2 配置步骤

2.1 配置AC

(1)在AC上配置相关VLAN,并放通对应接口,配置三层路由让AP和AC之间可达。

(2)配置无线服务

# 创建无线服务模板1,并进入无线服务模板视图。

[AC] wlan service-template 1

[AC-wlan-st-1] ssid service

[AC-wlan-st-1] service-template enable

(3)配置AP

[AC] wlan ap officeap model WA4320i-ACN

[AC-wlan-ap-officeap] serial-id 210235A1GQB147031200

[AC-wlan-ap-officeap] radio 1

[AC-wlan-ap-officeap-radio-1] service-template 1 vlan 200

[AC-wlan-ap-officeap-radio-1] radio enable

2.2 配置L3 switch

(1) 创建相关VLAN,配置L2 switch和AP相连的接口为Trunk类型,PVID为AP 管理VLAN,配置DHCP地址池,为客户端分配地址,并开启PoE供电功能。

(2) 配置DHCP server,为AP下发option 43属性

[L3 switch] dhcp enable

[L3 switch] dhcp server ip-pool 1

[L3 switch-dhcp-pool-1] network 192.168.40.0 mask 255.255.255.0

[L3 switch-dhcp-pool-1] gateway-list 192.168.40.1

[L3 switch-dhcp-pool-1] option 43 hex 8007000001c0a80a01

[L3 switch-dhcp-pool-1] quit

3 验证配置

(1)在AC上查看到AP注册信息

# 在AC上使用命令display wlan ap all查看AP,可以看到AP的状态是R/M,表明AP已经成功注册到AC。

display wlan ap all

Total number of APs: 1

Total number of connected APs: 1

Total number of connected manual APs: 1

Total number of connected auto APs: 0

Total number of connected common APs: 1

Total number of connected WTUs: 0

Total number of inside APs: 0

Maximum supported APs: 3072

Remaining APs: 3071

Total AP licenses: 512

Remaining AP licenses: 511

AP information

State : I = Idle, J = Join, JA = JoinAck, IL = ImageLoad

C = Config, DC = DataCheck, R = Run, M = Master, B = Backup

AP name AP ID State Model Serial ID

officeap 1 R/M WA4320i-ACN 210235A1GQB147031200

(2) 在AC上查看Client信息

# 在AC上使用命令display wlan client查看在线Client,可以看到Client已经连接到AP的radio1。

display wlan client

Total number of clients: 1

MAC address Username AP name RID IP address IPv6 address VLAN

90b9-311a-bef6 N/A officeap 1 192.168.20.3 N/A 200

(3)Host与Client可以相互ping通

# Client通过DHCP server获取到IP地址192.168.20.3,在Host上ping Client的IP地址可以ping通。同理,在Client上ping Host的IP地址也能ping通,不再赘述。

C:\Users\system32>ping 192.168.20.3 -t

Pinging 192.168.20.3 with 32 bytes of data:

Reply from 192.168.20.3: bytes=32 time=2470ms TTL=63

Reply from 192.168.20.3: bytes=32 time=2ms TTL=63

Reply from 192.168.20.3: bytes=32 time=1427ms TTL=63

Reply from 192.168.20.3: bytes=32 time=2ms TTL=63

Reply from 192.168.20.3: bytes=32 time=86ms TTL=63

Reply from 192.168.20.3: bytes=32 time=142ms TTL=63

Ping statistics for 192.168.20.3:

Packets: Sent = 12, Received = 12, Lost = 0 (0% loss),

Approximate round trip times in milli-seconds:

Minimum = 2ms, Maximum = 2470ms, Average = 495ms



……

相关阅读