chiark / gitweb /
distorted.lisp, harlequin.lisp, hosts.lisp: Reorgranization.
[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
20;; (RFC1918 addresses are allocated from Cambridge G-RIN.)
21(defnet distorted.org.uk 172.29.198.0/23
22 (untrusted 256
23 (wireless 128)
24 (iodine 16))
25 (trusted 256
26 (wired 128
27 (unsafe 32)
28 (dhcp 32)
29 (safe 32))
30 (virtual 32)
31 (its 4)))
32
33;;;--------------------------------------------------------------------------
34;;; Host allocations
35
36;; External addresses.
37(defhost guvnor.dmz (dmz 1))
38(defhost radius.dmz (dmz 2))
39(defhost roadstar.dmz (dmz 3))
40(defhost jem.dmz (dmz 4))
41(defhost artist.dmz (dmz 5))
42(defhost vampire.dmz (dmz 6))
43(defhost ibanez.dmz (dmz 9))
44(defhost gate.dmz (dmz 13))
45(defhost nat.dmz (dmz 14))
46
47;; Unsafe network.
48(defhost radius.unsafe (unsafe 1))
49(defhost roadstar.unsafe (unsafe 2))
50(defhost jem.unsafe (unsafe 3))
51(defhost artist.unsafe (unsafe 4))
52(defhost vampire.unsafe (unsafe 5))
53(defhost ibanez.unsafe (unsafe 14))
54
55;; Safe network.
56(defhost tubescreamer.safe (safe 1))
57(defhost obsidian.safe (safe 2))
58
59;; Wireless network.
60(defhost radius.untrusted (untrusted 1))
61(defhost evolution.untrusted (untrusted 2))
62(defhost vampire.untrusted (untrusted 3))
63
64;; Virtual private network.
65(defhost crybaby.virtual (virtual 1))
66(defhost terror.virtual (virtual 2))
67
68;; Iodine network.
69(defhost vampire.iodine (iodine 1))
70
71;; Special network for ITS.
72;; It doesn't understand point-to-point links, so we need a little net.
73(defhost gw.its (its 1))
74(defhost mz.its (its 2))
75
76;;;--------------------------------------------------------------------------
77;;; Host switch.
78
79(preferred-subnet-case
80 (dmz
81 (defhost radius radius.dmz)
82 (defhost vampire vampire.dmz))
83 (t
84 (defhost radius radius.unsafe)
85 (defhost vampire vampire.unsafe)))
86
87;;;----- That's all, folks --------------------------------------------------