ok,ketemu lagi dengan saya,disini saya akan belajar bagaimana cara'a menggunakan switch layer 3
dengan topologi sebagai berikut :
hal pertama yg harus di lakukan adalah membuat 2 buah Vlan
buatlah vlan 10 dan 20.
Switch#enable
Switch#conf t
Switch(config)#vlan 10
Switch(config-vlan)#vlan 20
Switch(config-vlan)#name sales
Switch(config-vlan)#vlan 10
Switch(config-vlan)#name manager
Switch(config-vlan)#exit
Assign VLAN 10 dan 20 ke masing" port interface switch :
Switch(config)#int fa0/1
Switch(config-if)#switchport access vlan 10
Switch(config-if)#ex
Switch(config)#int fa0/2
Switch(config-if)#switchport access vlan 10
Switch(config-if)#ex
Switch(config)#int fa0/3
Switch(config-if)#switchport access vlan 20
Switch(config-if)#ex
Switch(config)#int fa0/4
Switch(config-if)#switchport access vlan 20
Switch(config-if)#ex
lalu konfigurasikan IP Address interface si VLAN tersebut :
Switch(config)#int vlan 10
Switch(config-if)#ip address 10.10.10.1 255.255.255.0
Switch(config-if)#ex
Switch(config)#int vlan 20
Switch(config-if)#ip address 20.20.20.1 255.255.255.0
Switch(config-if)#ex
aktifkan ip routing agar bisa merouting antar vlan yg berbeda .
Switch(config)#ip routing
kemudian konfigurasikan masing" ip address pada setiap PC dengan IP 10.10.10.1 sebagai gateway PC si VLAN 10 dan IP 20.20.20.1 sebagai IP gateway PC VLAN 20.
Pengetesan'a,lakukan test ping ke IP gateway'a terlebih dahulu,bila mendapat reply,selanjutnya lakukan ke PC lain yg berbeda VLAN.
Switch#show ip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/1 unassigned YES unset up up
FastEthernet0/2 unassigned YES unset up up
FastEthernet0/3 unassigned YES unset up up
FastEthernet0/4 unassigned YES unset up up
FastEthernet0/5 unassigned YES unset down down
FastEthernet0/6 unassigned YES unset down down
FastEthernet0/7 unassigned YES unset down down
FastEthernet0/8 unassigned YES unset down down
FastEthernet0/9 unassigned YES unset down down
FastEthernet0/10 unassigned YES unset down down
FastEthernet0/11 unassigned YES unset down down
FastEthernet0/12 unassigned YES unset down down
FastEthernet0/13 unassigned YES unset down down
FastEthernet0/14 unassigned YES unset down down
FastEthernet0/15 unassigned YES unset down down
FastEthernet0/16 unassigned YES unset down down
FastEthernet0/17 unassigned YES unset down down
FastEthernet0/18 unassigned YES unset down down
FastEthernet0/19 unassigned YES unset down down
FastEthernet0/20 unassigned YES unset down down
FastEthernet0/21 unassigned YES unset down down
FastEthernet0/22 unassigned YES unset down down
FastEthernet0/23 unassigned YES unset down down
FastEthernet0/24 unassigned YES unset down down
GigabitEthernet0/1 unassigned YES unset down down
GigabitEthernet0/2 unassigned YES unset down down
Vlan1 unassigned YES unset administratively down down
Vlan10 10.10.10.1 YES manual up up
Vlan20 20.20.20.1 YES manual up up
setelah semua pc di ping satu per satu,tampilkan mac address table'a
Switch#
Switch#show mac-address-table
Mac Address Table
-------------------------------------------
Vlan Mac Address Type Ports
---- ----------- -------- -----
10 000a.f3b7.7a2d DYNAMIC Fa0/2
10 00e0.f7a6.4560 DYNAMIC Fa0/1
20 00d0.bc9e.83da DYNAMIC Fa0/4
20 00e0.b05c.5769 DYNAMIC Fa0/3
Switch#
ok,sampai disini dulu perjumpaan tentang switch layer 3 saya...
sampai ketemu di lain kesempatan...:D
Tidak ada komentar:
Posting Komentar