chiark / gitweb /
hosts.lisp, distorted.lisp: Allocate an IPv6 range for DHCP.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 20 Sep 2017 21:55:50 +0000 (22:55 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 20 Sep 2017 21:55:50 +0000 (22:55 +0100)
The magic 32-bit hex string spells out `dhcp' in ASCII.

distorted.lisp
hosts.lisp

index 6150d58848a8509c429365990120136a86fc11e8..d71124a191bdb57d8d6d5017d7c47190e7496ecc 100644 (file)
@@ -445,8 +445,20 @@ (defrevzone (distorted.org.uk-aaisp :family :ipv6)
        telecaster.distorted.org.uk.
        national.distorted.org.uk.
        secondary-dns.co.uk.)
+  (0.7.3.6.8.6.4.6.1.0.0.0 :ns (radius.distorted.org.uk.
+                               vampire.distorted.org.uk.
+                               precision.distorted.org.uk.
+                               telecaster.distorted.org.uk.
+                               national.distorted.org.uk.))
   :reverse ((((:ipv6 distorted.org.uk-aaisp)))))
 
+(defrevzone (dhcp :family :ipv6)
+  :ns (radius.distorted.org.uk.
+       vampire.distorted.org.uk.
+       precision.distorted.org.uk.
+       telecaster.distorted.org.uk.
+       national.distorted.org.uk.))
+
 (defrevzone distorted.org.uk-jump
   :ns (radius.distorted.org.uk.
        vampire.distorted.org.uk.
index 9cd6a7301d15f248b2e97a73eaf8e4a2fc149392..25e151e8660ac102517c8d94f876eac74be522df 100644 (file)
@@ -40,7 +40,8 @@ (defnet distorted.org.uk "172.29.198/23"
 (defnet gw "81.2.113.195")
 (defnet dmz "81.187.238.128/28")
 (defnet distorted.org.uk-aaisp "2001:8b0:c92/48"
-  (unsafe "1/64")
+  (unsafe "1/64"
+    (dhcp "6468:6370/96"))
   (dmz "fff/64")
   (safe "4001/64")
   (untrusted "8001/64"))