AC开启三层发现(DHCP架设在AC上)
实验拓扑图

二层交换机配置
vlan 1;10;20;30
!
Interface Ethernet1/0/1 //连接AP
switchport mode trunk
switchport trunk native vlan 20
!
Interface Ethernet1/0/2 //连接核心交换机
switchport mode trunk
switchport trunk allowed vlan 20;30
!
核心交换机配置
service dhcp
!
ip forward-protocol udp bootps //指定 UDP 广播数据报
!
vlan 1;10;20;30
!
Interface Ethernet1/0/1
switchport mode trunk //连接AC
!
Interface Ethernet1/0/2
switchport mode trunk //连接二层交换机
switchport trunk allowed vlan 20;30
!
interface Vlan10
ip address 200.1.1.2 255.255.255.252
!
interface Vlan20
ip address 192.168.20.253 255.255.255.0
!forward protocol udp 67(active)!
ip helper-address 200.1.1.1
!
interface Vlan30
ip address 192.168.30.254 255.255.255.0
!forward protocol udp 67(active)!
ip helper-address 200.1.1.1
!
ip route 0.0.0.0/0 200.1.1.1
!
无线AC配置
!
service dhcp
!
ip dhcp pool vlan20
network-address 192.168.20.0 255.255.255.0
default-router 192.168.20.254
option 43 hex 0104C0A814FE
!
ip dhcp pool vlan30
network-address 192.168.30.0 255.255.255.0
default-router 192.168.30.254
!
vlan 1;10;20;30
!
Interface Ethernet1/0/1
switchport mode trunk //连接核心交换机
!
interface Vlan10
ip address 200.1.1.1 255.255.255.252
!
interface Vlan20
ip address 192.168.20.254 255.255.255.0
!
interface Vlan30
ip address 192.168.30.253 255.255.255.0
!
interface Loopback1
ip address 1.1.1.1 255.255.255.255
!
ip route 0.0.0.0/0 200.1.1.2
!
wireless
static-ip 192.168.20.254
network 1
ssid CeShi
vlan 30
!
ap profile 1
radio 1
vap 0
!
DCWS#
测试


浙公网安备 33010602011771号