KONFIGURASI INTERVLAN ROUTING Berikut langkahlangkah KONFIGURASI INTERVLAN ROUTING
KONFIGURASI INTERVLAN ROUTING Berikut langkah-langkah KONFIGURASI INTERVLAN ROUTING: *ps: -menggunakan beberapa switch vtp server, untuk memudahkan administrasi -menggunakan switch dan router cisco
#1 Lihat Gambar
#2 Konfigurasi Router • • • • • • Aktifkan router dan hidupkan port yang digunakan sebagai penghubung dengan switch, dengan perintah sbb : Router>enable Router#configure terminal Router(config)#interface fast. Ethernet 0/0 Router(config-if)#no shutdown Router(config-if)#exit Lakukan enkapsulasi agar host antar vlan dapat saling terhubung dengan konfigurasi berikut : Router(config)#interface fast. Ethernet 0/0. 2 Router(config-subif)#encapsulation dot 1 Q 2 Router(config-subif)#ip address 192. 168. 18. 255. 0 Router(config-subif)#exit Router(config)#interface fast. Ethernet 0/0. 3 Router(config-subif)#encapsulation dot 1 Q 3 Router(config-subif)#ip address 192. 168. 19. 255. 0 Router(config-subif)#exit Router(config)#interface fast. Ethernet 0/0. 4 Router(config-subif)#encapsulation dot 1 Q 4 Router(config-subif)#ip address 167192. 168. 20. 255. 0 Router(config-subif)#exit Router(config)#interface fast. Ethernet 0/0. 5 Router(config-subif)#encapsulation dot 1 Q 5 Router(config-subif)#ip address 192. 168. 18. 255. 0 Router(config-subif)#exit
#3 Konfigurasi Switch Server
#3. 1 Switch 0 • • • • • • Switch>enable Switch#configure terminal Switch(config)#interface range fast. Ethernet 0/1 - 3 Switch(config-if-range)#switchport mode trunk Switch(config-if-range)#switchport trunk native vlan 1 Switch(config-if-range)#exit Switch(config)#vtp mode server Switch(config)#vtp domain vq Switch(config)#vtp password sssss Switch(config)#vlan 2 Switch(config-vlan)#name A Switch(config-vlan)#exit Switch(config)#vlan 3 Switch(config-vlan)#name B Switch(config-vlan)#exit Switch(config)#vlan 4 Switch(config-vlan)#name C Switch(config-vlan)#exit Switch(config)#vlan 5 Switch(config-vlan)#name D Switch(config-vlan)#exit
#3. 2 Switch 1 & Switch 2 • • • Switch>enable Switch#configure terminal Switch(config)#interface range fast. Ethernet 0/1 - 3 Switch(config-if-range)#switchport mode trunk Switch(config-if-range)#switchport trunk native vlan 1 Switch(config-if-range)#exit Switch(config)#vtp mode server Switch(config)#vtp domain vq Switch(config)#vtp password sssss
#3. 3 Cek table VLAN(di Switch 0, Switch 1 & Switch 2) • • • • • Switch#show vlan VLAN Name Status Ports --------------------1 default active Fa 0/4, Fa 0/5, Fa 0/6, Fa 0/7 Fa 0/8, Fa 0/9, Fa 0/10, Fa 0/11 Fa 0/12, Fa 0/13, Fa 0/14, Fa 0/15 Fa 0/16, Fa 0/17, Fa 0/18, Fa 0/19 Fa 0/20, Fa 0/21, Fa 0/22, Fa 0/23 Fa 0/24 2 A active 3 B active 4 C active 5 D active 1002 fddi-default act/unsup 1003 token-ring-default act/unsup 1004 fddinet-default act/unsup 1005 trnet-default act/unsup
#4 Konfigurasi Switch Client
#4. 1 Konfigurasi Umum Switch Client(Switch 3, Switch 4, Switch 5, Switch 6) • • • Switch>enable Switch#configure terminal Switch(config)#vtp mode client Switch(config)#vtp domain vq Switch(config)#vtp password sssss
• #4. 2 Konfigurasi Khusus Tiap Switch Client
#4. 2. 1 Switch 3 • • • Switch(config)#interface fast. Ethernet 0/1 Switch(config-if)#switchport mode trunk Switch(config-if)#switchport trunk native vlan 1 Switch(config-if)#exit Switch(config)#interface range fast. Ethernet 0/2 3 Switch(config-if-range)#switchport mode access Switch(config-if-range)#switchport access vlan 2 Switch(config-if-range)#exit Switch(config)#exit
#4. 2. 2 Switch 4 • • • Switch(config)#interface fast. Ethernet 0/1 Switch(config-if)#switchport mode trunk Switch(config-if)#switchport trunk native vlan 1 Switch(config-if)#exit Switch(config)#interface range fast. Ethernet 0/2 3 Switch(config-if-range)#switchport mode access Switch(config-if-range)#switchport access vlan 3 Switch(config-if-range)#exit Switch(config)#exit
#4. 2. 3 Switch 4 • • • Switch(config)#interface fast. Ethernet 0/1 Switch(config-if)#switchport mode trunk Switch(config-if)#switchport trunk native vlan 1 Switch(config-if)#exit Switch(config)#interface range fast. Ethernet 0/2 3 Switch(config-if-range)#switchport mode access Switch(config-if-range)#switchport access vlan 4 Switch(config-if-range)#exit Switch(config)#exit
#4. 2. 3 Switch 5 • • • Switch(config)#interface fast. Ethernet 0/1 Switch(config-if)#switchport mode trunk Switch(config-if)#switchport trunk native vlan 1 Switch(config-if)#exit Switch(config)#interface range fast. Ethernet 0/2 3 Switch(config-if-range)#switchport mode access Switch(config-if-range)#switchport access vlan 5 Switch(config-if-range)#exit Switch(config)#exit
#4. 3 Cek Tabel VLAN(Switch 3, Switch 4, Switch 5, Switch 6) • Switch#show vlan
#5 Tablel daftar network yang digunakan pada tiap Vlan :
#6 Tes Ping antar host • Tinggal ping aja ke ip tujuan
*sekian terima kasih • ^^v
- Slides: 18