硬件平臺: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接口。