Просмотр исходного кода

Update the example configuration for new listen statement

This remove the `interface` statement from the example configuration
(now ignored) and adds the new forms of ip addresses, as well as the
default option without any listen statement

Signed-off-by: Anatole Denis <anatole@unverle.fr>
Anatole Denis 6 лет назад
Родитель
Сommit
25b12dcd17
1 измененных файлов с 6 добавлено и 4 удалено
  1. 6 4
      cmds/coredhcp/config.yml.example

+ 6 - 4
cmds/coredhcp/config.yml.example

@@ -1,14 +1,16 @@
 server6:
 server6:
-    interface: "eth0"
-    #listen: 'your-unicast-address:547'
+    # Optionally add a listen statement as follows
+    # listen:
+        # - "[ff02::1:2]" # Listens on a link-local multicast address on all interfaces
+        # - "[fe80::1%eth0]:547" # Listens on a specific interface
+        # - "[::]" # Listens on the wildcard address. *No multicast group will be joined*
+    # Otherwise the default is ff02::1:2 on all interfaces and ff05::1:3 on the default multicast interface
     plugins:
     plugins:
         - server_id: LL 00:de:ad:be:ef:00
         - server_id: LL 00:de:ad:be:ef:00
         - file: "leases.txt"
         - file: "leases.txt"
         # - dns: 2001:4860:4860::8888 2001:4860:4860::8844
         # - dns: 2001:4860:4860::8888 2001:4860:4860::8844
 
 
 server4:
 server4:
-    listen: '0.0.0.0:67'
-    interface: "eth0"
     plugins:
     plugins:
         # - lease_time: 60s
         # - lease_time: 60s
         # - server_id: 10.10.10.1
         # - server_id: 10.10.10.1