Category Archives: Network

Menambahkan Switch Layer 3 di GNS3

[1] Langkah pertama dengan membuka GNS3, lalu pilih Edit – Preference

[2] Pilin Dynamips – IOS Routers – New

– Untuk IOS nya menggunakan Cisco 3640 series IOS image

– Centang EtherSwitch router

[3] Ok, Setelah Finish cek di IOS router templates. Jangan lupa untuk klik Apply dan Ok

Cheers – AnditoYugoWicaksono

Advertisements

konfigurasi RIP

Gambar di atas adalah contoh topologi sederhana untuk RIP menggunakan Cisco Packet Tracer.

[1] Berikut konfigurasi untuk Router 1

!
interface Serial1/0
 ip address 10.1.1.2 255.255.255.252
 clock rate 2000000
!
interface Serial1/1
 ip address 10.1.2.2 255.255.255.252
 clock rate 2000000
!
interface Serial1/2
 no ip address
 clock rate 2000000
 shutdown
!
interface Serial1/3
 no ip address
 clock rate 2000000
 shutdown
!
interface Vlan1
 no ip address
 shutdown
!
router rip
 version 2
 network 10.0.0.0
!

[2] Konfigurasi untuk Router 2

!
interface FastEthernet0/0
 ip address 10.1.10.1 255.255.255.0
 duplex auto
 speed auto
!
interface FastEthernet0/1
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface Serial1/0
 ip address 10.1.1.1 255.255.255.252
!
interface Serial1/1
 no ip address
 clock rate 2000000
 shutdown
!
interface Serial1/2
 no ip address
 clock rate 2000000
 shutdown
!
interface Serial1/3
 no ip address
 clock rate 2000000
 shutdown
!
interface Vlan1
 no ip address
 shutdown
!
router rip
 version 2
 network 10.0.0.0
!

[3] Konfigurasi untuk Router 3

!
interface FastEthernet0/0
 ip address 10.1.20.1 255.255.255.0
 duplex auto
 speed auto
!
interface FastEthernet0/1
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface Serial1/0
 ip address 10.1.2.1 255.255.255.252
!
interface Serial1/1
 no ip address
 clock rate 2000000
 shutdown
!
interface Serial1/2
 no ip address
 clock rate 2000000
 shutdown
!
interface Serial1/3
 no ip address
 clock rate 2000000
 shutdown
!
interface Vlan1
 no ip address
 shutdown
!
router rip
 version 2
 network 10.0.0.0
!

[4] Untuk IP Laptop menggunakan segment 10.1.10.10/24, dan untuk server menggunakan segment 10.1.20.20/24. Untuk membuktikan apakah routingan sukses di konfigurasi dengan benar atau tidak, di buktikan dengan menjalankan paket icmp ping dari Laptop ke Server dan sebaliknya.

Di bawah ini contoh ping dari IP laptop ke Server :

C:\>ipconfig
FastEthernet0 Connection:(default port)
Link-local IPv6 Address.........: FE80::2D0:D3FF:FEDE:397C
 IP Address......................: 10.1.10.10
 Subnet Mask.....................: 255.255.255.0
 Default Gateway.................: 10.1.10.1

C:\>ping 10.1.20.20
Pinging 10.1.20.20 with 32 bytes of data:
Reply from 10.1.20.20: bytes=32 time=2ms TTL=125
Reply from 10.1.20.20: bytes=32 time=2ms TTL=125
Reply from 10.1.20.20: bytes=32 time=2ms TTL=125
Reply from 10.1.20.20: bytes=32 time=2ms TTL=125

Ping statistics for 10.1.20.20:
 Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
 Minimum = 2ms, Maximum = 2ms, Average = 2ms

Di bawah ini contoh ping dari Server ke Laptop :

C:\>ipconfig
FastEthernet0 Connection:(default port)
Link-local IPv6 Address.........: FE80::2D0:FFFF:FEAB:CA6D
 IP Address......................: 10.1.20.20
 Subnet Mask.....................: 255.255.255.0
 Default Gateway.................: 10.1.20.1

C:\>ping 10.1.10.10
Pinging 10.1.10.10 with 32 bytes of data:
Reply from 10.1.10.10: bytes=32 time=4ms TTL=125
Reply from 10.1.10.10: bytes=32 time=3ms TTL=125
Reply from 10.1.10.10: bytes=32 time=2ms TTL=125
Reply from 10.1.10.10: bytes=32 time=2ms TTL=125
Ping statistics for 10.1.10.10:
 Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
 Minimum = 2ms, Maximum = 4ms, Average = 2ms

Cheers  – AnditoYugoWicaksono

Konfigurasi Access List di Cisco Router

Gambar di atas adalah contoh topology sederhana untuk access-list jika di implementasikan di sebuah gedung berlantai. Skenarionya adalah untuk PC di Lantai 2 dengan IP 10.0.10.10 hanya bisa melakukan ping ke IP PC 10.0.60.3 dan IP PC 10.0.60.60. Sedangkan untuk IP PC 10.0.10.90 tidak bisa melakukan ping ke semua PC yang di lantai 1.

[1] Konfigurasi router lantai 1

lantai1#sh running-config 
Building configuration...
!
interface FastEthernet0/0
 ip address 10.0.60.1 255.255.255.0
 ip access-group 10 out
 duplex auto
 speed auto
!
interface FastEthernet0/1
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface Serial0/0/0
 ip address 10.1.192.1 255.255.255.252
 clock rate 2000000
!
interface Serial0/0/1
 no ip address
 clock rate 2000000
 shutdown
!
router rip
 version 2
 network 10.0.0.0
 network 10.0.60.0
!
!
access-list 10 permit host 10.0.10.10
!
!
end

[2] Konfigurasi router lantai 2

lantai2#sh running-config 
Building configuration...
!
interface FastEthernet0/0
 ip address 10.0.10.1 255.255.255.0
 duplex auto
 speed auto
!
interface FastEthernet0/1
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface Serial0/0/0
 ip address 10.1.192.2 255.255.255.252
!
router rip
 version 2
 network 10.0.0.0
 network 10.0.10.0
!
end

[3] Cek Acces List yang telah di konfigurasi dengan cara mengirim paket icmp

Ping dari IP PC 10.0.10.90 ke PC IP Lantai 1

Ok sukses, tidak bisa melakukan ping, karena untuk konfigurasinya hanya PC IP 10.0.10.10 yang bisa melakukan ping ke PC Lantai 1

[4] Melakukan cek ping IP dari PC Lantai 2 10.0.10.10

Sukses…

Cheers – Andito Yugo Wicaksono

Install Cisco Packet Tracer 7.0 di Ubuntu 16.04

[1] Download Cisco Packet Tracer 7.0 di Netacad

[2] Copy File Packet Tracer di folder /opt

[3] Extract packet tracer

:/opt$ sudo tar zxvf PacketTracer70_64bit_linux.tar.gz

[4] Masuk ke dir PacketTracer, lalu jalankan install

:/opt/PacketTracer70$ ll
total 84
-rwxrwxr-x 1 space space 4158 Jun 15 2016 install*
space@space:/opt/PacketTracer70$ ./install

Welcome to Cisco Packet Tracer 7.0 Installation

[5] Jalankan PacketTracer yang sudah diinstall di dir /opt/pt

:/opt/pt$ ./packettracer 
Starting Packet Tracer 7.0

Cheers – AnditoYugoWicaksono

 

 

Konfigurasi IOS DHCP Server

The Dynamic Host Configuration Protocol (DHCP) adalah protokol jaringan yang digunakan untuk mengkonfigurasi perangkat jaringan sehingga bisa berkomunikasi di jaringan IP. DHCP client menggunakan protokol DHCP untuk mendapatkan informasi konfigurasi, seperti alamat IP, default route dan satu atau lebih alamat server DNS dari server DHCP. DHCP client menggunakan informasi ini untuk mengkonfigurasi host-nya.

Berikut topologi sederhana untuk router DHCP

[1] Konfigurasi interface GigabitEthernet0/0 di router gateway

Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface GigabitEthernet0/0
Router(config-if)#ip add
Router(config-if)#ip address 10.1.1.1 255.255.255.0
Router(config-if)#no sh

Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up

[2] Konfigurasi DHCP pool

Router(config)#ip dhcp excluded-address 10.1.1.2 10.1.1.5
Router(config)#ip dhcp pool POOL-GW
Router(dhcp-config)#network 10.1.1.0 255.255.255.0
Router(dhcp-config)#default-router 10.1.1.1
Router(dhcp-config)#dns-server 10.1.1.88
Router(dhcp-config)#
Router(dhcp-config)#end
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#wr
Building configuration...
dhcp exclude          : ip yang tidak di share kepada host-client
ip dhcp pool POOL-GW  : nama DHCP di share kepada host-client
network               : ip yang akan di share kepada host-client
default-router        : gateway
dns-server            : DNS

[3] Cek IP konfigurasi di Laptop0

[4] Cek IP konfigurasi di Laptop1 dan lakukan ping ke Laptop0

Cheers
Andito Yugo Wicaksono

 

 

Point-to-Point Protocol (PPP)

[1] Melakukan Konfigurasi di Router Selatan

!
interface GigabitEthernet0/0
 ip address 10.20.10.1 255.255.255.0
 duplex auto
 speed auto
!
interface GigabitEthernet0/1
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface GigabitEthernet0/2
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface Serial0/0/0
 ip address 172.17.1.1 255.255.255.0
 encapsulation frame-relay
 frame-relay map ip 172.17.1.2 170 broadcast
 clock rate 2000000
!
interface Serial0/0/1
 no ip address
 clock rate 2000000
 shutdown
!
router eigrp 10
 network 10.0.0.0
 network 172.17.0.0
!

 

[2] Melakukan konfigurasi di Router Utara

!
interface GigabitEthernet0/0
 ip address 10.20.20.1 255.255.255.0
 duplex auto
 speed auto
!
interface GigabitEthernet0/1
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface GigabitEthernet0/2
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface Serial0/0/0
 ip address 172.17.1.2 255.255.255.0
 encapsulation frame-relay
 frame-relay map ip 172.17.1.1 171 broadcast
 clock rate 2000000
!
interface Serial0/0/1
 no ip address
 clock rate 2000000
 shutdown
!
router eigrp 10
 network 10.0.0.0
 network 172.17.0.0
!

 

[3] IP Segmentasi di dua Cabang

PC Cabang Selatan : 10.20.10.10/24 gw 10.20.10.1
PC Cabang Utara   : 10.20.20.10/24 gw 10.20.20.1

PC Cabang Selatan

PC Cabang Utara

 

[4] Melakukan konfigurasi di frame relay yang ada di Cloud-PT

Serial0 : Menambahkan DLCI Frame Relay yang ada di router

Serial1 : Menambahkan DLCI Frame Relay yang ada di router

Frame Relay : Menambahkan From Port –> To Port di Frame Relay

[5] Cek ping dari PC Cabang Selatan ke PC Cabang Utara

Cheers.
Andito Yugo Wicaksono