二层组网旁挂AC隧道转发/直接转发 拓扑图

配置:
路由

<R>dis cur

[V200R003C00]
#
sysname R
interface GigabitEthernet0/0/0
ip address 192.168.111.2 255.255.255.0
#
ip route-static 192.168.0.0 255.255.0.0 192.168.111.1
return
<R>

三层

 

<L3>dis cur
#
sysname L3

vlan batch 100 110 to 111
#
interface Vlanif110
ip address 192.168.110.2 255.255.255.0
#
interface Vlanif111
ip address 192.168.111.1 255.255.255.0

interface GigabitEthernet0/0/1
port link-type access
port default vlan 111
#
interface GigabitEthernet0/0/2
port link-type trunk
port trunk allow-pass vlan 100 110
#
interface GigabitEthernet0/0/3
port link-type access
port default vlan 100

ip route-static 0.0.0.0 0.0.0.0 192.168.111.2
ip route-static 192.168.100.0 255.255.255.0 192.168.110.1
ip route-static 192.168.101.0 255.255.255.0 192.168.110.1
ip route-static 192.168.102.0 255.255.255.0 192.168.110.1

return
<L3>

二层
无任何配置
AC

 

<AC6605>dis cur

vlan batch 100 to 102 110

dhcp enable

interface Vlanif100
ip address 192.168.100.1 255.255.255.0
dhcp select interface
#
interface Vlanif101
ip address 192.168.101.1 255.255.255.0
dhcp select interface
#
interface Vlanif102
ip address 192.168.102.1 255.255.255.0
dhcp select interface
#
interface Vlanif110
ip address 192.168.110.1 255.255.255.0
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 100 110

ip route-static 0.0.0.0 0.0.0.0 192.168.110.2
#
capwap source interface vlanif100

#
wlan
security-profile name sec-1
security wpa-wpa2 psk pass-phrase %^%#0(MI&R\)MCo&pc0!kB]7p\DtWb|CX1LNlv!Y\b-8
%^%# aes
security-profile name sec-2

ssid-profile name ssid-1
ssid wifi001
ssid-profile name ssid-2
ssid wifi002

vap-profile name vap-1
forward-mode tunnel
service-vlan vlan-id 101
ssid-profile ssid-1
security-profile sec-1
vap-profile name vap-2
forward-mode tunnel
service-vlan vlan-id 102
ssid-profile ssid-2
security-profile sec-2

regulatory-domain-profile name default

ap auth-mode no-auth
ap-group name aps1
radio 0
vap-profile vap-1 wlan 1
radio 1
vap-profile vap-1 wlan 1
radio 2
vap-profile vap-1 wlan 1
ap-group name aps2
radio 0
vap-profile vap-2 wlan 2
radio 1
vap-profile vap-2 wlan 2
radio 2
vap-profile vap-2 wlan 2
ap-group name default
ap-id 0 type-id 35 ap-mac 00e0-fc6c-0d20 ap-sn 2102354483101B1EDF47
ap-group aps1
ap-id 1 type-id 35 ap-mac 00e0-fc61-3160 ap-sn 210235448310FE778955
ap-group aps2
provision-ap

return
<AC6605>

 
 
 
posted @ 2023-03-07 14:09  techNote  阅读(202)  评论(0编辑  收藏  举报