mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-03-14 21:10:11 +01:00
inteno-netmodes: set vid for lan and wan devices for mtk
This commit is contained in:
parent
c2b14d454a
commit
ae406ee1eb
3 changed files with 6 additions and 0 deletions
|
|
@ -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'
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue