✅ WP1 – Basisconfiguratie & VLAN-netwerk
🖥️ 1. Basic Switch Configuratie (SW1, SW2, SW3, etc.)
hostname SW1
no ip domain-lookup
enable secret Cisco123
service password-encryption
line console 0
password console123
login
exit
line vty 0 4
password vty123
login
transport input ssh
exit
banner motd #Unauthorized access is prohibited#
ip domain-name netwerk.local
crypto key generate rsa
-> Kies 1024 bits
username admin secret beheer123
🌐 2. IP-adres toewijzen aan VLAN-interface (bijv. VLAN 30)
interface vlan 30
ip address 10.30.0.4 255.255.0.0
no shutdown
exit
🟨 3. VLAN's aanmaken + poorten toewijzen
vlan 20
name Productie
vlan 21
name KlantenService
vlan 22
name HRM
vlan 23
name Marketing
vlan 30
name IT_Beheer
interface range fa0/1 - 5
switchport mode access
switchport access vlan 20
interface range fa0/6 - 10
switchport mode access
switchport access vlan 21
interface range fa0/11 - 15
switchport mode access
switchport access vlan 22
interface range fa0/16 - 20
switchport mode access
switchport access vlan 23
interface fa0/24
switchport mode access
switchport access vlan 30
🔁 4. Trunk configureren tussen switches
interface g0/1
switchport mode trunk
🔄 5. Inter-VLAN routing op Layer 3 Switch (Main_L3)
hostname Main_L3
ip routing
interface vlan 20
ip address 10.20.0.1 255.255.255.0
no shutdown
interface vlan 21
ip address 10.21.0.1 255.255.255.0
no shutdown
interface vlan 22
ip address 10.22.0.1 255.255.255.0
no shutdown
interface vlan 23
ip address 10.23.0.1 255.255.255.0
no shutdown
ip routing
🔄 6. DHCP-configuratie (bijv. op router of Main_L3)
ip dhcp pool VLAN20
network 10.20.0.0 255.255.255.0
default-router 10.20.0.1
dns-server 10.30.0.200
ip dhcp pool VLAN21
network 10.21.0.0 255.255.255.0
default-router 10.21.0.1
interface g0/1
ip helper-address 10.30.0.175
📶 6. WiFi-netwerk configureren (bijvoorbeeld op een Access Point)
📍 Configuratie via CLI (indien ondersteund):
hostname AP1
interface Dot11Radio0
ssid MBO-ICT
authentication open
authentication key-management wpa version 2
wpa-psk ascii 0 wifi12345
!
no shutdown
exit
interface FastEthernet0
ip address dhcp
no shutdown
📍 Alternatief via GUI (zoals bij SOHO-router in Packet Tracer):
- Ga naar tabblad "Wireless"
- SSID: MBO-ICT
- Beveiligingstype: WPA2-PSK
- Wachtwoord: wifi12345
- Koppel aan VLAN indien nodig (geavanceerd gebruik)
💡 Tip:
Als je een VLAN voor draadloos verkeer wilt aanmaken (bijv. VLAN 40 voor WiFi), kun je dat toevoegen zoals:
vlan 40
name WiFi
interface fa0/21
switchport mode access
switchport access vlan 40
Zo koppel je een access point bekabeld aan het juiste VLAN.
🔄 7. VTP Configuratie
Op Core Switch:
vtp mode server
vtp domain netwerk
vtp password vtp123
Op Access Switches:
vtp mode client
vtp domain netwerk
vtp password vtp123
Poorten tussen switches op trunk zetten:
interface range g0/1 - 2
switchport mode trunk
🌲 8. Spanning Tree Root Bridge Configuratie
show spanning-tree
spanning-tree vlan 1 priority 4096
spanning-tree vlan 20 priority 4096
spanning-tree vlan 21 priority 4096
🔐 9. SSH-configuratie
hostname SW1
ip domain-name netwerk.local
crypto key generate rsa
-> Kies 1024 bits
username admin secret beheer123
line vty 0 4
transport input ssh
login local
✅ WP2 – Netwerkbeheer & Monitoring
🔎 1. LLDP (voor netwerkdetectie)
lldp run
show lldp neighbors
🕒 2. NTP configureren
ntp server 10.30.0.100
clock timezone CET 1
📋 3. Syslog configureren
logging 10.30.0.100
📌 Overige nuttige commando’s
| Doel | Commando |
|---|---|
| Configuratie opslaan | copy running-config startup-config |
| Routing aanzetten (Layer 3) | ip routing |
| IP-config checken | show ip interface brief |
| VLAN’s bekijken | show vlan brief |
| Trunk status checken | show interfaces trunk |
| DHCP lease checken | show ip dhcp binding |
| STP info | show spanning-tree |
| Logverkeer bekijken | show logging |
| Verbonden buren via LLDP | show lldp neighbors |
ohttps://gemini.google.com/app
Submitted May 22, 2025 at 01:33PM by Opening-Canary9611 https://ift.tt/39JzlSO
Comments
Post a Comment