fff-network: Only use one Switch Port on Archer C7v2

Previously the TP-Link Archer C7v2 was configured to use
two Switch CPU Interfaces. One for Trunk (Client + Batman), one
for WAN.

As this setup is very uncommon in our firmware at the moment and does interfere
with the automatic CPU Port setup in layer3 variant, it is converted to a single
trunk port setup just like all of the other routers with integrated managed switches.

As eth0 is now used as the switchport, this change would require to setup
a different ETHMESHMAC if mac addresses would be shared between interfaces.

The device does seems to have 4 discrete mac addresses however, so the
explicit ETHMESHMAC setting is completely removed instead.

Signed-off-by: Fabian Bläse <fabian@blaese.de>
Reviewed-by: Christian Dresel <fff@chrisi01.de>
This commit is contained in:
Fabian Bläse 2019-12-03 18:43:33 +01:00
parent d718d0faa9
commit 8d66bdf35c
1 changed files with 2 additions and 3 deletions

View File

@ -1,8 +1,7 @@
WANDEV=eth0
WANDEV=eth1
SWITCHDEV=eth1
CLIENT_PORTS="4 5 0t"
WAN_PORTS="1 6"
WAN_PORTS="1 0t"
BATMAN_PORTS="2 3 0t"
ETHMESHMAC=$(cat /sys/class/net/eth0/address)
ROUTERMAC=$(cat /sys/class/net/eth1/address)