projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
apply device settings to simple devices with config specified from the interface...
[project/netifd.git]
/
config
/
network
diff --git
a/config/network
b/config/network
index
1f803a0
..
9b16bba
100644
(file)
--- a/
config/network
+++ b/
config/network
@@
-7,10
+7,11
@@
config interface loopback
option netmask 255.0.0.0
config device
option netmask 255.0.0.0
config device
- option name br-lan
- option type bridge
- option ifname "eth0.1 eth0.2"
- option mtu 1500
+ option name br-lan
+ option type bridge
+ list ifname eth0.1
+ list ifname eth0.2
+ option mtu 1500
config device
option name dummy
config device
option name dummy
@@
-23,12
+24,26
@@
config interface lan
config interface dummy
option ifname eth0.4
config interface dummy
option ifname eth0.4
+ option mtu 1500
option proto none
config interface lan2
option proto none
config interface lan2
- option ifname
eth0.3
+ option ifname
"eth0.3 eth0.5"
option type bridge
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
option type bridge
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
+ option gateway 192.168.1.2
+ option dns '192.168.1.5 192.168.1.6'
+
+config interface wan
+ option proto pppoe
+ option ifname br-lan2
+ option username foo
+ option password bar
+config interface test
+ option ifname @test
+ option proto static
+ option ipaddr 192.168.5.1
+ option netmask 255.255.255.0