Попробуйте brctl
...
root@ap5:~# brctl --help
BusyBox v1.19.4 (2013-03-14 11:28:31 UTC) multi-call binary.
Usage: brctl COMMAND [BRIDGE [INTERFACE]]
Manage ethernet bridges
Commands:
show Show a list of bridges
addbr BRIDGE Create BRIDGE
delbr BRIDGE Delete BRIDGE
addif BRIDGE IFACE Add IFACE to BRIDGE
delif BRIDGE IFACE Delete IFACE from BRIDGE
setageing BRIDGE TIME Set ageing time
setfd BRIDGE TIME Set bridge forward delay
sethello BRIDGE TIME Set hello time
setmaxage BRIDGE TIME Set max message age
setpathcost BRIDGE COST Set path cost
setportprio BRIDGE PRIO Set port priority
setbridgeprio BRIDGE PRIO Set bridge priority
stp BRIDGE [1/yes/on|0/no/off] STP on/off
root@ap5:~# brctl show
bridge name bridge id STP enabled interfaces
br-lan 8000.deadc0decafe no eth0
wlan0
... используя 'delif' вы можете отключить нежелательные интерфейсы от моста.
Если версии имеют значение: Эти строки из "ATTITUDE ADJUSTMENT (12.09, r36088)"-box.
.Вышеуказанный код печатает вывод как,
Ссылка на вышеприведенный код - [1129582] здесь [1129583].[1129257].