Senin, 14 November 2016

QueueTree & Mangle

Nama : Adwin Bintang Branata
 
Queue Tree & Mangle
Hari / Tanggal : Selasa / 15-11-16
Kelas  : XII TKJ 2
SK/KD : -
No.Jobsheet : 1
Guru Bidang : Bang Maman


Queue Tree & Mangle


Penjelasan :
Queue Tree berfungsi untuk mengimplementasikan fungsi yang lebih komplex dalam limit bandwidth pada mikrotik dimana penggunaan packet mark nya memiliki fungsi yang lebih baikDigunakan untuk membatasi satu arah koneksi saja baik itu download maupun upload. Secara umum Queue Tree ini tidak terlihat berbeda dari Simple Queue.

Mangle pada mikrotik merupakan suatu cara untuk menandai paket data dan koneksi tertentu yang dapat diterapkan pada fitur mikrotik lainnya, sepeti pada routes, pemisahan bandwidth pada queues, NAT dan filter rules. Tanda mangle yang ada pada router mikrotik hanya bisa digunakan pada router itu sendiri. Dan yang perlu diingat bahwa proses pembacaan rule mangle ini dilakukan dari urutan pertama ke bawah. 

Konfigurasi : 
1. Mark Connection - TCP
Nb : Src.Address = IP WLAN
2. Mark Packet – TCP
3. Mark Connection - UDP

Nb : Src.Address = IP WLAN
4. Mark Packet - UDP

5. Mark Connection - ICMP

Nb : Src.Address = IP WLAN
6. Mark Packet - ICMP

7. Mark Connection - Sisa

Nb : Src.Address = IP WLAN
8. Mark Packet - Sisa

9. QueueTree – Parent

Nb : Parent pada "Total Download" adalah ether yang terhubung dari router ke server oleh kabel

10. QueueTree – Child TCP

11. QueueTree – Child UDP

12. QueueTree – Child ICMP

13. QueueTree – Child Sisa

Hasil akhir akan diperlihatkan traffic koneksi seperti berikut :

Senin, 07 November 2016

distribute RIP dengan OSPF

Redistribute RIP dengan OSPF
  
Note : Biru muda = RIP dan Kuning = OSPF
           IP yang digunakan adalah yang ada dikonfigurasi
Konfigurasi nya :
- Pemberian IP Address
 - Bogor    : Fa0/0 = 10.10.10.1/24
                   Fa0/1 = 192.168.10.1/24
 - PC0       : Fa0   = 192.168.10.2/24 gateway 192.168.10.1
 - Bekasi   : Fa0/0 = 10.10.10.2/24
                   Fa0/1 = 20.20.20.1/24
 - Bali       : Fa0/0 = 20.20.20.2/24
                  Fa0/1 = 30.30.30.1/24
 - Bengkulu : Fa0/0 = 30.30.30.2/24
                     Fa0/1 = 192.168.20.1/24
 - PC1        : Fa0   = 192.168.20.2/24 gateway 192.168.20.1

- Setting Bogor :

 - Bogor(config)#router rip
 - Bogor(config-router)#v 2
 - Bogor(config-router)#network 10.10.10.0
 - Bogor(config-router)#network 192.168.10.0
 - Bogor(config-router)#no auto-summary
 - Bogor(config-router)#ex
 - Bogor(config)#


- Setting Bali :

 - Bali(config)#router ospf 1
 - Bali(config-router)#network 20.20.20.0 0.0.0.255 area 0
 - Bali(config-router)#network 30.30.30.0 0.0.0.255 area 0
 - Bali(config-router)#ex
 - Bali(config)#

- Setting Bengkulu :

 - Bengkulu(config)#router ospf 1
 - Bengkulu(config-router)#network 30.30.30.0 0.0.0.255 area 0
 - Bengkulu(config-router)#network 192.168.20.0 0.0.0.255 area 0
 - Bengkulu(config-router)#ex
 - Bengkulu(config)#


- Setting Bekasi :
 - Bekasi(config)#router rip
 - Bekasi(config-router)#v 2
 - Bekasi(config-router)network 10.10.10.0
 - Bekasi(config-router)#redistribute ospf 1 metric 1
 - Bekasi(config)#router ospf 1
 - Bekasi(config-router)#network 20.20.20.0 0.0.0.255 area 0
 - Bekasi(config-router)#redistribute rip subnets
Hasil Akhir

PPTP Side to Side

PPTP Side to Side


 
 
1. set name pada setiap router (mikrotik)
2. masuk winbox search ip lalu connect
3. lakukan konfigurasi pada router isp (R1) terlebih dahulu

   ip address
- 10.10.10.1/24 ether2
- 192.168.11.1/24 ether1
- 20.20.20.1/24 ether3

    ip dns
- 8.8.8.8 8.8.4.4 centang allow

    ip firewall
- nat- srcnat -out.int(ether1) -action(masquerade)

    ip route
-192.168.11.1
-dst (192.168.10.0/24 gateway 10.10.10.2)
-dst (192.168.20.0/24 gateway 20.20.20.2)

kamudian ping 8.8.8.8 di terminal



4. router jakarta(r2)

    ip address
- 10.10.10.2/24 ether1
- 192.168.10.1/24 ether3

    ip dns
- 8.8.8.8 8.8.4.4 centang allow

    ip firewall
- nat- srcnat -out.int(ether1) -action(masquerade)

    ip route
- 10.10.10.1

    buat pptp
-klik ppp- klik pptp server- lalu klik enable
-klik submenu secrets- klik (+) untuk membuat user baru
    user : anggi
    pass : 1234
    service : pptp
    local add : 1.1.1.1
    remote add : 1.1.1.2
    routers    : 192.168.20.0/24 1.1.1.2 (ok)

kemudian ping 8.8.8.8 dan 192.168.20.1 pastikan reply



5. router surabaya (r3)

 ip address
- 20.20.20.2/24 ether1
- 192.168.20.1/24 ether3

    ip dns
- 8.8.8.8 8.8.4.4 centang allow

    buat pptp
-klik ppp- klik(+) pilih pptp client
submenu gineral name = to jakarta(r2)
submenu dial out : connect to = 10.10.10.2
            user =anggi
            pass =1234

    ip firewall
- nat- srcnat -out.int(ether1) -action(masquerade)
- nat- srcnat -out.int(to jakarta) -action(masquerade)

kemudian ping 8.8.8.8 dan 192.168.10.1 pastikan reply



6. hasilnya
   a. ping pc1 ke pc2

  b. ping pc2 ke pc1

PPPOE

PPPOE


Konfigurasinya

PPPOE

1. Buat IP Address

R1 = eth0 = 192.168.11.2/24
         eth1 = 192.168.10.1/24

2. IP DNS

8.8.8.8
Ceklist "Allow Remote Request"

3. IP routes

Gateway = 192.168.11.1

4. IP POOL

Name = PPPOE
Address = 192.168.100.100-192.168.100.200

5. Submenu Profiles pada PPP

klik pada default
ubah local address = 192.168.10.1
ubah remote address = PPPOE

6. Submenu Secrets pada PPP

Klik "+"
Name = (bebas)
Password = (bebas)
Service = pppoe

7. Submenu  PPPoE Servers pada PPP

Klik "+"
Service Name = (bebas)
Interface = ether2
Ceklist "One Session Per Host"

8. IP Firewall

Klik "+"
General = Chain : srcnat , srcaddress : 192.168.100.100-192.168.100.200 Out.Int : ether1
Action = Masquerade

9. Pada Windows XP

Control Panel
Network Connection
Klik "Create a new connection"
Klik "Next"
Pilih yang paling atas lalu next
Pilih yang tengah lalu next
Pilih yang tengah lalu next
Isi nama ISP = (Service name yang kita buat pada PPPoe Servers)
Isi username dan password = (user dan password pada submenu secrets)
Klik Finish

10. HASIL AKHIR

Ping 8.8.8.8 dengan CMD
Ping detik.com dengan CMD

VPN (Virtual Private Network

VPN ( Virtual Private Network)
Konfigurasi nya :
- Pemberian IP Address
- ISP(R1)       : eth0 : 192.168.11.2/24
                       eth1 : 10.10.10.1/30
                       eth2 : 192.168.100.1/24
- Bogor(R2)  : eth0 : 10.10.10.2/30
                       eth1 : 192.168.10.1/24
- Win Xp        : eth0 : 192.168.100.2/24 192.168.100.1
- VPCS          : eth0 : 192.168.10.2/24 192.168.10.1

Setting ISP(R1) :

- Buat Internet Gateway

Setting Bogor(R2) :

- Buat Internet Gateway
- Lalu Setting PPP
 - Enable PPtP server
 - Klik PPP lalu Secret
 - Buat User
  - Username
  - Password
  - Service : pptp
  - Local address 192.168.10.1
  - Remote Address 192.168.10.(bebas)

Lalu Ke Win XP :

- Control Panel
- Network Connection
- Klik Create a new connection
- Klik Next
- Pilih Connect to the network at my workplace
- Pilih VPN
- Beri Nama Company
- lalu masukkan ip bogor eth 1 = 10.10.10.2
- Finish
- lalu connect dengan username dan password
 
Setelah terhubung Ping dari xp ke vpcs

Redistribute RIP dengan EIGRP

Redistribute RIP dengan EIGRP
Note : Biru Muda = RIP & Kuning = EIGRP
Konfigurasi nya :
- Pemberian IP Address
 - Bogor       : Fa0/0 = 12.12.12.1/24
                      Fa0/1 = 192.168.10.1/24
 - PC0          : Fa0   = 192.168.10.2/24 gateway 192.168.10.1
 - Bekasi      : Fa0/0 = 12.12.12.2/24
                     Fa0/1 = 13.13.13.1/24
 - Bali          : Fa0/0 = 13.13.13.2/24
                     Fa0/1 = 14.14.14.1/24
 - Bengkulu : Fa0/0 = 14.14.14.2/24
                     Fa0/1 = 192.168.20.1/24
 - PC1          : Fa0   = 192.168.20.2/24 gateway 192.168.20.1

- Setting Bogor :

 - Bogor(config)#router rip
 - Bogor(config-router)#v 2
 - Bogor(config-router)#network 12.12.12.0
 - Bogor(config-router)#network 192.168.10.0
 - Bogor(config-router)#no auto-summary
 - Bogor(config-router)#ex
 - Bogor(config)#


- Setting Bali :

 - Bali(config)#router eigrp 10
 - Bali(config-router)#network 13.13.13.0
 - Bali(config-router)#network 14.14.14.0
 - Bali(config-router)#no auto-summary
 - Bali(config-router)#ex
 - Bali(config)#

- Setting Bengkulu :

 - Bengkulu(config)#router eigrp 10
 - Bengkulu(config-router)#network 14.14.14.0
 - Bengkulu(config-router)#network 192.168.20.0
 - Bengkulu(config-router)#no auto-summary
 - Bengkulu(config-router)#ex
 - Bengkulu(config)#

- Setting Bekasi :

 - Bekasi(config)#router rip
 - Bekasi(config-router)#v 2
 - Bekasi(config-router)#network 12.12.12.0
 - Bekasi(config-router)#no auto-summary
 - Bekasi(config-router)#redistribute eigrp 10 metric 1
 - Bekasi(config-router)#ex
 - Bekasi(config)#router eigrp 10
 - Bekasi(config-router)#network 13.13.13.0
 - Bekasi(config-router)#no auto-summary
 - Bekasi(config-router)#redistribute rip metric 1 1 1 1 1
 - Bekasi(config-router)#ex
Hasil Konfigruasi :

Redistribute Static dengan OSPF

Redistribute Static dengan OSPF
Konfigurasinya :
- Pemberian IP Address
 - Bogor       : Fa0/0 = 12.12.12.1/24
                     Fa0/1 = 192.168.10.1/24
 - PC0          : Fa0   = 192.168.10.2/24 gateway 192.168.10.1
 - Bekasi      : Fa0/0 = 12.12.12.2/24
                     Fa0/1 = 13.13.13.1/24
 - Bali          : Fa0/0 = 13.13.13.2/24
                     Fa0/1 = 14.14.14.1/24
 - Bengkulu : Fa0/0 = 14.14.14.2/24
                     Fa0/1 = 192.168.20.1/24
 - PC1          : Fa0   = 192.168.20.2/24 gateway 192.168.20.1

- Setting Bogor :
 - Bogor(config)#ip route 13.13.13.0 255.255.255.0 12.12.12.2
 - Bogor(config)#ip route 14.14.14.0 255.255.255.0 12.12.2.2
 - Bogor(config)#ip route 14.14.14.0 255.255.255.0 12.12.12.2
 - Bogor(config)#ip route 192.168.20.0 255.255.255.0 12.12.12.2

Setting Bekasi :
 - Bekasi(config)#router ospf 1
 - Bekasi(config-router)#network 13.13.13.0
 - Bekasi(config-router)#no auto-summary
 - Bekasi(config-router)#redistribute static subnets
 - Bekasi(config-router)#redistribute connected subnets
 - Bekasi(config-router)#ex
 - Bekasi(config)#ex
 - Bekasi(config)#ip route 192.168.10.0 255.255.255.0 192.168.10.1
 - Bekasi(config)#ip route 192.168.10.0 255.255.255.0 12.12.12.1

Setting Bali :
 - Bali(config)#router ospf 1
 - Bali(config-router)#network 13.13.13.0
 - Bali(config-router)#network 14.14.14.0
 - Bali(config-router)#no auto-summary
 - Bali(config-router)#redistribute static subnets
 - Bali(config-router)#redistribute connected subnets
 - Bali(config-router)#ex
 - Bali(config)#ex

Setting Bengkulu :
 - Bengkulu(config)#router ospf 1
 - Bengkulu(config-router)#network 14.14.14.0
 - Bengkulu(config-router)#network 192.168.20.0
 - Bengkulu(config-router)#no auto-summary
 - Bengkulu(config-router)#redistribute static subnets
 - Bengkulu(config-router)#redistribute connected subnets
 - Bengkulu(config-router)#ex
 - Bengkulu(config)#ex
Hasil Konfigurasi :