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
Next revisionBoth sides next revision
projects:network [2020/04/18 18:45] hibbyprojects:network [2022/09/07 13:29] hibby
Line 3: Line 3:
 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 and also to the ChaosVPN, dn42 and Freifunk networks.
  
-===== Component Overview =====+===== Network Components ===== 
 + 
 +==== 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. 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.
 +
 +=== 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 contents. On this SD card you'll find a readme and a tar file containing the contents of /etc.  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 contents. On 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 2: Services
 +----------------
 +
 +Look in /etc/rc.conf.local (or its backup) and you'll find the
 +services that are/were enabled. You'll find their config files and
 +do the right thing with them.
 +
 +Step 3: Packages
 +----------------
 +
 +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't
 +backup DHCP leases but we do backup the static assignments, for
 +example.
 +</code>
 +
 +==== Network Architecture ====
 +
 +
 +<code>
 +                             _ __            
 +                          __( =  =- _        
 +             ----------  (-        )__- -_ 
 +            /          (_-= _(    =-    _=-  
 +           /              -=__(__  _-)-      
 +          |                     -=-          
 +          |                                  
 +          |                                  /`(HE Tunnel Endpoint)
 +          |           +--------------------+
 +          |           | bennachie.57n.dn42 |----(Various dn42 peerings)
 +     +-----------+    +---|0|--|1|---|2|---+
 +     | HG612     |________/              
 +     +-----------+              |            
 +                      +--------|xx|--|xx|---+
 +                      |  Core Switch        |
 +     +-----------+    +-|xx|-----------|xx|-+
 +     | OpenWRT   |______/
 +     +-----------+
 + </code>
 +
  
 ===== Networks ===== ===== Networks =====
Line 79: Line 144:
 [[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. [[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 network IP LAN patch_panel}}+{{tag>active network IP LAN patch_panel Infrastructure}}
projects/network.txt · Last modified: 2023/04/14 11:13 by Q Misell