inteno-netmodes: set vid for lan and wan devices for mtk

This commit is contained in:
Sukru Senli 2018-02-07 11:27:37 +01:00
parent c2b14d454a
commit ae406ee1eb
3 changed files with 6 additions and 0 deletions

View file

@ -7,6 +7,7 @@ config interface 'loopback'
config device 'lan_dev'
option name 'eth0.1'
option macaddr '$MACLAN'
option vid 1
config interface 'wan'
option type 'bridge'
@ -19,6 +20,7 @@ config interface 'wan'
config device 'wan_dev'
option name 'eth0.2'
option macaddr '$MACWAN'
option vid 2
config interface 'wan6'
option ifname '@wan'

View file

@ -7,6 +7,7 @@ config interface 'loopback'
config device 'lan_dev'
option name 'eth0.1'
option macaddr '$MACLAN'
option vid 1
config interface 'wan'
option type 'bridge'
@ -19,6 +20,7 @@ config interface 'wan'
config device 'wan_dev'
option name 'eth0.2'
option macaddr '$MACWAN'
option vid 2
config interface 'wan6'
option ifname '@wan'

View file

@ -16,6 +16,7 @@ config interface 'lan'
config device 'lan_dev'
option name 'eth0.1'
option macaddr '$MACLAN'
option vid 1
config interface 'wan'
option ifname 'eth0.2'
@ -27,6 +28,7 @@ config interface 'wan'
config device 'wan_dev'
option name 'eth0.2'
option macaddr '$MACWAN'
option vid 2
config interface 'wan6'
option ifname '@wan'