projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix config routes enable/disable handling on down/up
[project/netifd.git]
/
config
/
network
diff --git
a/config/network
b/config/network
index
2361aa0
..
782557b
100644
(file)
--- a/
config/network
+++ b/
config/network
@@
-7,11
+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
- list ifname
eth0.1
- list ifname
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
@@
-24,6
+24,7
@@
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
@@
-41,8
+42,19
@@
config interface wan
option username foo
option password bar
option username foo
option password bar
+config interface wlan
+ option proto static
+ option ipaddr 192.168.2.1
+ option netmask 255.255.255.0
+
config interface test
option ifname @test
option proto static
option ipaddr 192.168.5.1
option netmask 255.255.255.0
config interface test
option ifname @test
option proto static
option ipaddr 192.168.5.1
option netmask 255.255.255.0
+
+config route
+ option target 192.168.0.1
+ option netmask 24
+ option gateway 192.168.5.2
+ option interface wan