三层AP上线

 

 交换机和AC中的一个做dhcp就可以

LWS1:

vlan batch 100 to 103 200 300

interface Vlanif100
ip address 192.168.10.254 255.255.255.0
#
interface Vlanif101
ip address 10.1.12.1 255.255.255.0
#
interface Vlanif200
ip address 192.168.20.254 255.255.255.0
#
interface Vlanif300
ip address 192.168.30.254 255.255.255.0

interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/2
port link-type trunk
port trunk pvid vlan 100
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/3
#
interface GigabitEthernet0/0/4
port link-type access
port default vlan 300

ospf 1
area 0.0.0.0
network 192.168.10.254 0.0.0.0
network 192.168.20.254 0.0.0.0
network 10.1.12.1 0.0.0.0
network 192.168.30.254 0.0.0.0

AC1:

vlan batch 100 to 104 200

dhcp enable

interface Vlanif100
ip address 192.168.10.253 255.255.255.0
dhcp select interface
#
interface Vlanif200
ip address 192.168.20.253 255.255.255.0

ospf 1
area 0.0.0.0
network 192.168.20.253 0.0.0.0

查看邻居是否起来

 

 

 AC1:

 ap auth-mode no-auth

ap-confirm all

capwap source interface vlanif100

查看ap上线

 

 

 做模板:

wlan
security-profile name vlan101
quit


ssid-profile name vlan101
ssid vlan101

vap-profile name vlan101
service-vlan vlan-id 101
ssid-profile vlan101
security-profile vlan101

ap-id 0
vap-profile vlan101 wlan 1 radio all 

AR:

interface GigabitEthernet0/0/0
ip address 192.168.30.253 255.255.255.0
#
interface LoopBack0
ip address 172.16.1.253 255.255.255.0
ip address 172.16.2.253 255.255.255.0 sub
#
ospf 1
area 0.0.0.0
network 192.168.30.253 0.0.0.0
network 172.16.1.253 0.0.0.0
network 172.16.2.253 0.0.0.0

STA1可以ping通路由器,跟踪如下:

AC:(让sta1去路由器直接走,不或AC

vap-profile name vlan101

forward-mode direct-forward

查看:

 

 

 

 

转载于:https://www.cnblogs.com/TiAmoLJ/p/11469719.html

  • 1
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值