Add (start of) Network documentation
[noc.git] / doc / Network.mdwn
1 # Network infrastructure
2
3 ## VLANs
4
5 NOC runs 2 core switches (one in each room), carrying a bunch of VLANs:
6 - 33 is the management VLAN (192.168.33.0/24);
7 - 127 is the LAN (192.168.127.0/24);
8 - 255 (`0xFF`) is our Funkfeuer VLAN.
9
10 The switches have hostnames `sw{0,1}.mgmt.realraum.at`, and the WiFi access
11 points are similarly `ap{0,1}.mgmt.realraum.at`. `0` denotes the main room, and
12 `1` denotes Wöhnung 2.
13
14
15 ## WiFi
16
17 Each location has a single AP, `ap{0,1}.mgmt.realraum.at`, which provides SSIDs
18 for the management VLAN (`realstuff`) and the LAN (`realraum` and `realraum5`);
19 we use Ubiquity hardware running OpenWRT.
20
21 Moreover, realfunk has an Archer C7 acting as a VLAN-capable switch
22 and as a Funkfeuer node; it does **not** provide the realraum SSIDs.
23
24
25 ## Physical locations
26
27 ### Wöhnung 2
28
29 #### Raum 1
30
31 r1w2 has two fiber connections: one to the main room, and one to the radio room.
32 (We use fiber to avoid creating a ground loop between the locations.)
33
34 In r1w2, we have a rack hosting a number of devices:
35 - the patch panel and core switch (`sw1.mgmt.realraum.at`) for W2;
36 - the `alfred` virtualization server;
37 - miscelaneous devices:
38   - RIPE ATLAS probe;
39   - some Raspberry Pi belonging to members;
40   - ...
41
42 **Note:** members setting up devices that only need power and network access
43           should do so in this rack (or even better, run a VM or a container
44           on `alfred`).
45           
46
47 #### realfunk
48
49 realfunk receives the `0xFF` and LAN VLANs trunked on a single fiber;
50 the switch there, `sw2.mgmt.realraum.at`, provides untagged ports on either VLAN.
51
52
53 ### Main room
54
55 The main room has its patch panel and core switch (`sw0.mgmt.realraum.at`) in
56 Cx. The patch panel has a fiber link to r2w1, and a copper link to an external
57 antenna for our link to Funkfeuer.
58
59 The network shelf in Cx also houses some important devices:
60 - `gw.realraum.at`;
61 - `smsgw.mgmt.realraum.at`, plus its mobile phone;
62 - the PoE injectors for `ap0.mgmt.realraum.at` and `sch24.r3.ffgraz.net`;
63 - `test.r3.ffgraz.net`, which is a test Funkfeuer node.