Setting dua gateway di mikrotik

- Posted in Jarkom by

Kali ini sharing mengenai konfigurasi mikrotik dengan dua gateway pada satu Router Mikrotik. enter image description here Interface di Router Mikrotik : 1. ISP – 1 : Publik Telkom - Network Address : 202.135.1.20/30
2. ISP – 2 : Publik BiznetWork -Network Address : 110.30.12.20/30
3. Lokal Network Address : 192.168.2.0/24 ; Network Address : 10.10.100.0/24
Dalam hal ini perlu menentukan isp mana yg kita set sebagai main routing untuk saat ini saya akan pilih ISP 1. ip address add address 192.168.2.1/24 interface=local
ip address add address 10.10.100.1/24 interface local
ip address add address 110.30.12.20/30 interface=public
ip address add address 202.10.10.20/30 interface=public

Untuk ISP1 tidak perlu dibuatkan routing mark dikarenakan sudah otomatis menjadi main routing langkah berikutnya adalah membuat gateway untuk ISP1 dan ISP 2
ip route>add destination-address=0.0.0.0/0 gateway=202.135.1.20
ip route>add destination-address=0.0.0.0/0 gateway=110.30.12.20 routing-mark=isp2

berikutnya kita akan masuk ke tahap routing dan NAT dalam hal ini blok klient 192.168.1.0/24 akan kita NAT ke ISP1 blok ip 10.10.100.0/24 akan kita NAT ke ISP2
ip route rule>add src-address=192.168.2.0/24 action=lookup table=main [optional]
ip route rule>add src-address=10.10.100.0/24 action-lookup table=isp2

[OPTIONAL - TIDAK WAJIB]
selanjutnya proses NAT yang menjadi pasangan proses rule tersebut di atas
ip firewall nat>add chain=srcnat src-address=192.168.1.0/24 action=src-nat to-address=202.10.10.20 to-ports=0-65535
ip firewall nat>add chain=srcnat src-address=10.10.100.0/24 action=src-nat to-address=110.30.12.20 to-ports=0-65535

Langkah selanjutnya adalah membuat table mark routing untuk ISP2.

ip firewall mangle>add chain=forward action=mark-routing new-routing-mark=”isp2″ passtrhough=yes

Simulasi CPU Battle Tank

- Posted in ArsitekturKomputer by

CPU Battle Tanks is designed for Computer Science students learning how Central Processing Units work with low level assembly language instructions.
The game involves a set of challenges where you can control a tank to move, collect items and destroy items.
Each tank is controlled by a processor that is compatible with the Little Man Computer CPU instruction set but with additional input and output options to allow the tanks to sense their environment and move / shoot accordingly.
Simulation link: http://fayani.web.id/lmc_tank

Simulasi CPU Little Man Computer (LMC)

- Posted in ArsitekturKomputer by

The Little Man Computer (LMC) model CPU is a brilliant way of introducting students to the fetch-decode-execute cycle that controls how a CPU operates.
The LMC simplifies the insides of a CPU down to just three registers:
1. Accumulator: General purpose registers
2.Program Counter: Keeps track of the address of the next instruction
3.Instruction Register: The current instruction being executed.
For A-Level (my students are studying the OCR course), you also need to be aware of the purpose and function of following CPU components: Memory Address Register, Memory Data Register, Control Unit, Arithmetic Logic Unit, Data Bus, Control Bus, Address Bus.
Berikut simulasi LMC-CPU : https://fayani.web.id/lmc_cpu/

Simulasi CPU Simple As Possible 1

- Posted in ArsitekturKomputer by

Selalu aplikasi simulasi menjadi andalan saya dalam proses belajar mengajar agar mahasiswa dapat memahami dengan baik materi yang saya berikan. Salah satu pokok bahasan dalam mata kuliah Arsitektur Komputer adalah tentang CPU SAP1. Berikut adalah link simulasinya:
1. http://fayani.web.id/sap1-arsitektur/ untuk melihat simulasinya secara arsitektur
2. http://fayani.web.id/sap1-cpu/ untuk melihat simulasinya secara perangkat kerasnya

Page 2 of 23