×

AC+AP跨三层注册典型组网配置案例(接口为三层)

hqy hqy 发表于2024-12-25 01:05:31 浏览51 评论0

抢沙发发表评论

组网及说明

组网说明

本案例采用H3C HCL模拟器的AC+AP部署跨三层注册的典型组网配置。在本案例中,AC1SW1采用三层接口互联,通过部署AC+AP的注册上线,实现无线终端的接入。

1DHCP服务器部署在SW1

2)无线采用本地转发部署。

3SW1AC1配置三层互联和静态路由相互指向。

 6810845573d961b37cb458bbb52ea845_LnY8WwDWHlAAAAAASUVORK5CYII=.png

 

配置思路:

1、按照网络拓扑图配置VLANIP地址。

2、配置SW1AC1的静态路由。

3、配置AC+AP跨三层注册。

4、提前收集AP的序列号。

配置步骤

1)基础网络配置。

SW1

<H3C>sys

System View: return to User View with Ctrl+Z.

[H3C]sysname SW1

[SW1]vlan 10

[SW1-vlan10]quit

[SW1]vlan 20

[SW1-vlan20]quit

[SW1]int vlan 10

[SW1-Vlan-interface10]ip address 192.168.10.1 24

[SW1-Vlan-interface10]quit

[SW1]int vlan 20

[SW1-Vlan-interface20]ip address 192.168.20.1 24

[SW1-Vlan-interface20]quit

[SW1]int loopback 0

[SW1-LoopBack0]ip address 1.1.1.1 32

[SW1-LoopBack0]quit

 

[SW1]dhcp enable

[SW1]dhcp server ip-pool vlan10

[SW1-dhcp-pool-vlan10]network 192.168.10.0 mask 255.255.255.0

[SW1-dhcp-pool-vlan10]gateway-list 192.168.10.1

[SW1-dhcp-pool-vlan10]option 138 ip-address 10.0.0.2

[SW1-dhcp-pool-vlan10]quit

[SW1]dhcp server ip-pool vlan20

[SW1-dhcp-pool-vlan20]network 192.168.20.0 mask 255.255.255.0

[SW1-dhcp-pool-vlan20]gateway-list 192.168.20.1

[SW1-dhcp-pool-vlan20]dns-list 114.114.114.114

[SW1-dhcp-pool-vlan20]quit

 

[SW1]ip route-static 0.0.0.0 0.0.0.0 10.0.0.2

 

[SW1]int gi 1/0/2

[SW1-GigabitEthernet1/0/2]po li tr

[SW1-GigabitEthernet1/0/2]undo po tr pe vlan 1

[SW1-GigabitEthernet1/0/2]po tr pe vlan 10 20

[SW1-GigabitEthernet1/0/2]port trunk pvid vlan 10

[SW1-GigabitEthernet1/0/2]quit

 

[SW1]int gi 1/0/1

[SW1-GigabitEthernet1/0/1]port link-mode route

The configuration of the interface will be restored to the default. Continue? [Y/N]:y

[SW1-GigabitEthernet1/0/1]ip address 10.0.0.1 30

[SW1-GigabitEthernet1/0/1]quit

[SW1]save force

 

AC1

<H3C>sys

System View: return to User View with Ctrl+Z.

[H3C]sysname AC1

[AC1]int loopback 0

[AC1-LoopBack0]ip address 2.2.2.2 32

[AC1-LoopBack0]quit

[AC1]int gi 1/0/1

[AC1-GigabitEthernet1/0/1]port link-mode route

[AC1-GigabitEthernet1/0/1]ip address 10.0.0.2 30

[AC1-GigabitEthernet1/0/1]quit

[AC1]ip route-static 0.0.0.0 0.0.0.0 10.0.0.1

 

2)配置AC+AP跨三层注册。

AC1

[AC1]wlan auto-ap enable

[AC1]wlan auto-persistent enable

[AC1]wlan global-configuration

[AC1-wlan-global-configuration]firmware-upgrade disable

[AC1-wlan-global-configuration]quit

 

[AC1]wlan service-template weijianing

[AC1-wlan-st-weijianing]ssid weijianing

[AC1-wlan-st-weijianing]vlan 20

[AC1-wlan-st-weijianing]client forwarding-location ap vlan 20

[AC1-wlan-st-weijianing]service-template enable

[AC1-wlan-st-weijianing]quit

 

[AC1]wlan ap AP1 model WA6320-HCL

[AC1-wlan-ap-AP1]serial-id H3C_78-17-ca-9b-03-00

[AC1-wlan-ap-AP1]vlan 10

[AC1-wlan-ap-AP1-vlan10]quit

[AC1-wlan-ap-AP1]vlan 20

[AC1-wlan-ap-AP1-vlan20]quit

[AC1-wlan-ap-AP1]radio 1

[AC1-wlan-ap-AP1-radio-1]radio enable

[AC1-wlan-ap-AP1-radio-1]service-template weijianing vlan 20

[AC1-wlan-ap-AP1-radio-1]quit

[AC1-wlan-ap-AP1]radio 2

[AC1-wlan-ap-AP1-radio-2]radio enable

[AC1-wlan-ap-AP1-radio-2]service-template weijianing vlan 20

[AC1-wlan-ap-AP1-radio-2]quit

[AC1-wlan-ap-AP1]quit

 

此时,在AC1可以看到AP注册上线。

f21d9c1f911cd33b359c7e90c1abb709_sFiC3QWSY+gAAAABJRU5ErkJggg==.png

由于是本地转发,需要手动给AP增加配置,首先需要在AC1上开启APconsole登录的权限,然后才能在AP登录操作,或者使用map文件下发的方式下发配置到AP

在这里就使用在AC1上开启APconsole登录的权限,然后才能在AP登录操作。

[AC1]probe

[AC1-probe]wlan ap-execute all exec-console enable

[AC1-probe]quit

 

AP增加如下配置。

[AP1]vlan 10

[AP1-vlan10]quit

[AP1]vlan 20

[AP1-vlan20]quit

[AP1]int gi 0/0/0

[AP1-GigabitEthernet0/0/0]po li tr

[AP1-GigabitEthernet0/0/0]po tr pe vlan 1 10 20

[AP1-GigabitEthernet0/0/0]quit

 

添加手机到模拟器内,并启动。

df08342d79094d18a1c493625a539993_wHKa1w4CuSn3AAAAABJRU5ErkJggg==.png

选中手机,右键“配置”

打开WIFI

image.png

选择相应的SSID,并打开连接。

image.png

手机能拿到IP地址且能跨网段PING通。

image.png

AC1内能看到手机上线的信息。

08cb7c5dc5d7b6c4bdd90475797beb86_Vg0WERYCCGEEEIIIZw51930fwG9UJQn9GgDHwAAAABJRU5ErkJggg==.png

至此,AC+AP跨三层注册典型组网配置案例(接口为三层)已完成!


打赏

本文链接:https://www.kinber.cn/post/4326.html 转载需授权!

分享到:


推荐本站淘宝优惠价购买喜欢的宝贝:

image.png

 您阅读本篇文章共花了: 

群贤毕至

访客