Netwerk: verschil tussen versies

Uit Hackerspace Nijmegen Wiki
Naar navigatie springen Naar zoeken springen
(Nieuwe pagina aangemaakt met 'Deze pagina omschrijft de netwerkinfrastructuur aan de Villa Novastraat. = Overview = x137px = TODO = - Backup configs - Note passwords somewhere outside of this wiki - Villanova network - Install second AP in the hallway - Install third AP in the hallway - Wired connection to space - Wired connection to Harm - Spacenet = VLANs = * 1 - catchall ** geen dhcp-server * 64 - management ** dhcp-server op edgerouter ** 10.138.64.0/...')
 
Geen bewerkingssamenvatting
Regel 7: Regel 7:
= TODO =
= TODO =


- Backup configs
* Backup configs
- Note passwords somewhere outside of this wiki
* Note passwords somewhere outside of this wiki
- Villanova network
* Villanova network
- Install second AP in the hallway
* Install second AP in the hallway
- Install third AP in the hallway
* Install third AP in the hallway
- Wired connection to space
* Wired connection to space
- Wired connection to Harm
* Wired connection to Harm
- Spacenet
* Spacenet


= VLANs =
= VLANs =

Versie van 6 sep 2022 20:29

Deze pagina omschrijft de netwerkinfrastructuur aan de Villa Novastraat.

Overview

Netwerkinfra.png

TODO

  • Backup configs
  • Note passwords somewhere outside of this wiki
  • Villanova network
  • Install second AP in the hallway
  • Install third AP in the hallway
  • Wired connection to space
  • Wired connection to Harm
  • Spacenet

VLANs

  • 1 - catchall
    • geen dhcp-server
  • 64 - management
    • dhcp-server op edgerouter
    • 10.138.64.0/24
      • 10.138.64.1 edgerouter
      • 10.138.64.2 cisco
  • 1336 - villanova
    • dhcp-server op edgerouter
    • 10.138.65.0/24
      • 10.138.65.1 edgerouter
  • 1337 - hsn
    • dhcp-server op edgerouter
    • 10.138.66.0/24
      • 10.138.66.1 edgerouter

Cisco C3550

  • DHCP client on vlan 64
  • No IP on all other VLANs
  • Telnet/SSH enabled

Fix PoE port resetting

The Cisco switch power cycles PoE ports when the link goes down or takes too long to come up, causing the Aruba APs to keep powercycling without coming up.

To fix this:

 Switch>enable
 Switch#configure terminal
 Switch(config)#interface range FastEthernet 0/1-24
 Switch(config-if-range)#power inline delay shutdown 20 initial 300

This saves it to running-config, but because of a bug, the running-config does not actually show it when you run "show running-config". Instead, use "show running-config all" (which also shows the defaults) to display the values, even though they are not defaults.

NOTE: to make this config persistent, you need to run "copy running-config startup-config all". The 'all' circumvents the bug above. After this, "show startup-config" also shows the necessary PoE settings and the switch reboots correctly.

Ports

  • 1 --> unifi edgerouter x
    • vlan 1 (untagged)
    • vlan 64
    • vlan 1336
    • vlan 1337
  • 2 --> accesspoint villanova2
    • poe enabled met 300 seconds initial
    • vlan 1 (untagged)
    • vlan 64
    • vlan 1336
    • vlan 1337
  • 3 --> accesspoint villanova4
    • poe enabled met 300 seconds initial
    • vlan 1 (untagged)
    • vlan 64
    • vlan 1336
    • vlan 1337
  • 4 --> accesspoint villanova6
    • poe enabled met 300 seconds initial
    • vlan 1 (untagged)
    • vlan 64
    • vlan 1336
    • vlan 1337
  • 5 --> kabel naar hsn
    • vlan 1337 untagged
  • 6 --> kabel naar hsn
    • vlan 1337 untagged
  • 7 --> kabel naar harm
    • vlan 1336 untagged
  • 24 --> management vlan
    • vlan 64 tagged

Unifi Edgerouter X

  • dhcp servers:
    • let erop dat je de pool start/end moet invullen, anders is de pool size 0 en krijg je geen leases
    • mgmt 10.138.64.0/24
    • villanova 10.138.65.0/24
    • hsn 10.138.66.0/24
  • in de config tree: service -> gui -> listen-address "10.138.64.1" zodat ie alleen bereikbaar is via management vlan

Ports

  • eth0 wan --> kpnrouter
    • dhcp client
  • eth1 lan --> cisco poe port 1 trunkport
    • vlan 1 (untagged)
    • vlan 64 (dhcp-server)
    • vlan 1336 (dhcp-server)
    • vlan 1337 (dhcp-server)
  • eth2
    • vlan 1 (untagged)
    • vlan 64 (dhcp-server)
    • vlan 1336 (dhcp-server)
    • vlan 1337 (dhcp-server)
  • eth3
    • vlan 1 (untagged)
    • vlan 64 (dhcp-server)
    • vlan 1336 (dhcp-server)
    • vlan 1337 (dhcp-server)
  • eth4
    • vlan 1 (untagged)
    • vlan 64 (dhcp-server)
    • vlan 1336 (dhcp-server)
    • vlan 1337 (dhcp-server)

Aruba Accesspoints

Setup

  • hang aan HSN-poortje (5/6) en wacht tot ie een lease krijgt in het HSN-subnet
  • log in op de controller, klik op AP -> Configuration -> Edit -> Uplink -> management vlan is 64
  • maintenance -> reboot -> AP -> reboot selected
  • reboot --> na de reboot, trek hem uit poortje 5/6 en zet hem in poortje 2/3/4 (de AP-poortjes)
  • hij moet nu een lease krijgen in het management-subnet
  • hij vindt dan automatisch zijn controller, en biedt dezelfde netwerken aan