add a route6 example to the dummy network config
[project/netifd.git] / config / network
index 17c7f98..b2985d3 100644 (file)
@@ -42,6 +42,19 @@ config interface wan
        option username foo
        option password bar
 
+config alias wan1
+       option proto    static
+       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
@@ -51,6 +64,7 @@ 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