硬件平台:mt7688
软件平台:原生sdk MediaTek_ApSoC_SDK_4300_20140916
1.使用 ifconfig -a 命令可以列出mt7688上面所有的逻辑网卡接口,常见接口如下:
apcli0 : The wireless apcli interface is treated as WAN port, and the wireless ap interface and the ethernet ports are LAN ports.
ap client模式下通过wireless 接口作为wan口连接上级无线路由,可以设置apcli0和apcli1两个逻辑接口分别连接不同的热点
br0: All ethernet and wireless interfaces are bridged into a single bridge interface
所有的网卡接口和无线接口都桥接到同一个桥接接口上。
eth2 : cpu物理网卡接口
eth2.1: 在eth2基础上虚拟出来的vlan
eth2.2:在eth2基础上虚拟出来的vlan
lo:本地的回环
ra0:mt7688的2.4g无线网卡接口
rai0:mt7688外部网卡接口,例如通过pci-e连接mt7610e
wds0 : wds点对点中继接口
apclii0:在外接物理接口 rai0上建立的ap client接口。