IKLAN

Online Based Media Learning

Sabtu, 27 Januari 2024

Setting Mikrotik LAN dan WLAN



A. PENYELESAIAN

1. Pasang perangkat sesuai topologi.
2. Setting IP address PC Client, IP address = 200.50.3.2 >> Subnet mask = 255.255.255.242 >> Default Gateway = 200.50.3.1 >> Preferred DNS Server = 8.8.8.8 >> Alternate DNS Server = 200.50.3.33 >> OK >> OK >> Close.


Router A (RB 750)

1. Login ke MAC Address Router A melalui Winbox.
2. Identitas Route:
System >> Identity >> RouterA >> Apply >> OK.

3. IP Address Router:
IP >> Address  
Static = + >> Address = 192.168.137.2/24 >> Interface = ether1 >> Apply >> OK.
Dynamic = DHCP Client >>  +  >> Interface = ether1 >> Appy >>OK.
+ >> Address = 200.50.3.1/28 >> Interface = ether2 >> Apply >> OK.

4. IP Router Gateway:
IP >> Routes >>  + >> Gateway >> 192.168.137.1 >> Apply >> OK

5. IP DNS:
IP >> DNS >> Servers = 8.8.8.8 , 200.50.3.33 >> Allow Remote Request >> Apply >> OK.
IP >> Firewall >> tab NAT >> + >> Chain = srcnat >> Out. Interface = ether1 >> Action = Masquerade >> Apply >> OK.

6. Dynamic Routing:
Routing >> OSPF 
Klik tab Network 
 + >> Network = 192.168.137.0/24 >> Area = backbone >> Apply >> OK.  (Network Ether 1)
 + >> Network = 200.50.3.0/28 >> Area = backbone >> Apply >> OK. (Network Ether 2)
Klik Tab Instances >>Klik 2x default >> Redistribute defaul route >>Pilih Never >> Aplly Ok

7. Proxy Server:
IP >> Web Proxy >> Enable >> Port = 3128 >> Centang Anonimous >> Cache Administrator = nama_siswa@smkdarulmawatuban.sch.id >> Centang Cache On Disk >> Apply >> OK.

8. Transparent:
IP >> Firewall >> tab Nat >> + >> Chain = dstnat >> Protocol = 6 (tcp) >> Dst. Port = 80 >> In Interface = Ether2>> Action = redirect >> To Ports = 3128 >> Apply >> OK.

9. Blok Situs:
IP >> Web Proxy >> Access
+ >> Dst. Host = *youtube.com / http://youtube.com >> Action = deny >> Apply >> OK.
+ >> Dst. Host = *facebook.com / http://facebook.com >> Action = deny >> Apply >> OK 

10. Kuota Bandwidth:
Queues >> + >> Names = bandwidth-LAN >> Target = ether2 >> Max. Limit Target Upload = 5M >> Max. Limit Target Download = 5M>> Apply >> OK.


Router B (RB 951Ui-2HnD)

1. Login ke MAC Address Router B melalui Winbox.
2. Identitas Route:
System >> Identity >> RouterB >> Apply >> OK.

3. SSID Wifi:
Wireless >> wlan1 >> Enable.
Double klik wlan1 >> tab Wireless >> Mode = ap bridge >> SSID = Nama@UKK2025 >> Apply >> OK.

4. IP Address Router:
IP >> Address 
+ >> Address = 192.168.137.3/24 >> Interface = ether1 >> Apply >> OK.
+ >> Address = 200.50.3.49/28 >> Interface = wlan1 >> Apply >> OK.


5. IP Router Gateway:
IP >> Routes >> + >> Gateway >> 192.168.137.1 >> Apply >> OK

6. IP DNS:
IP >> DNS >> Servers = 8.8.8.8, 200.50.3.33 >> Allow Remote Request >> Apply >> OK.
IP >> Firewall >> tab NAT >> + >> Chain = srcnat >> Out. Interface = ether1 >> Action = Masquerade >> Apply >> OK.

7. Dynamic Routing:
Routing >> OSPF 
Klik tab Network 
+ >> Network = 192.168.137.0/24 >> Area = backbone >> Apply >> OK. (Network Ether 1)
+ >> Network = 200.50.3.48/28 >> Area = backbone >> Apply >> OK. (Network Wlan1)
Klik Tab Instances >>Klik 2x default >> Redistribute defaul route >>Pilih Always (as type 1>> Aplly Ok

Cek informasi routing di kedua Router dengan mencek flag DAo pada Route List. Caranya klik IP >> Routes. Perhatikan flag yang menandakan DAo (Dynamic Active OSPF). Demikian juga cek Route List pada Router A.

8. DHCP Server Untuk Wlan:
IP >> DHCP Server >> DHCP Setup >> DHCP Server Interface = wlan1 >> Next >> DHCP Address Space = 200.50.3.48/28 >> Next >> Gateway for DHCP Network = 200.50.3.49 >> Next >> Addresses to Give Out = 200.50.3.50-200.50.3.61 >> Next >> DNS Servers = 8.8.8.8, 200.50.3.33 >> Next >> Lease Time = 06:00:00 >> Next.

9. Kuota Bandwidth:
Queues >> + >> Names = bandwidth-WLAN >> Target = wlan1 >> Max. Limit Target Upload = 3M >> Max. Limit Target Download = 3M >> Apply >> OK.

10. Pengujian Client A
Cek koneksi ke Internet
Cek Dyamic Routing Router A ke Router B
Cek alamat domain yang diblokir
Cek kuota bandwidth 5Mbps dengan www.speedtest.net atau www.speedtest.cbn.id

11. Pengujian Client B
Cek ip address dhcp client
Cek koneksi ke Internet
Cek kuota bandwidth 3Mbps dengan www.speedtest.net atau www.speedtest.cbn.id
Cek koneksi antar user, dari HP ke PC atau sebaliknya dengan perintah ping IP




SELAMAT MENIKMATI

0 comments:

Posting Komentar

SILAHKAN TINGGALKAN KOMENTAR YANG BAIK