hosts.lisp, distorted.lisp: Add Nicko's virtual server `richmond'.
[zones] / hosts.lisp
CommitLineData
ff6c53ad
MW
1;;; -*-lisp-*-
2;;;
3;;; distorted.org.uk hosts and networks, and other useful addresses.
4
5;;;--------------------------------------------------------------------------
6;;; External hosts.
e80b4c2d 7
e80b4c2d 8(defhost boyle.nsict.org 85.158.42.162)
7605ad5e 9(defhost chiark.greenend.org.uk 212.13.197.229)
e80b4c2d 10(defhost mccoy.flatline.org.uk 80.74.241.31)
3dfd711e
MW
11(defhost mythic-ns1 69.56.173.190)
12(defhost mythic-ns2 93.93.128.67)
ff6c53ad
MW
13
14;;;--------------------------------------------------------------------------
15;;; Internal addresses.
16
17;; Externally routable DMZ.
18(defnet dmz 62.49.204.144/28)
19
38c2de7c
MW
20;; Externally routed colo range.
21(defnet jump 212.13.198.66/28)
22
ff6c53ad
MW
23;; (RFC1918 addresses are allocated from Cambridge G-RIN.)
24(defnet distorted.org.uk 172.29.198.0/23
25 (untrusted 256
26 (wireless 128)
27 (iodine 16))
28 (trusted 256
29 (wired 128
30 (unsafe 32)
9dc37b96 31 (dhcp 32))
374be896 32 (vpn 32)
9dc37b96 33 (nil 16
38c2de7c 34 (its 4))
9dc37b96 35 (colo 16)
72976fde
MW
36 (safe 32)
37 (any 32)))
ff6c53ad
MW
38
39;;;--------------------------------------------------------------------------
40;;; Host allocations
41
42;; External addresses.
43(defhost guvnor.dmz (dmz 1))
44(defhost radius.dmz (dmz 2))
45(defhost roadstar.dmz (dmz 3))
46(defhost jem.dmz (dmz 4))
47(defhost artist.dmz (dmz 5))
48(defhost vampire.dmz (dmz 6))
49(defhost ibanez.dmz (dmz 9))
85a3496c 50(defhost iodine.dmz (dmz 11))
04db9729 51(defhost anon.dmz (dmz 12))
ff6c53ad
MW
52(defhost gate.dmz (dmz 13))
53(defhost nat.dmz (dmz 14))
54
38c2de7c
MW
55;; Colocated addresses.
56(defhost fender.jump (jump 5))
57(defhost precision.jump (jump 6))
58(defhost telecaster.jump (jump 7))
59(defhost stratocaster.jump (jump 8))
60(defhost jazz.jump (jump 9))
a20ec58c 61(defhost richmond.jump (jump 12))
c2118713 62(defhost blackhole.jump (jump 14))
38c2de7c 63
ff6c53ad
MW
64;; Unsafe network.
65(defhost radius.unsafe (unsafe 1))
66(defhost roadstar.unsafe (unsafe 2))
67(defhost jem.unsafe (unsafe 3))
68(defhost artist.unsafe (unsafe 4))
69(defhost vampire.unsafe (unsafe 5))
70(defhost ibanez.unsafe (unsafe 14))
71
72;; Safe network.
d8536712
MW
73(defhost radius.safe (safe 1))
74(defhost vampire.safe (safe 2))
75(defhost evolution.safe (safe 3))
ff6c53ad
MW
76
77;; Wireless network.
78(defhost radius.untrusted (untrusted 1))
79(defhost evolution.untrusted (untrusted 2))
80(defhost vampire.untrusted (untrusted 3))
81
82;; Virtual private network.
374be896
MW
83(defhost crybaby.vpn (vpn 1))
84(defhost terror.vpn (vpn 2))
ff6c53ad
MW
85
86;; Iodine network.
87(defhost vampire.iodine (iodine 1))
88
89;; Special network for ITS.
90;; It doesn't understand point-to-point links, so we need a little net.
91(defhost gw.its (its 1))
92(defhost mz.its (its 2))
93
38c2de7c
MW
94;; Internal (VPN) addresses for colocated services.
95(defhost fender.colo (colo 1))
96(defhost precision.colo (colo 2))
97(defhost telecaster.colo (colo 3))
98(defhost stratocaster.colo (colo 4))
99(defhost jazz.colo (colo 5))
100
345c0f69
MW
101;; Anycast addresses for services.
102(defhost dns0.any (any 0))
103(defhost dns1.any (any 1))
104(defhost ntp0.any (any 2))
105(defhost ntp1.any (any 3))
106(defhost www-cache.any (any 4))
107
ff6c53ad
MW
108;;;--------------------------------------------------------------------------
109;;; Host switch.
110
111(preferred-subnet-case
c0430253 112 ((unsafe colo)
ff6c53ad 113 (defhost radius radius.unsafe)
f0209b9c 114 (defhost precision precision.colo)
4c25329e 115 (defhost stratocaster stratocaster.colo)
c0430253
MW
116 (defhost vampire vampire.unsafe))
117 (t
118 (defhost radius radius.dmz)
f0209b9c 119 (defhost precision precision.jump)
4c25329e 120 (defhost stratocaster stratocaster.jump)
c0430253 121 (defhost vampire vampire.dmz)))
ff6c53ad
MW
122
123;;;----- That's all, folks --------------------------------------------------