A mobile-responsive minimalist wp theme converted for Blogger

This is an example of a Blogger page, you could edit this to put information about yourself or your site so readers know where you are coming from. Find out more...

Konfigurasi Vlan dan Router

Konfigurasi Vlan dan Router


Switch0
Switch>en
Switch>enable
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 30
Switch(config-vlan)#name PakEko
Switch(config-vlan)#exit
Switch(config)#vlan 40
Switch(config-vlan)#name MasHeru
Switch(config-vlan)#exit
Switch(config)#int fa0/1
Switch(config-if)#sw
Switch(config-if)#switchport mo
Switch(config-if)#switchport mode acc
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 30
Switch(config-if)#exit
Switch(config)#int fa0/2
Switch(config-if)#sw
Switch(config-if)#switchport mo
Switch(config-if)#switchport mode acc
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 30
Switch(config-if)#exit
Switch(config)#int fa0/3
Switch(config)#sw
Switch(config-if)#switchport mo
Switch(config-if)#switchport mode acc
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 40
Switch(config-if)#int fa0/4
Switch(config-if)#sw
Switch(config-if)#switchport mo
Switch(config-if)#switchport mode acc
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 40
Switch(config-if)#exit
Switch(config)#

Switch con0 is now available

Press RETURN to get started.

Switch>en
Switch>enable
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int fa0/5
Switch(config-if)#sw
Switch(config-if)#switchport mo
Switch(config-if)#switchport mode tr
Switch(config-if)#switchport mode trunk
Switch(config-if)#

Switch1
Switch>en
Switch>enable
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 10
Switch(config-vlan)#name novia
Switch(config-vlan)#exit
Switch(config)#vlan 20
Switch(config-vlan)#name linda
Switch(config-vlan)#exit
Switch(config)#int fa0/1
Switch(config-if)#sw
Switch(config-if)#switchport mo
Switch(config-if)#switchport mode acc
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 10
Switch(config-if)#exit
Switch(config)#int fa0/2
Switch(config-if)#sw
Switch(config-if)#switchport mo
Switch(config-if)#switchport mode acc
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 10
Switch(config-if)#exit
Switch(config)#int fa0/3
Switch(config-if)#sw
Switch(config-if)#switchport mo
Switch(config-if)#switchport mode acc
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 20
Switch(config-if)#exit
Switch(config)#int fa0/4
Switch(config-if)#sw
Switch(config-if)#switchport mo
Switch(config-if)#switchport mode acc
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 20
Switch(config-if)#exit

Switch con0 is now available

Press RETURN to get started.

Switch(config)#int fa0/5
Switch(config-if)#sw
Switch(config-if)#switchport mo
Switch(config-if)#switchport mode tr
Switch(config-if)#switchport mode trunk
Switch(config-if)#exit
Switch(config)#

Switch3
Switch>en
Switch>enable
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int fa0/3
Switch(config-if)#sw
Switch(config-if)#switchport mo
Switch(config-if)#switchport mode tr
Switch(config-if)#switchport mode trunk
Switch(config-if)#exit
Switch(config)#exit
Switch#
%SYS-5-CONFIG_I: Configured from console by console

Switch#en
Switch#vl
Switch#vlan datab
Switch#vlan database
% Warning: It is recommended to configure VLAN from config mode,
as VLAN database mode is being deprecated. Please consult user
documentation for configuring VTP/VLAN in config mode.

Switch(vlan)#vl
Switch(vlan)#vlan 10 name novia
VLAN 10 added:
Name: novia
Switch(vlan)#exit
APPLY completed.
Exiting....
Switch#vl
Switch#vlan datab
Switch#vlan database
% Warning: It is recommended to configure VLAN from config mode,
as VLAN database mode is being deprecated. Please consult user
documentation for configuring VTP/VLAN in config mode.

Switch(vlan)#vl
% Incomplete command.
Switch(vlan)#vl
Switch(vlan)#vlan 20 name linda
VLAN 20 added:
Name: linda
Switch(vlan)#exit
APPLY completed.
Exiting....
Switch#

Router0
Router>en
Router>enable
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip add 192.168.10.10 255.255.255.0
Router(config-if)#no shut

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

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

Router(config-if)#exit
Router(config)#int fa0/1
Router(config-if)#ip add 192.168.5.5 255.255.255.128
Router(config-if)#no shut

Router(config-if)#
%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
Router(config)#int fa0/0.30
Router(config-subif)#
%LINK-5-CHANGED: Interface FastEthernet0/0.30, changed state to up

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

Router(config-subif)#en
Router(config-subif)#encapsulation do
Router(config-subif)#encapsulation dot1Q 30
Router(config-subif)#ip add 192.168.30.33 255.255.255.240
Router(config-subif)#exit
Router(config)#int fa0/0.40
Router(config-subif)#
%LINK-5-CHANGED: Interface FastEthernet0/0.40, changed state to up

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

Router(config-subif)#en
Router(config-subif)#encapsulation do
Router(config-subif)#encapsulation dot1Q 40
Router(config-subif)#ip add 192.168.40.49 255.255.255.240
Router(config-subif)#exit
Router(config)#

Router con0 is now available


Press RETURN to get started.

IP Router1
Router>en
Router>enable
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip route 192.168.70.64 255.255.255.192 192.168.5.6
Router(config)#ip route 192.168.10.32 255.255.255.224 192.168.5.6
Router(config)#ip route 192.168.20.64 255.255.255.224 192.168.5.6
Router(config)#

Router2
Router>en
Router>enable
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/1
Router(config-if)#ip add 192.168.5.6 255.255.255.128
Router(config-if)#no shut

Router(config-if)#
%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
Router(config)#int fa0/0
Router(config-if)#ip add 192.168.70.64 255.255.255.192
Bad mask /26 for address 192.168.70.64
Router(config-if)#no shut

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

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

Router(config-if)#exit
Router(config)#int fa0/1.10
Router(config-subif)#
%LINK-5-CHANGED: Interface FastEthernet0/1.10, changed state to up

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

Router(config-subif)#en
Router(config-subif)#encapsulation do
Router(config-subif)#encapsulation dot1Q 10
Router(config-subif)#ip add 192.168.10.33 255.255.255.224
Router(config-subif)#exit
Router(config)#int fa0/1.20
Router(config-subif)#
%LINK-5-CHANGED: Interface FastEthernet0/1.20, changed state to up

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

Router(config-subif)#en
Router(config-subif)#encapsulation do
Router(config-subif)#encapsulation dot1Q 20
Router(config-subif)#ip add 192.168.20.65 255.255.255.224
Router(config-subif)#exit
Router(config)#
Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console

 IP Router2
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip route 192.168.10.10 255.255.255.0 192.168.5.5
Router(config)#ip route 192.168.10.10 255.255.255.0 192.168.5.5
Router(config)#ip route 192.168.30.32 255.255.255.240 192.168.5.5
Router(config)#ip route 192.168.40.48 255.255.255.240 192.168.5.5
Router(config)#

 Router con0 is now available



Press RETURN to get started.
 


Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface FastEthernet0/0
Router(config-if)#ip address 192.168.70.65 255.255.255.0
Router(config-if)#ip address 192.168.70.65 255.255.255.192
Router(config-if)#
Router(config-if)#exit
Router(config)#ip route 192.168.10.0 255.255.255.0 192.168.5.5
Router(config)#
Router(config)#
Router(config)#router rip
Router(config-router)#
Router(config-router)#exit
Router(config)#exit
Router#vlan database
% Warning: It is recommended to configure VLAN from config mode,
as VLAN database mode is being deprecated. Please consult user
documentation for configuring VTP/VLAN in config mode.

Router(vlan)#
%SYS-5-CONFIG_I: Configured from console by console

Router(vlan)#
Router(vlan)#exit
APPLY completed.
Exiting....
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface FastEthernet0/0
Router(config-if)#
Router(config-if)#exit
Router(config)#interface FastEthernet0/1
Router(config-if)#



 Isikan IP pada server yaitu, dengan perintah berikut :







Continue Reading

KONFIGURASI MIKROTIK CLI


Konfigurasi mikrotik CLI meliputi :
1.     Cara reset via hard reset
Tekan lubang RES ð tahan posisi maih ditekan ð cabut kabel power ð tancapkan lagi ð lihat LED ACT berkedip ð tunggu sampai berhenti berkedip.
2.     Reset konfigurasi soft reset
Klik system ð reset configuration ð centang no default ð klik reset configuration ð yes ð sampai muncul tulisan router has been disconnect ð ok.
1.       Konfigurasi IP : untuk mengkonfigurasi ip address sesuai skema topologi
Cara Membuat IP
 @ IP @ address @ add @ address=192.168.0.202.X/24 (sesuaikan absen kalian) @ interface=ether1 @ disabled=no @ enter
@ IP @ address @ add @ address=192.168.100.1/24 @ interface=ether2 @ disabled=no @ enter
@ IP @ address @ add @ address=192.168.200.1/24 @ interface=ether5 @ disabled=no @ enter
Untuk Mengecek IP

@ IP @ address @ print @ enter
Gateway : gerbang bagi router untuk menuju internet
Cara Membuat Gateway

FipFrouteFaddFgateway=10.10.20.1Fenter
Untuk Mengecek Gateway

FipFrouteFprintFenter
DNS : merubah ip address menjadi hostname/domain
Cara Membuat DNS


FipFdnsFsetFservers=192.168.0.200Fallow-remote-request=yes
Untuk Mengecek DNS

FipFdnsFprintFenter
ping ke google.com / 8.8.8.8

Nat : merubah ip privat menjadi ip public
Cara Membuat Nat


FipFfirewallFnatFaddFchain=srcnatFprotocol=tcpFout-interface=ether5 Faction=masquaradeFenter
DHCP Server : membagi alamat ip address secara otomatis
Cara Membuat DHCP Server

FipFdhcpFserverFsetupFenter (pilih interface yang ke ether tp-link / acces point ) di sini saya menggunakan port 5, jadi saya akan memilih ether5. Setelah itu enter sampai :
Address to give out : 192.168.200.2-192.168.200.254 diganti menjadi 192.168.200.2-192.168.200.100, kemudian di enter sampai selesai

Proxy : pembatasan akses web, cache content, keamanan
Cara Membuat Proxy
FipFproxyFsetFenabled=yesFcacheFadministrator=noviaw_26_XIITKJ2 Fcache=on-disk=yesFenter
Untuk Mengecek IP Proxy

FipFproxyFprintFenter
Nah, di sni saya ingin membatasi web yang tidak akan bisa saya akses yaitu : linux, mp3, mkv
Caranya dalah

FipFproxyFaccessFaddFdst-host=*linux*Faction=deny
FipFproxyFaccessFaddFpath=*.mp3*Faction=deny
FipFproxyFaccessFaddFpath=*.mkv* Faction=deny
















FipFfirewallFnatFaddFchain=dstnatFprotocol=tcpFdst-port=80Faction=redirectFto-ports=8080 (8080 adalah port https) FdisabledFno
Sntp : untuk sinkronisasi waktu jaringan (hari, bulan, tanggal, tahun, jam)
Cara Membuat Sntp

FsystemFntpFclientFsetFenabled=yesFprimary-ntp=62.201.225.9 / 203.160.128.3 (pilih salah satu)
FsystemFclockFset time-zone-name=Asia/Jakarta
FsystemFclockFsetFdate=Oct/09/2017 time-09:00:00 (sesuaikan waktu) Fenter
Untuk Mengecek Clock

FsystemFclockFprintFenter
Filter Forwad Drop : Untuk memblokir access internet
Cara Blokir Access Internet

FsystemFclockFprintFenter
FipFfirewallFfilterFaddFchain=forwardFin-interface=ether5Ftime=7h-19h, sat, mon, sun, thu, tue, wed, fri Faction=drop (blok jalur ke access point)



Continue Reading