Netwerk: verschil tussen versies
Naar navigatie springen
Naar zoeken springen
Geen bewerkingssamenvatting |
(→VLANs) |
||
Regel 1: | Regel 1: | ||
Deze pagina omschrijft de netwerkinfrastructuur aan de Villa Novastraat. | Deze pagina omschrijft de netwerkinfrastructuur aan de Villa Novastraat. | ||
= Overview = | =Overview= | ||
[[Bestand:Netwerkinfra.png|x137px]] | [[Bestand:Netwerkinfra.png|x137px]] | ||
= 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= | ||
* 1 - catchall | *1 - catchall | ||
** geen dhcp-server | **geen dhcp-server | ||
* 64 - management | *64 - management | ||
** dhcp-server op edgerouter | **dhcp-server op edgerouter | ||
** 10.138.64.0/24 | **10.138.64.0/24 | ||
*** 10.138.64.1 edgerouter | ***10.138.64.1 edgerouter | ||
*1336 - villanova | |||
* 1336 - villanova | **dhcp-server op edgerouter | ||
** dhcp-server op edgerouter | **10.138.65.0/24 | ||
** 10.138.65.0/24 | ***10.138.65.1 edgerouter | ||
*** 10.138.65.1 edgerouter | *1337 - hsn | ||
* 1337 - hsn | **dhcp-server op edgerouter | ||
** dhcp-server op edgerouter | **10.138.66.0/24 | ||
** 10.138.66.0/24 | ***10.138.66.1 edgerouter | ||
*** 10.138.66.1 edgerouter | |||
= Cisco C3550 = | =Cisco C3550= | ||
* DHCP client on vlan 64 | *DHCP client on vlan 64 | ||
* No IP on all other VLANs | *No IP on all other VLANs | ||
* Telnet/SSH enabled | *Telnet/SSH enabled | ||
== Fix PoE port resetting == | ==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. | 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. | ||
Regel 55: | Regel 54: | ||
<b>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.</b> | <b>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.</b> | ||
== Ports == | ==Ports== | ||
* 1 --> unifi edgerouter x | *1 --> unifi edgerouter x | ||
** vlan 1 (untagged) | **vlan 1 (untagged) | ||
** vlan 64 | **vlan 64 | ||
** vlan 1336 | **vlan 1336 | ||
** vlan 1337 | **vlan 1337 | ||
* 2 --> accesspoint villanova2 | *2 --> accesspoint villanova2 | ||
** poe enabled met 300 seconds initial | **poe enabled met 300 seconds initial | ||
** vlan 1 (untagged) | **vlan 1 (untagged) | ||
** vlan 64 | **vlan 64 | ||
** vlan 1336 | **vlan 1336 | ||
** vlan 1337 | **vlan 1337 | ||
* 3 --> accesspoint villanova4 | *3 --> accesspoint villanova4 | ||
** poe enabled met 300 seconds initial | **poe enabled met 300 seconds initial | ||
** vlan 1 (untagged) | **vlan 1 (untagged) | ||
** vlan 64 | **vlan 64 | ||
** vlan 1336 | **vlan 1336 | ||
** vlan 1337 | **vlan 1337 | ||
* 4 --> accesspoint villanova6 | *4 --> accesspoint villanova6 | ||
** poe enabled met 300 seconds initial | **poe enabled met 300 seconds initial | ||
** vlan 1 (untagged) | **vlan 1 (untagged) | ||
** vlan 64 | **vlan 64 | ||
** vlan 1336 | **vlan 1336 | ||
** vlan 1337 | **vlan 1337 | ||
* 5 --> kabel naar hsn | *5 --> kabel naar hsn | ||
** vlan 1337 untagged | **vlan 1337 untagged | ||
* 6 --> kabel naar hsn | *6 --> kabel naar hsn | ||
** vlan 1337 untagged | **vlan 1337 untagged | ||
* 7 --> kabel naar harm | *7 --> kabel naar harm | ||
** vlan 1336 untagged | **vlan 1336 untagged | ||
* 24 --> management vlan | *24 --> management vlan | ||
** vlan 64 tagged | **vlan 64 tagged | ||
= Unifi Edgerouter X = | =Unifi Edgerouter X= | ||
* dhcp servers: | *dhcp servers: | ||
** let erop dat je de pool start/end moet invullen, anders is de pool size 0 en krijg je geen leases | **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 | **mgmt 10.138.64.0/24 | ||
** villanova 10.138.65.0/24 | **villanova 10.138.65.0/24 | ||
** hsn 10.138.66.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 | *in de config tree: service -> gui -> listen-address "10.138.64.1" zodat ie alleen bereikbaar is via management vlan | ||
== Ports == | ==Ports== | ||
* eth0 wan --> kpnrouter | *eth0 wan --> kpnrouter | ||
** dhcp client | **dhcp client | ||
* eth1 lan --> cisco poe port 1 trunkport | *eth1 lan --> cisco poe port 1 trunkport | ||
** vlan 1 (untagged) | **vlan 1 (untagged) | ||
** vlan 64 (dhcp-server) | **vlan 64 (dhcp-server) | ||
** vlan 1336 (dhcp-server) | **vlan 1336 (dhcp-server) | ||
** vlan 1337 (dhcp-server) | **vlan 1337 (dhcp-server) | ||
* eth2 | *eth2 | ||
** vlan 1 (untagged) | **vlan 1 (untagged) | ||
** vlan 64 (dhcp-server) | **vlan 64 (dhcp-server) | ||
** vlan 1336 (dhcp-server) | **vlan 1336 (dhcp-server) | ||
** vlan 1337 (dhcp-server) | **vlan 1337 (dhcp-server) | ||
* eth3 | *eth3 | ||
** vlan 1 (untagged) | **vlan 1 (untagged) | ||
** vlan 64 (dhcp-server) | **vlan 64 (dhcp-server) | ||
** vlan 1336 (dhcp-server) | **vlan 1336 (dhcp-server) | ||
** vlan 1337 (dhcp-server) | **vlan 1337 (dhcp-server) | ||
* eth4 | *eth4 | ||
** vlan 1 (untagged) | **vlan 1 (untagged) | ||
** vlan 64 (dhcp-server) | **vlan 64 (dhcp-server) | ||
** vlan 1336 (dhcp-server) | **vlan 1336 (dhcp-server) | ||
** vlan 1337 (dhcp-server) | **vlan 1337 (dhcp-server) | ||
= Aruba Accesspoints = | =Aruba Accesspoints= | ||
== Setup == | ==Setup== | ||
* hang aan HSN-poortje (5/6) en wacht tot ie een lease krijgt in het HSN-subnet | *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 | *log in op de controller, klik op AP -> Configuration -> Edit -> Uplink -> management vlan is 64 | ||
* maintenance -> reboot -> AP -> reboot selected | *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) | *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 moet nu een lease krijgen in het management-subnet | ||
* hij vindt dan automatisch zijn controller, en biedt dezelfde netwerken aan | *hij vindt dan automatisch zijn controller, en biedt dezelfde netwerken aan |
Versie van 6 sep 2022 20:36
Deze pagina omschrijft de netwerkinfrastructuur aan de Villa Novastraat.
Overview
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
- 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