Assalamualaikum wr wb.
SMART BLOGGER - Hallo guys, sudah lama tak update blog ini karna kesibukan saya di akhir penghujung sekolah :v, oke saya akan melanjutkan lab selanjutnya tentang CDP, kali ini saya akan membahas tentang InterVLAN Routing. Maksudnya gimana tuh mas ? gini di lab sebelumnya kita udah belajar tentang vlan access dan vlan trunk di berbeda switch dan berbeda vlan, tetapi mereka yang berbeda vlan tidak bisa berhubungan, nah biar dibisa berhubungan beda vlan harus dibutuhkan device layer 3 yaitu router, nah teknik ini bisa disebut teknik InterVLAN, oke langsung aja biar paham kita liat topologinya.
* SW-1 Configuration
Switch(config)#hostname SW-1*SW-2 Configuration
SW-1(config)#vlan 10
SW-1(config-vlan)#name vlan10
SW-1(config-vlan)#exit
SW-1(config)#vlan 20
SW-1(config-vlan)#name vlan20
SW-1(config-vlan)#exit
SW-1(config)#interface fa0/2
SW-1(config-if)#switchport mode access
SW-1(config-if)#switchport access vlan 10
SW-1(config-if)#exit
SW-1(config)#interface fa0/3
SW-1(config-if)#switchport mode access
SW-1(config-if)#switchport access vlan 20
SW-1(config-if)#exit
SW-1(config)#interface fa0/1
SW-1(config-if)#switch mode trunk
SW-1(config-if)#exit
SW-1(config)#interface fa0/4
SW-1(config-if)#switch mode trunk
SW-1(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/4, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/4, changed state to up
SW-1(config-if)#
SW-2(config)#vlan 10
SW-2(config-vlan)#name vlan10
SW-2(config-vlan)#exit
SW-2(config)#vlan 20
SW-2(config-vlan)#name vlan20
SW-2(config-vlan)#exit
SW-2(config)#interface fa02
^
% Invalid input detected at '^' marker.
SW-2(config)#interface fa0/2
SW-2(config-if)#switch mode access
SW-2(config-if)#switch access vlan 10
SW-2(config-if)#exit
SW-2(config)#interface fa0/3
SW-2(config-if)#switch mode access
SW-2(config-if)#switch access vlan 20
SW-2(config-if)#exit
SW-2(config)#interface fa0/1
SW-2(config-if)#switch mode trunk
SW-2(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
SW-2(config-if)#
kalo sudah sekarang kita set 802.1q di router.
* RO-1 Configuration
RO-1(config)#interface fa0/0.10sekarang kita set ip komputer dengan gateway masing masing
RO-1(config-subif)#enscaptu
RO-1(config-subif)#enscap
RO-1(config-subif)#ens
RO-1(config-subif)#en
RO-1(config-subif)#encapsulation dot1Q 10
RO-1(config-subif)#ip address 192.168.10.1 255.255.255.0
RO-1(config-subif)#exit
RO-1(config)#interface fa0/0.20
RO-1(config-subif)#
%LINK-5-CHANGED: Interface FastEthernet0/0.20, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.20, changed state to up
RO-1(config-subif)#encapsulation dot1Q 20
RO-1(config-subif)#ip address 192.168.20.1 255.255.255.0
RO-1(config-subif)#exit
RO-1(config)#
*sekarang kita tes PING!
oke berhasil :), cukup sampe sini aja materinya semoga bermanfaat bagi kalian, wassalamualaikum wr wb
No comments:
Post a Comment