思科路由器中vlan的配置(tplink路由器vlan怎么设置)

小编:魅力 更新时间:2022-10-30

一、思科路由器中vlan的配置

需要通过单臂路由才能是不同的vlan之间通信,具体配置就是进入子接口中封装802.1Q协议配置vlan的IP地址并且no shutdown

Router(config)#interface f0/0.1

%LINK-5-CHANGED: Interface FastEthernet0/0.1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.1, changed state to upRouter(config-subif)#en

Router(config-subif)#encapsulation do

Router(config-subif)#encapsulation dot1Q ?

<1-1005> IEEE 802.1Q VLAN ID

Router(config-subif)#encapsulation dot1Q 1

Router(config-subif)#ip ad

Router(config-subif)#ip address 192.168.1.1 255.255.255.0

Router(config-subif)#no sh

Router(config-subif)#no shutdown

Router(config-subif)#


二、tplink路由器vlan怎么设置

你好,

1、在很多网络环境中,基于网络隔离的原因,无线AP通常会安装在不同的802.1Q VLAN中。

这种环境下,AC需要能够同时管理不同VLAN下的AP。

2、将AC的连接到核心交换机的有线接口加入到AP所在的VLAN,如下图所示(本例中在VLAN2、3、4、5、8中有需要管理的AP):

3、将AC连接到核心交换机中,核心交换机连接AC的接口类型需要为TRUNK接口,且该接口需要加入到所有AP所在的VLAN中。