From: Josua Mayer Date: Mon, 22 May 2017 17:07:13 +0000 (+0200) Subject: mvebu: clearfog: assign SFP port to WAN zone X-Git-Tag: v18.06.0-rc1~2820 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=d41a441bb613537916460542eb89d517d1856b5d;p=openwrt%2Fstaging%2Fxback.git mvebu: clearfog: assign SFP port to WAN zone The single SFP port is meant for direct media access to WAN, such as VDSL2, GPON). While it could also be used for in-home fiber, it is much more likely that the LAN is standard ethernet, especially considering that SFP is the onmly port that can go beyond 1Gbps. Signed-off-by: Josua Mayer --- diff --git a/target/linux/mvebu/base-files/etc/board.d/02_network b/target/linux/mvebu/base-files/etc/board.d/02_network index 57ffbb486a..94ce7d7b25 100755 --- a/target/linux/mvebu/base-files/etc/board.d/02_network +++ b/target/linux/mvebu/base-files/etc/board.d/02_network @@ -31,7 +31,7 @@ armada-388-clearfog-*) # eth0 is standalone ethernet # eth1 is switch (-pro) or standalone ethernet (-base) # eth2 is SFP - ucidef_set_interfaces_lan_wan "eth1 eth2" "eth0" + ucidef_set_interfaces_lan_wan "eth1" "eth0 eth2" # if switch exists (clearfog-pro) # switch port 5 is connected to eth1