447 Networking: Difference between revisions

From London Hackspace Wiki
(outdated page)
 
(58 intermediate revisions by 7 users not shown)
Line 9: Line 9:
80/20 FTTC, 1Tb bandwidth/mo with Zen, see [http://www.thinkbroadband.com/speedtest/results.html?id=136567567786516651458 speedtest] or [http://www.speedtest.net/result/2638092099.png]
80/20 FTTC, 1Tb bandwidth/mo with Zen, see [http://www.thinkbroadband.com/speedtest/results.html?id=136567567786516651458 speedtest] or [http://www.speedtest.net/result/2638092099.png]


We're getting a native IPv6 only ADSL connection thanks to [http://www.aa.net.uk/ Andrews & Arnold]!
We've got a native IPv6-only ADSL connection (150Gb/month) thanks to [http://www.aa.net.uk/ Andrews & Arnold]!


== IP's ==
== IP's ==


we have a /29 : 82.69.229.0/29, all are aliased on lo on boole, see /etc/iptable/rules for forwarding details
We have a /29 : 82.69.229.0/29, all are aliased on lo on boole, see /etc/iptable/rules for forwarding details.
 
For v6 we've got 2001:8b0:856:1::/64, we also get 2001:8b0:1111:1111::617a on the ppp link to boole.
 
Internally, we're on the chaosvpn range 172.31.24.0/23 (172.31.24.1-172.31.25.255) N.B: The network is ''not'' connected to the ChaosVPN at this time.
 
<graphviz>
digraph network {
 
"Zen Interweb" -> Boole
"A&A Interweb" -> Boole
 
Boole -> "Cisco1"
"Cisco1" -> "Cisco2"
"Cisco1" -> "Babbage"
"Cisco2" -> "AP 1"
"Cisco2" -> "AP 2"
}
</graphviz>
 
== DNS ==
 
[[Boole]] runs BIND as a nameserver and unbound as a caching resolver, they run on different IP addresses, it has to be done this way to make DNSSEC work.
 
The DHCP server registers hostnames that the DHCP clients send it into dns under '''dhcp.lan.london.hackspace.org.uk'''. The default search path is '''lan.london.hackspace.org.uk''', so if a client wants to lookup a hostname for a machine that is a DHCP client, e.g. '''fish''' then it would lookup '''fish.dhcp''', this configuration avoids problems with DHCP clients asking to be '''wpad''' etc...
 
Machines with static IP addresses use the subdomain '''lan.london.hackspace.org.uk''', so you can go straight to hosts '''chomsky''', '''tesla''', etc...
 
To flush the unbound cache run (with root privileges, on [[boole]]):
 
unbound-control flush_zone dhcp.lan.london.hackspace.org.uk
unbound-control flush_zone rev.lan.london.hackspace.org.uk
unbound-control flush_zone lan.london.hackspace.org.uk
 
== TLS ==
 
We don't run our own CA. Certs come from a mix of Startcom, Geotrust and Lets Encrypt. We'd like to migrate all the StartCom certs to Lets Encrypt. We use TLSA records tho they are mostly useful for email.
 
There is a list of our certificates here [[Networking/TLSCerts]]


== WiFi ==
== WiFi ==
Line 19: Line 57:
We have 6 Cisco 3502 Access points, current deployment:
We have 6 Cisco 3502 Access points, current deployment:


* AP1 - office/quiet room - now mounted properly, thanks [[User:Sully]]!
* AP1 - office/quiet room - now mounted properly, thanks [[User:Sully|Sully]]!
* AP2 - classroom ceiling.
* AP2 - classroom ceiling.
* AP3 -  
* AP3 - Radio Shack
* AP4 -  
* AP4 - Biohackers
* AP5 -  
* AP5 - ?
* AP6 - spare
* AP6 - spare


== Layer 2 ==
Due to a new version of Cisco ios the accesspoints won't let you log in if you present them with loads of ssh pubkeys. To force ssh to use a password use:


The phone line with FTTC on it come into the basement by the BT DP boxes, there is a hywai XXX there which presents it as a pppoe session, that is patched by port 19 up to eth1 on boole which is the main router. The rest of the network is connected to eth0 on boole via the cisco2 switch (at the moment). There is a 2 port trunk configured on both the cisco switches to connect them, however cisco1 is not yet live, some surgery is needed in the quiet room cabinet to get it all to fit.
ssh -o "PreferredAuthentications password" root@ap1


The 3com switch will go downstairs in the (now assembled rack) with a 2 port trunk via the 4 bits of cat5 that where run on tuesday night - they need terminating, and the rack needs power.
We have 3 SSID's:


Also in the rack in the quiet room is a 12 port poe injector. it only does 100Mbit and seems to confuse auto-negotiation so cisco2 has had ports 1-5 configured with _speed 100_. Those first 5 ports are plugged into ports 1-5 of the poe injector, at the moment we are only using ports 1 and 2 for ap1 and ap2. We have 2 standalone poe injectors that might do gigabit - it would make sense to use them for ap2 at least since it will get the most traffic.
* LondonHackspace - Standard WPA2 auth, the password can be found on notices stuck on the walls of most rooms
* LondonHackspace-5Ghz - As above but 5Ghz only
* spacenet - part of the [https://spacefed.net/wiki/index.php/SpaceFED SpaceFED] Federated inter-hackerspace wifi network, You'll need to setup [[LDAP]] account to use it.


=== todo ===
<s>We also have a Netgear WNDR3700v2 running OpenWRT, it runs the LondonHackspace2 SSID (same password as LondonHackspace), see [[Networking/WifiProblems|Wifi Problems]] for more details. It's on top of [[tesla]] or near it.</s> decommissioned a while back iirc.


==== quiet room rack ====
== Layer 2 ==


* upgrade ios on the switches
=== For Zen (ipv4) ===
* ra guard if we can, or use one of the linux things on boole
* 2nd 2 port trunk to go down to the basement rack
* 2nd patch panel
* <s>terminate the 2 cables to outside the classroom</s>
* terminate the 4 cables to the basement
* finish ground floor wireing
** classroom east and south walls
** main room south wall
* fit everything into the rack
* reattach doors and walls
** maybe try sound proof tiles on the walls?
* print out the patch panel port destinations and stick to the inside of the door and the wall under the rack


==== basement rack ====
The phone line with FTTC on it comes into the basement by the BT DP boxes, there is a Huawei EchoLife HG612 there which presents it as a PPPOE session, that is patched by port 10 to eth1 (n.b. labeled ETH2 on boole's case) on [[boole]].


* rack power
=== For A&A (ipv6) ===
* attempt to recalibrate ups
* ups in rack
* patch panel in rack
* terminate 4 cables from quiet room
* 3com switch in rack
* config a 2nd 2 port trunk on a switch in the quiet room
* link everything together


==== boole ====
The phone line with FTTC on it comes into the basement by the BT DP boxes, there is a Huawei something there which presents it as a PPPOE session, that is patched by port 11 to eth2 (n.b. labeled ETH3 on boole's case) on [[boole]].


* get more a&a details when it happens
=== Local Network ===
* v6 all the things. (since our ip range will change we have to fix all the dns as well)
* upgrade so we can get a 3.8 kernel, then patch with bufferbloat stuff


==== wifi ====
The rest of the network is connected to eth0 (labeled ETH1 on booles case) on boole via the cisco1 switch. There is a 2 port trunk configured on both the cisco switches to connect them.


* spacenet
[[Equipment/Cisco1]] is in the basement rack, [[Equipment/Cisco2]] is in the quietroom rack
* reduce transmit power?
* we may be getting a WLC :)


==== Pretty things ====
Also in the rack in the quiet room is a 12(?) port POE injector. Those first 5 ports are plugged into ports 1-5 of the poe injector, at the moment we are using ports 1 and 2 for ap1 and ap2, we also supply poe to backdoorbot, the main room camera, the classroom camera, and the socket in the cleaning cupboard. See [[Networking/POE]]


* Get the bandwidth meter working again
=== todo ===


== physical layer cat5e wireing ==
See ''[[Networking Todo]]''.
 
== Physical Layer CAT5E Wiring ==


=== Ground Floor ===
=== Ground Floor ===
==== Double Patch Panel ====


*  1 -  2 office near window
*  1 -  2 office near window
Line 90: Line 111:
* 15 - 16 left of roller door
* 15 - 16 left of roller door
* 17 - 18 rear wall of lobby
* 17 - 18 rear wall of lobby
* 19 - 20 '''Basement''' on far wall near hose reel and phone dist boards. '''Basement'''
* 21 - 22 '''Basement''' on wall on outside of lift plant room in metal workshop '''Basement'''
* 23 - 24 '''Basement''' biohack lab on far wall. '''Basement'''
* 25 - 26 '''Basement''' near fire hose pumps hidden behind the storage shelves '''Basement'''
* 27 - 28 office under cab
* 27 - 28 office under cab
* 29 - office under cab
* 29 - office under cab
Line 95: Line 120:
* 37,38 - doorbot
* 37,38 - doorbot
* 39,40 - near door in office
* 39,40 - near door in office
* 41,42 - classroom roof, 42 used for ap2
* 41,42 - classroom roof, 42 used for ap2, 41 used for classroom camera
* 43 - '''A''' outside classroom (classroom end not terminated)
* 43 - behind the beast
* 44 - '''B''' outside classroom (classroom end not terminated)
* 44 - in the cleaning cupboard.
* 45 - 'Q17' in the 3d printing area
* 46 - 'Q18' in the 3d printing area
* 47 - 48 corner of the electronics area on the west wall.


4 spaces left on the patch panel!
==== 2nd, 1U patch panel ====


==== To be added ====
* 1-4 to ports 1-4 on patch panel in the basement rack, 1&2 used as a 2 port trunk to the [[cisco1]] in the basement rack. port 3 free, port 4 patches to port 17 upstairs, which is frontdoorbot.
 
* 5,6 & 7,8: to double sockets above the lobby for doorbots and friends
===== Quiet room =====
* 9,10: double socket on the south wall in the corner where the classroom wall meets the south wall (on the outside of the classroom)
 
* 11,12,13,14: quad socket behind teslaish
* 1 x double socket and a quad - maybe not if we put shelving up.
* 15,16: double socket behind the printers.
 
* 17,18: double socket on middle pillar
===== South Wall Outside the Classroom =====
* 19,20: double socket opposite kitchen for vending machine.
 
* quad socket by tesla
* quad socket by the table next to tesla
 
Both above serve tesla + babbage + printers + other bits
 
* dual socket on the east side of the electronics bench
* and another on the west side
 
* dual socket somewhere by the door for future doorbot + other bits <- maybe a quad here?
 
All the above to go over new trunking, 14 cables.
 
===== Classroom =====
 
* <s>sockets on north and west walls</s> done!
* East wall: 4 x double socket
* South wall 3 double sockets
 
all 7 double sockets above to be fed from the trunking on the south side of the horizontal pillar thing along the ceiling == 14 cables, maybe too much to fit?


=== Basement ===
=== Basement ===


* 19 - 20 on far wall near hose reel and phone dist boards.
N.B. Some of the ports in the quiet room rack go down to sockets in the basement, see ports 19-26 above.
* 21 - 22 on wall on outside of lift plant room
* 23 - 24 biohack basement on far wall.
* 25 - 26 near fire hose pumps hidden behind the desk/counter
 
==== To be added ====
 
* 1 x double socket near biohackers door for ac node/doorbot
* 2 x double socket in each workshop for acnode
* ?
 
=== Total new sockets on the ground floor cabinet ===
 
4 between ground and basement
14 in the classroom
14 along south wall
--
32


= 28 new ports needed (4 spare on the existing panels).
==== Upper 1U panel in basement rack ====


_or_
# to 1 on 1U panel upstairs, half of trunk to cisco1)
# to 2 on 1U panel upstairs, half of trunk to cisco1)
# to 3 on 1U panel upstairs, pppoe line to boole
# to 4 on 1U panel upstairs, pppoe line to boole
# Biolab
# Biolab
# Cable tray near door, terminated to socket near lift
# Cable tray near door, used by the PTZ workshop webcam
# Modem Area, Black - used for the phone
# Modem Area, Red - used for the link to Zen
# Modem Area, Yellow - used for the link to A&A
# Modem Area, Blue
# Machine Tool Area, in dual socket
# Machine Tool Area, rj45 plug, red boot, used for the 3-in-1 acnode
# Machine Tool Area, rj45 plug, yellow boot
# Machine Tool Area, in dual socket
# Cable tray by Etch station/pcb work area, RJ45 plug, green boot.
# Brewbot/gimp closet (?)
# Brewbot/gimp closet (?)
#
#
#
#
#


5 doubles in the classroom
==== Lower 1U panel in basement rack ====
1 quad by tesla and babbage
1 double by tesla and babbage
1 quad by the door?


= 20
* 1-4 are patched to the gigabit switch
+ 4 to the basement.
* 5-8 are patched to the 100Mbit PoE switch.
* On the sockets the ports are labeled 2-number (e.g. 2-3 ) to distinguish them from the other sockets.


# Robotics area by the Staubli table
# Robotics area by the Staubli table
# Robotics area desk
# Robotics area desk
# Wood shop back wall
# Wood shop back wall
# Wood shop right hand wall (wall shared with metal shop)
# Wood shop right hand wall (wall shared with metal shop)
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#


[[Category:447_Hackney]]
[[Category:Outdated Pages]]
[[Category:Infrastructure/Networking]]

Latest revision as of 18:52, 21 October 2021

There is a 48 port patch panel in the cab in the office upstairs, of which 29 ports are used.

The Cab has 7 free U, we need 2 for the switches and 1 for Boole leaving 4...

N.B. new plans depend on working out what we need for new classrooms etc.

Our ISP

80/20 FTTC, 1Tb bandwidth/mo with Zen, see speedtest or [1]

We've got a native IPv6-only ADSL connection (150Gb/month) thanks to Andrews & Arnold!

IP's

We have a /29 : 82.69.229.0/29, all are aliased on lo on boole, see /etc/iptable/rules for forwarding details.

For v6 we've got 2001:8b0:856:1::/64, we also get 2001:8b0:1111:1111::617a on the ppp link to boole.

Internally, we're on the chaosvpn range 172.31.24.0/23 (172.31.24.1-172.31.25.255) N.B: The network is not connected to the ChaosVPN at this time.

<graphviz> digraph network {

"Zen Interweb" -> Boole "A&A Interweb" -> Boole

Boole -> "Cisco1" "Cisco1" -> "Cisco2" "Cisco1" -> "Babbage" "Cisco2" -> "AP 1" "Cisco2" -> "AP 2" } </graphviz>

DNS

Boole runs BIND as a nameserver and unbound as a caching resolver, they run on different IP addresses, it has to be done this way to make DNSSEC work.

The DHCP server registers hostnames that the DHCP clients send it into dns under dhcp.lan.london.hackspace.org.uk. The default search path is lan.london.hackspace.org.uk, so if a client wants to lookup a hostname for a machine that is a DHCP client, e.g. fish then it would lookup fish.dhcp, this configuration avoids problems with DHCP clients asking to be wpad etc...

Machines with static IP addresses use the subdomain lan.london.hackspace.org.uk, so you can go straight to hosts chomsky, tesla, etc...

To flush the unbound cache run (with root privileges, on boole):

unbound-control flush_zone dhcp.lan.london.hackspace.org.uk
unbound-control flush_zone rev.lan.london.hackspace.org.uk
unbound-control flush_zone lan.london.hackspace.org.uk

TLS

We don't run our own CA. Certs come from a mix of Startcom, Geotrust and Lets Encrypt. We'd like to migrate all the StartCom certs to Lets Encrypt. We use TLSA records tho they are mostly useful for email.

There is a list of our certificates here Networking/TLSCerts

WiFi

We have 6 Cisco 3502 Access points, current deployment:

  • AP1 - office/quiet room - now mounted properly, thanks Sully!
  • AP2 - classroom ceiling.
  • AP3 - Radio Shack
  • AP4 - Biohackers
  • AP5 - ?
  • AP6 - spare

Due to a new version of Cisco ios the accesspoints won't let you log in if you present them with loads of ssh pubkeys. To force ssh to use a password use:

ssh -o "PreferredAuthentications password" root@ap1

We have 3 SSID's:

  • LondonHackspace - Standard WPA2 auth, the password can be found on notices stuck on the walls of most rooms
  • LondonHackspace-5Ghz - As above but 5Ghz only
  • spacenet - part of the SpaceFED Federated inter-hackerspace wifi network, You'll need to setup LDAP account to use it.

We also have a Netgear WNDR3700v2 running OpenWRT, it runs the LondonHackspace2 SSID (same password as LondonHackspace), see Wifi Problems for more details. It's on top of tesla or near it. decommissioned a while back iirc.

Layer 2

For Zen (ipv4)

The phone line with FTTC on it comes into the basement by the BT DP boxes, there is a Huawei EchoLife HG612 there which presents it as a PPPOE session, that is patched by port 10 to eth1 (n.b. labeled ETH2 on boole's case) on boole.

For A&A (ipv6)

The phone line with FTTC on it comes into the basement by the BT DP boxes, there is a Huawei something there which presents it as a PPPOE session, that is patched by port 11 to eth2 (n.b. labeled ETH3 on boole's case) on boole.

Local Network

The rest of the network is connected to eth0 (labeled ETH1 on booles case) on boole via the cisco1 switch. There is a 2 port trunk configured on both the cisco switches to connect them.

Equipment/Cisco1 is in the basement rack, Equipment/Cisco2 is in the quietroom rack

Also in the rack in the quiet room is a 12(?) port POE injector. Those first 5 ports are plugged into ports 1-5 of the poe injector, at the moment we are using ports 1 and 2 for ap1 and ap2, we also supply poe to backdoorbot, the main room camera, the classroom camera, and the socket in the cleaning cupboard. See Networking/POE

todo

See Networking Todo.

Physical Layer CAT5E Wiring

Ground Floor

Double Patch Panel

  • 1 - 2 office near window
  • 3 - 4 office under cab
  • 5 office under cab - single socket
  • 6,7,8,9,10,11,12 - classroom
  • 13 - 14 pillar near shower
  • 15 - 16 left of roller door
  • 17 - 18 rear wall of lobby
  • 19 - 20 Basement on far wall near hose reel and phone dist boards. Basement
  • 21 - 22 Basement on wall on outside of lift plant room in metal workshop Basement
  • 23 - 24 Basement biohack lab on far wall. Basement
  • 25 - 26 Basement near fire hose pumps hidden behind the storage shelves Basement
  • 27 - 28 office under cab
  • 29 - office under cab
  • 30-36 - classroom
  • 37,38 - doorbot
  • 39,40 - near door in office
  • 41,42 - classroom roof, 42 used for ap2, 41 used for classroom camera
  • 43 - behind the beast
  • 44 - in the cleaning cupboard.
  • 45 - 'Q17' in the 3d printing area
  • 46 - 'Q18' in the 3d printing area
  • 47 - 48 corner of the electronics area on the west wall.

2nd, 1U patch panel

  • 1-4 to ports 1-4 on patch panel in the basement rack, 1&2 used as a 2 port trunk to the cisco1 in the basement rack. port 3 free, port 4 patches to port 17 upstairs, which is frontdoorbot.
  • 5,6 & 7,8: to double sockets above the lobby for doorbots and friends
  • 9,10: double socket on the south wall in the corner where the classroom wall meets the south wall (on the outside of the classroom)
  • 11,12,13,14: quad socket behind teslaish
  • 15,16: double socket behind the printers.
  • 17,18: double socket on middle pillar
  • 19,20: double socket opposite kitchen for vending machine.

Basement

N.B. Some of the ports in the quiet room rack go down to sockets in the basement, see ports 19-26 above.

Upper 1U panel in basement rack

  1. to 1 on 1U panel upstairs, half of trunk to cisco1)
  2. to 2 on 1U panel upstairs, half of trunk to cisco1)
  3. to 3 on 1U panel upstairs, pppoe line to boole
  4. to 4 on 1U panel upstairs, pppoe line to boole
  5. Biolab
  6. Biolab
  7. Cable tray near door, terminated to socket near lift
  8. Cable tray near door, used by the PTZ workshop webcam
  9. Modem Area, Black - used for the phone
  10. Modem Area, Red - used for the link to Zen
  11. Modem Area, Yellow - used for the link to A&A
  12. Modem Area, Blue
  13. Machine Tool Area, in dual socket
  14. Machine Tool Area, rj45 plug, red boot, used for the 3-in-1 acnode
  15. Machine Tool Area, rj45 plug, yellow boot
  16. Machine Tool Area, in dual socket
  17. Cable tray by Etch station/pcb work area, RJ45 plug, green boot.
  18. Brewbot/gimp closet (?)
  19. Brewbot/gimp closet (?)

Lower 1U panel in basement rack

  • 1-4 are patched to the gigabit switch
  • 5-8 are patched to the 100Mbit PoE switch.
  • On the sockets the ports are labeled 2-number (e.g. 2-3 ) to distinguish them from the other sockets.
  1. Robotics area by the Staubli table
  2. Robotics area by the Staubli table
  3. Robotics area desk
  4. Robotics area desk
  5. Wood shop back wall
  6. Wood shop back wall
  7. Wood shop right hand wall (wall shared with metal shop)
  8. Wood shop right hand wall (wall shared with metal shop)