netifd: set current_config for simple devices when parsing device config
[project/netifd.git] / config / network
index 9b16bba..b2985d3 100644 (file)
@@ -42,8 +42,33 @@ config interface wan
        option username foo
        option password bar
 
-config interface test
-       option ifname   @test
+config alias wan1
        option proto    static
-       option ipaddr   192.168.5.1
+       option interface        wan
+       option ipaddr   192.168.99.1
+       option ip6addr  2a01:4f8:131:30e2::2/59
        option netmask  255.255.255.0
+       option gateway  192.168.99.3
+
+config route6
+       option interface wan1
+       option target ::0/0
+       option gateway 2a01:4f8:131:30e2::1
+
+config interface wlan
+       option proto    static
+       option ipaddr   192.168.2.1
+       option netmask  255.255.255.0
+
+config interface pptp
+       option proto    pptp
+       option server   1.1.1.1
+       option peerdns  0
+       option dns              192.168.10.1
+
+config route
+       option target   192.168.0.1
+       option netmask  24
+       option gateway  192.168.5.2
+       option interface wan
+