Resources/Network: Difference between revisions

From Noisebridge
Jump to navigation Jump to search
(Bring to reality.)
(38 intermediate revisions by 8 users not shown)
Line 1: Line 1:
This page was certified [https://www.noisebridge.net/pipermail/rack/2016-March/003152.html 100% current and up to date] by [[User:Rubin110]] at Sun Mar 6 07:58:59 UTC 2016.
If you're reading this from another point in time, please note that the reality of the situation may be different.
__TOC__
== [[Network Troubleshooting]] ==
== [[Network Troubleshooting]] ==


Line 7: Line 13:
''Please note that Noisebridge does not guarantee or provide a perfect secure experience in the space. Just like anywhere else in the world you're held responsible for your own safety and wellbeing. This also includes content you receive or transmit or provide through any mediums, such as through pen and paper, sound waves or any networks wired or wireless functioning in the space. Noisebridge is a volunteer run and operated space that provides you with infrastructure, which you use at your own risk.''
''Please note that Noisebridge does not guarantee or provide a perfect secure experience in the space. Just like anywhere else in the world you're held responsible for your own safety and wellbeing. This also includes content you receive or transmit or provide through any mediums, such as through pen and paper, sound waves or any networks wired or wireless functioning in the space. Noisebridge is a volunteer run and operated space that provides you with infrastructure, which you use at your own risk.''


== Wireless networks ==
== Free Public Wireless Networks ==
=== Free Open Unsecure Wifi ===
Noisebridge has two open wifi networks available for your use. In most cases if you connect to the network '''Noisebridge''' your laptop/phone/device will have the best luck getting crystal clear wifi and roam between radio channels according to which provides the most reliable and fastest connection.
Noisebridge generally has two or more unencrypted open wifi access points available for your use. If you can see the "noisebridge-a" network, congratulations, you have an 802.11a-compatible card and should use this network as it is better faster and stronger than the others. If you cannot see noisebridge-a, either it is not working or you do not have an 802.11a card. You probably have an 802.11g card. Hopefully you can see the "noisebridge" network, which is the one you should use in that case. Like any public network, you should regard noisebridge's as [[Visitor_advice#Hostile_network|potentially hostile]] and take appropriate precautions.
 
The wifi and internet provided is for public use. Like any public network, you should regard Noisebridge's as [[Visitor_advice#Hostile_network|potentially hostile]] and take appropriate precautions. In order to not give the impression of providing false security, Noisebridge does not run any encrypted wifi networks.


The following networks are active at 2169 now:
The following networks are active:
* '''noisebridge''' - No encryption, NATted via the Sonic.net and Monkeybrains links, 802.11bg
* '''Noisebridge'''
* '''noisebridge-a''' - No encryption, NATted via the Sonic.net and Monkeybrains links, 802.11a
** No password
** Uplink through Monkeybrains gigabit laser
** 802.11an 5 gHz only
* '''Noisebridge Legacy 2.4 gHz'''
** No password
** Uplink through Monkeybrains gigabit laser
** 802.11an 2.4 gHz only


== Wired network ==
== Wired network ==
There are drops throughout the space. They are labeled with the corresponding number on the patch panel. Please don't destroy them (lol).
There are drops throughout the space. They are labeled with the corresponding number on the patch panel. Please don't destroy them (lol).


== DNS ==
== Local Network Address Information ==
DHCP is offered automatically on the network, if that doesn't work for you here's some more static information...
 
* IP Range: 10.20.1.200-10.20.1.254
* Gateway: 10.20.0.1
* Subnet: 255.255.'''254'''.0 (a "slash" /23)
* DNS: 10.20.0.1,208.69.43.23,208.69.40.4,8.8.8.8


Dynamic DNS is provided by the nat machine for DHCP clients on 172.30.0.30/22.  Resolution of machines with static addresses is done by ipv4 or ipv6 mDNS and dynamic DNS entries on the nat machine from the DHCP service.
Dynamic DNS is provided by the router for DHCP clients on 10.20.0.1/23 which also provides name resolution of some local machines.


== Development ==
== Development ==
Line 27: Line 46:
==Network Devices & Services==
==Network Devices & Services==
* [[Music]]
* [[Music]]
* [[Printers]]
* [[2D Paper Printer]]
* [[Infrastructure]]
* [[Infrastructure]]


Line 33: Line 52:


== Uplinks ==
== Uplinks ==
=== DSL Circuit ===
There is a Sonic.net Fusion ADSL2+ DSL connection in the building.  The physical circuit comes in from the MPOE in the basement and runs across the roof of the basement and up the side of the building into the DJ booth (Tea Room), then over to the Wall o' Tubes.  The CPE is a Motorola 2210 ADSL2+.  The admin password is the serial number, written on the bottom. 
The addressing configuration is a little unusual. It's 75.101.62.0/24 and we've been allocated a /29 within that block: 75.101.62.88 - 75.101.62.95.  Note that we get to use all 8 addresses; the broadcast and network address are 75.101.62.255 and 75.101.62.0 respectively.  The gateway is 75.101.62.1.
The default CPE settings are not correct for our circuit configuration.  From a factory reset, do the following to configure the CPE:
# Configure a computer for 192.168.1.253/24.
# Connect the computer to the DSL CPE.
# Power cycle the DSL CPE.
# Connect to 192.168.1.254 using your web browser.
# You will be prompted to set a password, use the serial number on the bottom of the DSL CPE.
# Get into expert mode.
# Under configure->connections, set the following:
## VPI: 0
## VCI: 35
## Protocol: Bridged Ethernet LLC/SNAP
## Bridging: on
# Under configure->DHCP server, set the following:
## DHCP Server Enabled: unchecked
# Save and reboot.
[http://broadband.motorola.com/consumers/products/2210-02/downloads/2210-02-10NA-UserGuide.pdf Motorola 2210 User Guide]
=== Monkeybrains Wireless Link ===
=== Monkeybrains Wireless Link ===
We have a point-to-point wireless link to Monkeybrains on the roof. It comes down through the Dirty Shop skylight and runs in to the server closet.
We have a point-to-point wireless link to Monkeybrains on the roof. It is wired into the Monkeybrains NEMA box on the roof, and from there into our own NEMA box in which we house a managed switch. From there the cable enters into the space through the ladder chute in the fox lounge and runs to the rack where it enters the switchboard at port 48. Port 48 is a second redundant run that follows the same path from the rack back to our NEMA box for future projects.


=== SFBroadband / City of SF / Internet Archive ===
=== SFBroadband / City of SF / Internet Archive ===
Line 67: Line 61:
There is a router in our wireless CPE hardware (st01-noisebridge-sfo) that connects up to the Noisebridge network and terminates as 172.30.0.54 on the "Inside / Internal" network. Set your default route via this IP to try the other path.
There is a router in our wireless CPE hardware (st01-noisebridge-sfo) that connects up to the Noisebridge network and terminates as 172.30.0.54 on the "Inside / Internal" network. Set your default route via this IP to try the other path.


== Access Control==
==I want to help!==
 
Noisebridge is run by volunteers, you're welcome to help but should get to know those helping first before touching/hacking the network gear. Try introducing yourself on the [rack mailing list https://www.noisebridge.net/mailman/listinfo/rack].
Most hardware is set to use the most guessable logins and passwords possible. If you're interested in logging in, just make some guesses as to what the login can be. Use your favorite search engine. Poke around. Hack.
 
Experience the thrill of guessing a password that just works.


== Router ==
== Router ==
Bikeshed is our humble router. It is a Soekris running Vyatta(a Linux-based router distribution).
Biketrailer is our humble router. It is an Ubiquiti Edgerouter 5-port box running EdgeOS, a fork of Vyatta (a Linux-based router distribution). While the router does provide PoE, it is non-standard passive Ubiquiti PoE which you should avoid using.


The machines currently provides
The machines currently provides
   * dhcpd
   * NAT
  * DHCPD
   * DNS (dnsmasq) - .noise local TLD and recursive proxy
   * DNS (dnsmasq) - .noise local TLD and recursive proxy
  * Automatic loadbalancing and ailover between Sonic DSL and monkeybrains
Access is via SSH with keys.
=== Salient configuration ===
* It is configured to fail over between DSL and Monkeybrains as conditions warrant.
* It is configured with traffic shaping to prevent individual users from sucking up all the tubes.


If you have questions about these particular points of configuration, email rack. Nothing is particularly complicated.
Access is via SSH with keys and a https web interface.


== Address Allocations ==
== Address Allocations ==
The reserved address allocations are:
===WAN - Monkeybrains===
 
* Network range: 192.195.83.129/29
===75.101.62.88/29 from Sonic.net===
* Gateway: 192.195.83.129
We have a range within the encompassing /24: 75.101.62.{88..95}
* DNS: 208.69.43.23,208.69.40.4
* Subnet Mask: 255.255.255.248


* .88 - bikeshed
====Addresses====
* .89 - pony.noisebridge.net
* 192.195.83.130 - 2169.noisebridge.net - biketrailer offering some port forawrding
* .90 - stallion.noisebridge.net
* 192.195.83.131 - roof switch
* .91 - ChaosVPN la fonera eth0.1
* 192.195.83.132 - mode/s receiver
* .92 - minotaur.noisebridge.net
* 192.195.83.133 - unused
* .93 - Unallocated
* 192.195.83.134 - pegasus.noisebridge.net - pegasus 1 to 1 NAT
* .94 - Unallocated
* .95 - Mode-S Equipment (various port-NATings)


===172.30.0.0/22 ("inside" network)===
===LAN - 10.20.0.0/22===
====172.30.0.0 - 127 Statically-addressed things====
====10.20.0.0 - 0.50 Statically address services====


''Note: This is '''not''' a /25 subnet! The netmask is a /22.''
''Note: This is '''not''' a /24 subnet! The netmask is a /23.''


* .2 - bikeshed, soekris router (runs Vyatta Linux and iptables/netfilter)
* 10.20.0.1 - biketrailer
* .3 - free
* 10.20.0.10 - earl
* .4 - minotaur - console server and network troubleshooting/monitoring box
* 10.20.0.11 - West-AP
* .5 - goat - Internal network testing VM on stallion
* 10.20.0.12 - Church-AP
* .6 - treechopper, [http://h20000.www2.hp.com/bc/docs/support/SupportManual/bpl07288/bpl07288.pdf|HP Laserjet 5Si MX] (working, not hosed)
* 10.20.0.13 - Central-AP
* .7 -  
* 10.20.0.22 - pegasus
* .8 -
* 10.20.0.24 - hackitorium-rpi
* .9 -
* 10.20.0.25 - noisebridge-printer-brother
* .10 - stallion - VM hosting server
* 10.20.0.31 - kitsune
* .11 - ChaosVPN la fonera internal interface (br-lan)
* 10.20.0.41 - noisebridgebbs
* .12 -  
* 10.20.0.42 - flaschen-taschen
* .13 -
* 10.20.0.43 - noiseboard (intent)
* .14 -
* .15 - Primary switch - Netgear GS724Tv2
* .16 -
* .17 -
* .18 -
* .19 -  
* .20 -
* .21 -
* .26 -  
* .30 - [[Pony]], main sandbox server
* .31 -
* .32 -
* .33 -  
* .34 -  
* .35 - Cisco IP Phone
* .36 - Red Payphone (Linksys PAP2)
* .37 -
* .41 -  
* .42 -
* .43 -
* .44 -  
* .48 -
* .49 -
* .50 -  
* .51 -  
* .52 - bunny (Bullion Mode-S receiver on the roof)
* .53 - ronin (white Atom works with bunny, lives in Susan the Rack)
* .54 - st01-noisebridge-sfo (sfwireless.org Ubiquiti Nanobridge M5 on the roof. Currently aimed at Twin Peaks.)
* .55 -
* .56 -


====172.30.0.128/25, 172.30.1.0/24, 172.30.2.0/24, 172.30.3.0/24====
====10.20.0.51 - 1.199====
* DHCP-assigned, user-access IP space
* DHCP-assigned, user-access IP space


===172.30.4.0/24 (Tor-ified network)===
====10.20.1.200 - 1.254====
 
* Available for adhoc manual IP address configurations.
Note that 172.30.4.1 transparently proxies TCP connections via privoxy to tor.
 
* .1 - "torbridge" interface on pony
* .2 - "noisebridge-tor" access point.
* .10 - .254 -- Tor-ified clients (served by DHCP)
 
===172.31.0.0/24===
 
This is a separate NAT-ed network for Monkeybrains-only traffic. It's served by "bikeshed".
 
* .1 - wlan0.bikeshed.noise
* .100 - .199 -- DHCP pool for clients.
 
=== 10.100.4.0/23 ChaosVPN Range ===
* Network in the ChaosVPN
** Has yet to be setup. In the future, we may join the network so that we can route to other hackerspaces
* [http://wiki.hamburg.ccc.de/index.php/ChaosVPN#ip_ranges ChaosVPN Wiki]


=== IPv6 ===
=== IPv6 ===
We would like to setup IPv6, some day.


We have IPv6 support on the DSL circuit via a tunnel provided by sonic.net.  Some details on how to get the OpenBSD-based flashrd distribution on the routers to tunnel correctly can be found on the [[Flashrd]] page.
== Machine Rack ==
The rack sits on the South wall, it's small and up high to discourage people from messing with it or installing things in it. The internet works, please leave the box alone.


Note that using IPv6 in some situations can result in people knowing what model of computer you have and the network card's serial number, because of the way IPv6 stateless address configuration works.  If this is a concern, tell your computer not to use IPv6.  Ask around Noisebridge if you need help or want more details.
===Can I install/setup boxes on Noisebridge's network?===
 
====Short answer====
==== 2001:5a8:4:5630::/60 ====
'''No.'''
 
This is the IPv6 subnet assigned to us by sonic.  We only use the bottom /64 of this /60 so automatic address configuration works right; the other 15/16s of the address space are intentionally wasted.  r00ter hands out IPv6 router advertisements for this subnet directly.  They're directly routable, but unsolicited incoming traffic is blocked by the firewall to protect the users.  This means you can't run an IPv6 server on our IPv6 subnet, but you can connect to other machines on the IPv6 Internet just fine.  If you really need to run an IPv6 server for some reason, consider using Teredo.
 
== OOB Management ==
 
Everything is connected to Minotaur.
 
{|border="1" cellspacing="0" cellpadding="5"
!Device
!Where
!Settings
|-
|bikeshed
|ops /dev/ttyS2
|115200
|}
 
== Machine Rack ==


The rack of machines and switches is counted by U, from the top, starting from "1".
====Long answer====
Noisebridge is here to provide infrastructure for creative projects. We're really good at some things. One thing we suck at is administrating boxes setup on our network. They eat power, internet, the attention span of volunteers, and people who set them up generally are bad at communicating later on down the line when something breaks or a machine magically appears.


{|border="1" cellspacing="0" cellpadding="5"
Noisebridge network infrastructure policy is as such:
!"U"/Unit
* Critical infrastructure machines (like our access control system): Low power ok!
!Device
* Machines for classes that cannot be hosted on the internet: Low power ok!
|-
* Personal machines: NO!
|1-2
* High power machines: NO!
|patch panel
* Bitcoin minors: NO!
|-
* Torrent boxes: NO!
|3
* Everything else: NO!
|Netgear G724Tv2 switch
|-
|5
|Shelf with Bikeshed and POE injectors
|-
|7
|Minotaur
|-
|Bottom
|APC UPS
|}


== Switch Ports ==
If a machine gets setup on the network without first getting an ok from the [https://www.noisebridge.net/mailman/listinfo/rack rack list], it will be unplugged and thrown in the trash. Please don't host your box at Noisebridge. We can't afford it. Thanks for understanding.
===Primary switch===
'''Netgear G724Tv2'''


VLANs:
===Rack setup===
* VLAN 1: Internal network, 1-17
* Patch panel
* VLAN 2: Monkeybrains, 18-19
* Shitty Fucked Dell 48 port switch
* VLAN 3: Sonic, 20-24
* Pegasus
* Shelf with Biketrailer and POE injectors
* Shelf with random RaspberryPis for projects
* Speaker amp
* Power strip
* UPS

Revision as of 20:55, 19 April 2016

This page was certified 100% current and up to date by User:Rubin110 at Sun Mar 6 07:58:59 UTC 2016.

If you're reading this from another point in time, please note that the reality of the situation may be different.

Network Troubleshooting

Are you having issues with the internet or local network? Check out the Network Troubleshooting page for more information on what you can do to make things better or possibly seek help.

Disclaimer

Please note that Noisebridge does not guarantee or provide a perfect secure experience in the space. Just like anywhere else in the world you're held responsible for your own safety and wellbeing. This also includes content you receive or transmit or provide through any mediums, such as through pen and paper, sound waves or any networks wired or wireless functioning in the space. Noisebridge is a volunteer run and operated space that provides you with infrastructure, which you use at your own risk.

Free Public Wireless Networks

Noisebridge has two open wifi networks available for your use. In most cases if you connect to the network Noisebridge your laptop/phone/device will have the best luck getting crystal clear wifi and roam between radio channels according to which provides the most reliable and fastest connection.

The wifi and internet provided is for public use. Like any public network, you should regard Noisebridge's as potentially hostile and take appropriate precautions. In order to not give the impression of providing false security, Noisebridge does not run any encrypted wifi networks.

The following networks are active:

  • Noisebridge
    • No password
    • Uplink through Monkeybrains gigabit laser
    • 802.11an 5 gHz only
  • Noisebridge Legacy 2.4 gHz
    • No password
    • Uplink through Monkeybrains gigabit laser
    • 802.11an 2.4 gHz only

Wired network

There are drops throughout the space. They are labeled with the corresponding number on the patch panel. Please don't destroy them (lol).

Local Network Address Information

DHCP is offered automatically on the network, if that doesn't work for you here's some more static information...

  • IP Range: 10.20.1.200-10.20.1.254
  • Gateway: 10.20.0.1
  • Subnet: 255.255.254.0 (a "slash" /23)
  • DNS: 10.20.0.1,208.69.43.23,208.69.40.4,8.8.8.8

Dynamic DNS is provided by the router for DHCP clients on 10.20.0.1/23 which also provides name resolution of some local machines.

Development

Network Devices & Services

2169 Mission

Uplinks

Monkeybrains Wireless Link

We have a point-to-point wireless link to Monkeybrains on the roof. It is wired into the Monkeybrains NEMA box on the roof, and from there into our own NEMA box in which we house a managed switch. From there the cable enters into the space through the ladder chute in the fox lounge and runs to the rack where it enters the switchboard at port 48. Port 48 is a second redundant run that follows the same path from the rack back to our NEMA box for future projects.

SFBroadband / City of SF / Internet Archive

We have a wireless point-to-point path up to Twin Peaks that connects up to a city-owned and volunteer-run IP transit network. Currently, we're hitting the dish off of the side and have a pretty terrible connection. For now, this network path is mostly only usable as a backup path.

There is a router in our wireless CPE hardware (st01-noisebridge-sfo) that connects up to the Noisebridge network and terminates as 172.30.0.54 on the "Inside / Internal" network. Set your default route via this IP to try the other path.

I want to help!

Noisebridge is run by volunteers, you're welcome to help but should get to know those helping first before touching/hacking the network gear. Try introducing yourself on the [rack mailing list https://www.noisebridge.net/mailman/listinfo/rack].

Router

Biketrailer is our humble router. It is an Ubiquiti Edgerouter 5-port box running EdgeOS, a fork of Vyatta (a Linux-based router distribution). While the router does provide PoE, it is non-standard passive Ubiquiti PoE which you should avoid using.

The machines currently provides

  * NAT
  * DHCPD
  * DNS (dnsmasq) - .noise local TLD and recursive proxy

Access is via SSH with keys and a https web interface.

Address Allocations

WAN - Monkeybrains

  • Network range: 192.195.83.129/29
  • Gateway: 192.195.83.129
  • DNS: 208.69.43.23,208.69.40.4
  • Subnet Mask: 255.255.255.248

Addresses

  • 192.195.83.130 - 2169.noisebridge.net - biketrailer offering some port forawrding
  • 192.195.83.131 - roof switch
  • 192.195.83.132 - mode/s receiver
  • 192.195.83.133 - unused
  • 192.195.83.134 - pegasus.noisebridge.net - pegasus 1 to 1 NAT

LAN - 10.20.0.0/22

10.20.0.0 - 0.50 Statically address services

Note: This is not a /24 subnet! The netmask is a /23.

  • 10.20.0.1 - biketrailer
  • 10.20.0.10 - earl
  • 10.20.0.11 - West-AP
  • 10.20.0.12 - Church-AP
  • 10.20.0.13 - Central-AP
  • 10.20.0.22 - pegasus
  • 10.20.0.24 - hackitorium-rpi
  • 10.20.0.25 - noisebridge-printer-brother
  • 10.20.0.31 - kitsune
  • 10.20.0.41 - noisebridgebbs
  • 10.20.0.42 - flaschen-taschen
  • 10.20.0.43 - noiseboard (intent)

10.20.0.51 - 1.199

  • DHCP-assigned, user-access IP space

10.20.1.200 - 1.254

  • Available for adhoc manual IP address configurations.

IPv6

We would like to setup IPv6, some day.

Machine Rack

The rack sits on the South wall, it's small and up high to discourage people from messing with it or installing things in it. The internet works, please leave the box alone.

Can I install/setup boxes on Noisebridge's network?

Short answer

No.

Long answer

Noisebridge is here to provide infrastructure for creative projects. We're really good at some things. One thing we suck at is administrating boxes setup on our network. They eat power, internet, the attention span of volunteers, and people who set them up generally are bad at communicating later on down the line when something breaks or a machine magically appears.

Noisebridge network infrastructure policy is as such:

  • Critical infrastructure machines (like our access control system): Low power ok!
  • Machines for classes that cannot be hosted on the internet: Low power ok!
  • Personal machines: NO!
  • High power machines: NO!
  • Bitcoin minors: NO!
  • Torrent boxes: NO!
  • Everything else: NO!

If a machine gets setup on the network without first getting an ok from the rack list, it will be unplugged and thrown in the trash. Please don't host your box at Noisebridge. We can't afford it. Thanks for understanding.

Rack setup

  • Patch panel
  • Shitty Fucked Dell 48 port switch
  • Pegasus
  • Shelf with Biketrailer and POE injectors
  • Shelf with random RaspberryPis for projects
  • Speaker amp
  • Power strip
  • UPS