Pages

Koneksi antar Vlan dengan menggunakan router

Assalamualaikum, bertemu lagi dengan blog yang sederhana yang semoga bermanfaat, sesuai janji ane akan sharing bagaimana ketika 2 Vlan yang berbeda dapat saling komunikasi satu sama lain, pada pembahasan kemarin kita sudah meng labkan tentang koneksi dengan 2 Vlan yang berbeda, kendala nya yaitu tidak dapat berkomunikasi antar vlan yang berbeda, maka dari itu, ane akan share agar antar 2 Vlan yang berbeda dalat saling komunikasi, berikut ya sob caranya :

Topologi
Konfigurasi
R1
R1(config)#do sh run
Building configuration...

Current configuration : 724 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R1
!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface FastEthernet0/0
 no ip address
 duplex auto
 speed auto
!
interface FastEthernet0/0.10
 encapsulation dot1Q 10
 ip address 12.12.12.1 255.255.255.0
!
interface FastEthernet0/0.20
 encapsulation dot1Q 20
 ip address 23.23.23.1 255.255.255.0
!
interface FastEthernet0/1
 no ip address
 duplex auto
 speed auto
!
interface Vlan1
 no ip address
 shutdown
!
router rip
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
 login
!
!
!
end
SW0
SW0#sh running-config 
Building configuration...

Current configuration : 1125 bytes
!
version 12.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Switch
!
!
!
spanning-tree mode pvst
!
interface FastEthernet0/1
switchport mode trunk
!
interface FastEthernet0/2
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/3
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/4
switchport mode trunk
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface Vlan1
no ip address
shutdown
!
!
!
!
line con 0
!
line vty 0 4
login
line vty 5 15
login
!
!
end
SW1
SW1#sh running-config 
Building configuration...

Current configuration : 1079 bytes
!
version 12.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Switch
!
!
!
spanning-tree mode pvst
!
interface FastEthernet0/1
switchport mode trunk
!
interface FastEthernet0/2
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/3
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface Vlan1
no ip address
shutdown
!
!
!
!
line con 0
!
line vty 0 4
login
line vty 5 15
login
!
!
end

Mengkonfigurasi pada setiap client dengan parameter seperti topologi
Sample konfigurasi pada client dengan menggunakan IP configuration statik

Setelah dilakukan konfigurasi seperti tahap-tahap yang sudah di sebutkan, selanjutnya adalah pengecekan koneksi anta sesama Vlan atau beda Vlan / Network

Ping dalam satu network

Ping antar network yang berbeda

Alhamdulillah sekarang sudah bisa di ping ke sesama network atau ke beda network 
Sekian dulu ya sob, see you next..

Semoga Bermanfaat !

adeirawan

"Live like a King, Die like a Legend"

Tidak ada komentar:

Posting Komentar