Commit | Line | Data |
---|---|---|
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)) | |
04db9729 | 50 | (defhost anon.dmz (dmz 12)) |
ff6c53ad MW |
51 | (defhost gate.dmz (dmz 13)) |
52 | (defhost nat.dmz (dmz 14)) | |
53 | ||
38c2de7c MW |
54 | ;; Colocated addresses. |
55 | (defhost fender.jump (jump 5)) | |
56 | (defhost precision.jump (jump 6)) | |
57 | (defhost telecaster.jump (jump 7)) | |
58 | (defhost stratocaster.jump (jump 8)) | |
59 | (defhost jazz.jump (jump 9)) | |
a20ec58c | 60 | (defhost richmond.jump (jump 12)) |
c2118713 | 61 | (defhost blackhole.jump (jump 14)) |
38c2de7c | 62 | |
ff6c53ad MW |
63 | ;; Unsafe network. |
64 | (defhost radius.unsafe (unsafe 1)) | |
65 | (defhost roadstar.unsafe (unsafe 2)) | |
66 | (defhost jem.unsafe (unsafe 3)) | |
67 | (defhost artist.unsafe (unsafe 4)) | |
68 | (defhost vampire.unsafe (unsafe 5)) | |
69 | (defhost ibanez.unsafe (unsafe 14)) | |
70 | ||
71 | ;; Safe network. | |
d8536712 MW |
72 | (defhost radius.safe (safe 1)) |
73 | (defhost vampire.safe (safe 2)) | |
74 | (defhost evolution.safe (safe 3)) | |
ff6c53ad MW |
75 | |
76 | ;; Wireless network. | |
77 | (defhost radius.untrusted (untrusted 1)) | |
0302997e | 78 | (defhost artist.untrusted (untrusted 2)) |
ff6c53ad MW |
79 | (defhost vampire.untrusted (untrusted 3)) |
80 | ||
81 | ;; Virtual private network. | |
374be896 MW |
82 | (defhost crybaby.vpn (vpn 1)) |
83 | (defhost terror.vpn (vpn 2)) | |
2ed695e4 MW |
84 | (defhost orange.vpn (vpn 3)) |
85 | (defhost mango.vpn (vpn 4)) | |
ff6c53ad MW |
86 | |
87 | ;; Iodine network. | |
17c95de9 | 88 | (defhost jazz.iodine (iodine 1)) |
ff6c53ad MW |
89 | |
90 | ;; Special network for ITS. | |
91 | ;; It doesn't understand point-to-point links, so we need a little net. | |
92 | (defhost gw.its (its 1)) | |
93 | (defhost mz.its (its 2)) | |
94 | ||
38c2de7c MW |
95 | ;; Internal (VPN) addresses for colocated services. |
96 | (defhost fender.colo (colo 1)) | |
97 | (defhost precision.colo (colo 2)) | |
98 | (defhost telecaster.colo (colo 3)) | |
99 | (defhost stratocaster.colo (colo 4)) | |
100 | (defhost jazz.colo (colo 5)) | |
101 | ||
345c0f69 MW |
102 | ;; Anycast addresses for services. |
103 | (defhost dns0.any (any 0)) | |
104 | (defhost dns1.any (any 1)) | |
105 | (defhost ntp0.any (any 2)) | |
106 | (defhost ntp1.any (any 3)) | |
107 | (defhost www-cache.any (any 4)) | |
cfecfa5c MW |
108 | (defhost krb0.any (any 5)) |
109 | (defhost krb1.any (any 6)) | |
345c0f69 | 110 | |
8dcb3700 MW |
111 | ;;;-------------------------------------------------------------------------- |
112 | ;;; Satellite networks. | |
113 | ||
114 | ;; Binswood. Address range retroactively claimed from Cambridge G-RIN. | |
115 | (defnet binswood.org.uk 10.165.27.0/24 | |
116 | (binswood 256)) | |
117 | (defhost netgear.binswood (binswood 1)) | |
118 | (defhost linksys.binswood (binswood 2)) | |
119 | (defhost mango.binswood (binswood 3)) | |
3981f7c3 | 120 | (defhost hplaser.binswood (binswood 4)) |
8dcb3700 | 121 | |
ff6c53ad MW |
122 | ;;;-------------------------------------------------------------------------- |
123 | ;;; Host switch. | |
124 | ||
125 | (preferred-subnet-case | |
c0430253 | 126 | ((unsafe colo) |
ff6c53ad | 127 | (defhost radius radius.unsafe) |
f0209b9c | 128 | (defhost precision precision.colo) |
4c25329e | 129 | (defhost stratocaster stratocaster.colo) |
c0430253 MW |
130 | (defhost vampire vampire.unsafe)) |
131 | (t | |
132 | (defhost radius radius.dmz) | |
f0209b9c | 133 | (defhost precision precision.jump) |
4c25329e | 134 | (defhost stratocaster stratocaster.jump) |
c0430253 | 135 | (defhost vampire vampire.dmz))) |
ff6c53ad MW |
136 | |
137 | ;;;----- That's all, folks -------------------------------------------------- |