KONFIGURASI INTER VLAN SWITCH LAYER 3


KONFIGURASI INTER VLAN SWITCH LAYER 3

    Pengertianya untuk menghubungkan antar VLAN di butuhkan suatu perangkat layer 3 baik Router atau Switch layer 3. Kalau sebelumnya menggunakan Router On Stick kali ini kita akan menggunakan Switch layer 3, inilah kelebihan CISCO kalau Switch yang lain bekerja pada layer 2, sedangkan switch CISCO dapat bekerja pada layer 3 dan menjalankan Routing. Namun untuk Routing yang lebih luas lebih di anjurkan menggukan Router.




Konfigurasi Switch Layer 3

1.      Memberi nama vlan 10&20
Perintahnya



 
Switch(config)#vlan 10
Switch(config-vlan)#name Guru
Switch(config)#vlan 20
Switch(config-vlan)#name Siswa


2.      Memberi IP address pada vlan 10&20

Switch(config)#int vlan 10
Switch(config-if)#ip address 10.10.10.1 255.255.255.0
Switch(config-if)#int vlan 20
Switch(config-if)#ip address 20.20.20.1 255.255.255.0

3.      Memberikan akses ke port

Switch(config)#int fa0/1
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 10
Switch(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan10, changed state to up
Switch(config-if)#int fa0/2
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 10
Switch(config-if)#int fa0/3
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 20
Switch(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan20, changed state to up

Switch(config-if)#int fa0/4
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 20

4.      Merouting Switch Layer 3
Ketikkan ip routing untuk merouting vlan:



 
                        Switch(config-if)#ip routing



Hasil Verifikasi Layer 3



 
PC>ipconfig
FastEthernet0 Connection:(default port)
   Link-local IPv6 Address.........: FE80::260:3EFF:FE7A:8834
   IP Address......................: 10.10.10.2
   Subnet Mask.....................: 255.255.255.0
   Default Gateway.................: 10.10.10.1
PC>ping 20.20.20.2
Pinging 20.20.20.2 with 32 bytes of data:
Reply from 20.20.20.2: bytes=32 time=14ms TTL=127
Reply from 20.20.20.2: bytes=32 time=15ms TTL=127
Reply from 20.20.20.2: bytes=32 time=11ms TTL=127
Reply from 20.20.20.2: bytes=32 time=2ms TTL=127
Ping statistics for 20.20.20.2:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 2ms, Maximum = 15ms, Average = 10m
Share:

Tidak ada komentar:

Posting Komentar

recent posts

banner image

Popular Posts

Recent Posts

Unordered List

  • Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
  • Aliquam tincidunt mauris eu risus.
  • Vestibulum auctor dapibus neque.

Pages

Theme Support

Need our help to upload or customize this blogger template? Contact me with details about the theme customization you need.

NURDIANSYAH

IDENTITAS