Thursday, September 26, 2013

Configuration Inter Vlan Routing Dalam Jaringan

Tags


CONFIGURATION PADA ROUTER
Router>ena
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#int fa0/1
Router(config-if)#no ip add
Router(config-if)#no shut
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
Router(config-if)#exit

PEMECAHAN  IP PADA ROUTER UNTUK VLAN YANG KITA BUAT
Router(config-if)#int fa0/1.1
%LINK-5-CHANGED: Interface FastEthernet0/1.1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1.1, changed state to up
Router(config-subif)#ENCApsulation DOt1Q 30
Router(config-subif)#IP ADD 192.168.1.1 255.255.255.0
Router(config-subif)#NO SHUT
Router(config-subif)#EXIT
Router(config)#int fa0/1.2
%LINK-5-CHANGED: Interface FastEthernet0/1.2, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1.2, changed state to up
Router(config-subif)#ENCApsulation DOt1Q 40
Router(config-subif)#IP ADD 192.168.2.1 255.255.255.0
Router(config-subif)#NO SHUT
Router(config-subif)#EXIT
Router(config)#int fa0/1.3
%LINK-5-CHANGED: Interface FastEthernet0/1.3, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1.3, changed state to up
Router(config-subif)#ENCApsulation DOt1Q 50
Router(config-subif)#IP ADD 192.168.3.1 255.255.255.0
Router(config-subif)#NO SHUT
Router(config-subif)#EXIT

LAKUKAN RIP PADA ROUTER
Router(config)#ROUTER RIP
Router(config-router)#VERSION 2
Router(config-router)#NET 192.168.1.0
Router(config-router)#NET 192.168.2.0
Router(config-router)#NET 192.168.3.0
Router(config-router)#EXIT
Router(config)#

CONFIGURATION PADA SERVER
Switch>ENA
Switch#CONF T
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#HOSTNAME SERVER
SERVER(config)#VTP DOMAIN cyberlinggau.blogspot.com
Changing VTP domain name from NULL to cyberlinggau.blogspot.com
SERVER(config)#int fa0/3
SERVER(config-if)#switchport mode trunk
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to up
SERVER(config-if)#exit
SERVER(config)#int fa0/2
SERVER(config-if)#switchport mode trunk
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to up
SERVER(config-if)#exit
SERVER(config)#

MEMBAGI  3 VLAN PADA SERVER UNTUK ACCESS KE PC
1.      Pc dosen
2.      Pc karyawan
3.      Pc siswa
SERVER>ena
SERVER#conf t
Enter configuration commands, one per line.  End with CNTL/Z.  
SERVER(config)#int fa0/4
SERVER(config-if)#swi mode acc
SERVER(config-if)#swi acc vlan 30
% Access VLAN does not exist. Creating vlan 30
SERVER(config-if)#desc dosen
SERVER(config-if)#exit
SERVER(config)#int fa0/5
SERVER(config-if)#swi mode acc
SERVER(config-if)#swi acc vlan 40
% Access VLAN does not exist. Creating vlan 40
SERVER(config-if)#desc karyawan
SERVER(config-if)#exit
SERVER(config)#int fa0/6
SERVER(config-if)#swi mode acc
SERVER(config-if)#swi acc vlan 50
% Access VLAN does not exist. Creating vlan 50
SERVER(config-if)#desc siswa
SERVER(config-if)#exit

CONFIGURATION PADA CLIENT_1
Switch>ena
Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#hostname CLIENT_1
CLIENT_1(config)#INT FA0/2
CLIENT_1(config-if)#SWItchport MODE TRUnk
CLIENT_1(config-if)#EXIT
CLIENT_1(config)#VTP DOMAIN cyberlinggau.blogspot.com
Domain name already set to cyberlinggau.blogspot.com.
CLIENT_1(config)#vtp mode client
Setting device to VTP CLIENT mode.
CLIENT_1(config)#exit
CLIENT_1#
%SYS-5-CONFIG_I: Configured from console by console
ACCEESS VLAN 30 UNTUK PC DOSEN
CLIENT_1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
CLIENT_1(config)#int fa0/1
CLIENT_1(config-if)#swi
CLIENT_1(config-if)#switchport mode acc
CLIENT_1(config-if)#swi acc vlan 30
CLIENT_1(config-if)#desc dosen
CLIENT_1(config-if)#exit
ACCEESS VLAN 40 UNTUK PC KARYAWAN
CLIENT_1(config)#int fa0/3
CLIENT_1(config-if)#switchport mode acc
CLIENT_1(config-if)#swi acc vlan 40
CLIENT_1(config-if)#desc karyawan
CLIENT_1(config-if)#exit
ACCEESS VLAN 50 UNTUK PC SISWA
CLIENT_1(config)#int fa0/4
CLIENT_1(config-if)#switchport mode acc
CLIENT_1(config-if)#swi acc vlan 50
CLIENT_1(config-if)#desc siswa
CLIENT_1(config-if)#exit
CLIENT_1(config)#

CONFIGURATION PADA CLIENT_2
Switch>ena
Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#hostname CLIENT_2
CLIENT_2(config)#int fa0/3
CLIENT_2(config-if)#switchport  mode trunk
CLIENT_2(config-if)#exit
CLIENT_2(config)#vtp domain cyberlinggau.blogspot.com
Domain name already set to cyberlinggau.blogspot.com.
CLIENT_2(config)#vtp mode client
Device mode already VTP CLIENT.
CLIENT_2(config)#exit
CLIENT_2#
%SYS-5-CONFIG_I: Configured from console by console
ACCEESS VLAN 30 UNTUK PC DOSEN
CLIENT_2>ena
CLIENT_2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
CLIENT_2(config)#int fa0/1
CLIENT_2(config-if)#swi mode acc
CLIENT_2(config-if)#swi acc vlan 30
CLIENT_2(config-if)#desc dosen
CLIENT_2(config-if)#exit
ACCEESS VLAN 40 UNTUK PC KARYAWAN
CLIENT_2(config)#int fa0/2
CLIENT_2(config-if)#swi mode acc
CLIENT_2(config-if)#swi acc vlan 40
CLIENT_2(config-if)#desc karyawan
CLIENT_2(config-if)#exit
ACCEESS VLAN 50 UNTUK PC SISWA
CLIENT_2(config)#int fa0/4
CLIENT_2(config-if)#swi mode acc          
CLIENT_2(config-if)#swi acc vlan 50
CLIENT_2(config-if)#desc siswa
CLIENT_2(config-if)#exit

CLIENT_2(config)#

Artikel Terkait


EmoticonEmoticon