Cisco Packet Tracer: Inter-VLAN Routing & VTP
Tavoitteena oli luoda verkkotopologia, jossa liikenne on eriytetty VLAN-virtuaaliverkkoihin,
[cite_start]mutta laitteet pystyvät kommunikoimaan keskenään reitittimen kautta[cite: 1, 63].
Keskeiset ominaisuudet:
-
- [cite_start]
- Router-on-a-Stick: Reititys VLANien välillä käyttäen aliliittymiä (subinterfaces) ja 802.1Q-kapselointia[cite: 9, 30].
[cite_start]
-
- VTP (VLAN Trunking Protocol): VLAN-tietokannan automaattinen synkronointi kytkinten välillä[cite: 63].
[cite_start]
- Kytkinten hallinta: Trunk-yhteyksien konfigurointi reitittimen ja kytkinten välille[cite: 76].

[cite_start]
VLAN-Konfiguraatio
[cite_start][cite_start][cite_start][cite_start]
| VLAN ID | Nimi | Gateway (Router) |
|---|---|---|
| 70 | VLAN0070 | 10.1.70.1 [cite: 32] |
| 80 | VLAN0080 | 10.1.80.1 [cite: 35] |
| 90 | VLAN0090 | 10.1.90.1 [cite: 38] |
| 100 | VLAN0100 | 10.1.100.1 [cite: 41] |
Toteutus (Snippet)
Router-on-a-Stick (Reitittimen konfiguraatio):
interface GigabitEthernet1/0.7
encapsulation dot1Q 70
ip address 10.1.70.1 255.255.255.0
!
interface GigabitEthernet1/0.8
encapsulation dot1Q 80
ip address 10.1.80.1 255.255.255.0
[cite_start]
Lähde: Reitittimen konfigurointi [cite: 30-35].
Kytkimen Trunk-portti:
interface FastEthernet0/1
switchport trunk allowed vlan 70,80,90,100
switchport mode trunk
[cite_start]
Lähde: Kytkimen konfigurointi [cite: 75-77].