6relayd: add suitable default configuration
[openwrt/svn-archive/archive.git] / package / network / ipv6 / 6relayd / files / 6relayd.config
index c5431d31b2885816907373e20a973612a8a82d54..fd0d29d37c3e10ab0fa2021b9bca018325d66c46 100644 (file)
@@ -1,8 +1,17 @@
+config server default
+       option master   wan6
+       list network    lan
+       option rd       server
+       option dhcpv6   server
+       option fallback_relay   'rd dhcpv6 ndp'
+
+
 # Example #1: Create a relay for several networks in proxy mode
 # This can be used to proxy Router Discovery, DHCPv6 and NDP.
 
-#config relay
-#      option network  'wan lan'
+#config server examplerelay
+#      option master   'wan'
+#      option network  'lan'
 #      option rd       'relay'
 #      option dhcpv6   'relay'
 #      option ndp      'relay'
@@ -11,7 +20,8 @@
 # Example #2: Provide Router Discovery and stateless DHCPv6 in server mode
 # This can be used as a small radvd and stateless DHCPv6-server replacement.
 
-#config server
+#config server exampleserver
 #      option network  'lan'
 #      option rd       'server'
 #      option dhcpv6   'server'
+