User Tools

Site Tools


projects:network

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
projects:network [2020/04/18 20:21] hibbyprojects:network [2023/04/14 11:13] (current) Q Misell
Line 1: Line 1:
 ====== Network ====== ====== Network ======
  
-The 57North Hacklab Network will provide all the necessary components to connect our hackers to the public Internet using both IPv4 and IPv6 and also to the ChaosVPN, dn42 and Freifunk networks.+The 57North Hacklab Network will provide all the necessary components to connect our hackers to the public Internet using both IPv4 and IPv6.
  
-===== Component Overview ===== +===== Network Components =====
- +
-<code> +
-                             _ __             +
-                          __( =  =- _         +
-             ----------  (-        )__- -_  +
-            /          (_-= _(    =-    _=-   +
-           /              -=__(__  _-)-       +
-          |                     -=-           +
-          |                                   +
-          |                                  /`(HE Tunnel Endpoint) +
-          |           +--------------------+ +
-          |           | bennachie.57n.dn42 |----(Various dn42 peerings) +
-     +-----------+    +---|0|--|1|---|2|---+ +
-     | HG612     |________/               +
-     +-----------+              |             +
-                      +--------|xx|--|xx|---+ +
-                      |  Core Switch        | +
-     +-----------+    +-|xx|-----------|xx|-+ +
-     | OpenWRT   |______/ +
-     +-----------+ +
- </code>+
  
 ==== Router ==== ==== Router ====
  
-bennachie.57n.dn42 is an apu3c4 board running OpenBSD. It terminates the PPPoE tunnel from Converged and has a 2G LACP trunk into the core switch in the same rack. This trunk uses 802.1Q encapsulation to carry multiple VLANs as detailed below. +The router is at router.hl.57north.net.ukIPv4172.23.152.254IPv62a11:f2c0:fc00::1.
- +
-=== Recovery / Reinstatement === +
- +
-In the event of a failure, the configuration for this box is backed up to an SD card. This card appears as `/dev/sd1i` and is mounted normally at `/sdcard`This is FAT formatted, not FFS, so it is possible to just plug this into whatever to read the contentsOn this SD card you'll find a readme and a tar file containing the contents of /etc +
-<code> +
-Step 1: Network interfaces +
--------------------------- +
- +
-  em0- Links to the VDSL modem +
- +
-  em1\ +
-      > LACP trunk with vlans to the switch +
-  em2/ +
- +
- There are then a bunch of VLANs and tunnels. The descriptions +
- for these in the hostname.if(5) files will tell you what they +
- are, those files are the source of truth. +
- +
-Step 2Services +
----------------- +
- +
-Look in /etc/rc.conf.local (or its backup) and you'll find the +
-services that are/were enabledYou'll find their config files and +
-do the right thing with them. +
- +
-Step 3Packages +
----------------- +
- +
-Other than the base system, some packages are configured: +
- +
-  * MRTG +
- +
-Packages are not critical to the operation of the router. As far +
-as possible we should use only the base system to make it easier +
-to keep track of things. Similarly, files in /var are considered +
-temporary. The only state really is in /etc. This means we don'+
-backup DHCP leases but we do backup the static assignments, for +
-example. +
-</code> +
-===== Networks =====+
  
-When considering new IP rangesit is necessary to consider which ranges would already be in use in ChaosVPN, dn42 and Freifunk. The range 192.168.0.0/16 is available for local use and not routed outside the hackerspace. For IPv6, the hackerspace has a global scope address block (2001:470:510b::/48), from Hurricane Electric, and this surfaces in Germany (who has the account for this?).+This terminates the PPPoE connection, and announces the space's AMPRnet and IPv6 space via BGP over WireGuard.
  
-Some blocks in this table have been marked as legacy. This is because the addressing they use was from ChaosVPN, and we are now instead looking at dn42 for inter-hackerspace peering. ChaosVPN and dn42 co-ordinate on address space and also peer with each other and so we should not be losing any connectivity. +===== DHCP / RA =====
  
-Our DN42 ASN is [[https://registry.dn42.us/registry/aut-num/AS4242421057|AS4242421057]]+The router will hand out DHCP leases in the 172.23.152.0/24 range, and advertises stateless IPv6 configuration for 2a11:f2c0:fc00::/64 via RAs.
  
-^ VLAN ^ Description ^ Address Range ^ IPv6 ^ +The DHCPv4 server is ISC DHCP server, and the RA server is RADVD.
-| 120 | LAN | 172.23.152.0/24 | ? |+
  
 ==== Static Addresses ==== ==== Static Addresses ====
  
-A segment of addresses in the wired LAN is reserved for infrastructure projects. These IP addresses should only be used for long-lived devices in the space that provide services to members. If you require a static IP address temporarily or for a project that does not provide services to members then you should use an IP address from the segment of "first come first served" addresses. The remainder of the subnet is reserved for the DHCP pool. +A segment of addresses in the wired LAN is reserved for infrastructure projects. These IP addresses should only be used for long-lived devices in the space that provide services to members. If you require a static IP address temporarily or for a project that does not provide services to members then you should use an IP address from the segment of "first come first served" addresses. The remainder of the subnet is reserved for the DHCP pool. These static addresses are handed out via static DHCP leases.
  
 ^ IP Address ^ Hostname ^ Description ^ Contact ^ ^ IP Address ^ Hostname ^ Description ^ Contact ^
Line 91: Line 29:
 | 172.23.152.4 | octopi | RaspberryPi connected to the space Mendel Prusa I2 3D printer | [[User:Nordin]]| | 172.23.152.4 | octopi | RaspberryPi connected to the space Mendel Prusa I2 3D printer | [[User:Nordin]]|
 | 172.23.xxx.xx | Printer | The Big Friendly Printer | [[User: hibby]] | | 172.23.xxx.xx | Printer | The Big Friendly Printer | [[User: hibby]] |
 +| 172.23.152.15 | pve1.57north.net.uk | Proxmox 1 | [[User: theenbyperor]] |
 +| 2a11:f2c0:fc00::15 | pve1.57north.net.uk | Proxmox 1 | [[User: theenbyperor]] |
 +| 172.23.152.16 | pve2.57north.net.uk | Proxmox 2 | [[User: theenbyperor]] |
 +| 2a11:f2c0:fc00::16 | pve2.57north.net.uk | Proxmox 2 | [[User: theenbyperor]] |
 | ''172.23.152.xx-xxx'' | ''*First come first served*'' | ''Static Allocations'' | ''[[Projects:Network]]'' | | ''172.23.152.xx-xxx'' | ''*First come first served*'' | ''Static Allocations'' | ''[[Projects:Network]]'' |
  
Line 135: Line 77:
 | 24 |  | | 24 |  |
  
-===== ChaosVPN ===== +{{tag>active network IP LAN patch_panel Infrastructure}}
- +
-[[http://wiki.hamburg.ccc.de/ChaosVPN | ChaosVPN]] is a VPN to connect hackers and hackerspaces. The wired and wireless LANs are connected to ChaosVPN and, via ChaosVPN, dn42 and Freifunk's networks. +
- +
-{{tag>project active network IP LAN patch_panel}}+
projects/network.1587241286.txt.gz · Last modified: 2020/07/07 20:48 (external edit)