Kamis, 28 November 2019

PCC

masuk ke mangle lalu buat mangle baru

Chain = input

in.interface = ether 1

connection state = centang new

lalu ke action =mark connection

new connection mark = isp-1

passtrough = centang

buat lagi pada mangle

Chain = input

in.interface = ether 2

connection state = centang new

action = mark connection

new connection mark = isp-2

passtrough =centang

buat mangle baru untuk output

Chain = output

connection mark = isp-1

action = mark routing

new routing mark = jalur-1

passtrough = tidak di centang

buat lagi untuk output

Chain = output

connection mark = isp-2

action = mark routing

new routing mark = jalur-2

passtrough = tidak di centang

masih di mangle buat roting

Chain = prerouting

in.interface = ether 3


masuk ke advanced

per conection classifier = both addresses and ports

extra

dst.address type

address type = local

invert tidak di centang

action = mark connection

new connection mark = ISP-1

passtrough = centang

buat baru lagi

Chain = prerouting

in.interface = ether 3

masuk ke advanced

per connection classifier = both address and ports :2 / 1

extra = dst.address type = address type = local

invert tidak di centang

Action = mark connection

new connection mark = ISP-2

passtrough = centang

buat lagi di mangle

Chain = prerouting

in.interface = ether 3

connection mark  = ISP-1

Action = mark routing

new routing mark = jalur-1

passtrough = centang

Chain = prerouting

in.interface = ether 3

connection mark = ISP-2

Action = mark routing

new routing mark = jalur-2

passtrough = centang

masuk ke fitur routes

gateway di isi dari Pc 1

check gateway = ping

type = unicast

distance = 1

scope =30

target scope = 10

routing mark = jalur-1

gateway = isi gateway Pc 2

check gateway = ping

type = unicast

distance = 1

scope = 30

target scope = 10

routing mark = jalur-2

gateway isi dari Pc 1

check gateway = ping

type = unicast

distance = 1

scope = 30

target scope = 10



gateway isi dari gateway Pc 2

check gateway = ping

type = unicast

distance = 1

scope = 30

target scope = 10


Bukti PCC 1

Bukti PCC 2

NTH

Pertama kalian masuk pada fitur IP lalu ke firewall

lalu masuk pada fiter mangle

lalu buat mangle baru

Chain = prerouting

in.interface = ether 1

lalu masuk ke extra

pilih

Nth = every = 2

          packet =1

lalu pada action

Action = mark connection

new connection mark = inet1_conn

passthrough = tidak di centang

lalu buat lagi

Chain = prerouting

in.interface = ether 1

lalu masuk pada extra

NTH = every =2

            packet = 2

pada action

Action = mark connection

new connection mark = inet2_conn

passthrough = tidak di centang

lalu buat masih di mangle

Chain = prerouting

connection mark = inet1_conn

lalu pada action

Action = mark routing

new routing mark = ke_inet2

passtrough = tidak di centang

lalu kalian masuk ke routes lalu buat

gateway di isi gateway Pc 1

yang ke 2 di isi gateway Pc 2

type = unicast

distance = 1

scope = 30

target scope = 10

lalu buat lagi

gateway di isi gateway Pc 1

type unicast

scope =30

target scope =10

routing mark = ke_inet 1

lalu buat yg terakhir

gateway di isi Pc 2

type = unicast

distance = 1

scope = 30

target scope = 10

routing mark = ke_inet2

Bukti NTH 1

Bukti ke 2 NTH

ECMP

Pertama kalian masuk ke fitur IP di lanjut ke Firewall lalu pilih mangle

Buat baru mangle pada General =

Chain = input

in.interface = ether 1

Pada Action kalian isi 

Action = Mark connection

new connection mark = inet 1_com

passthrough = centang


Lalu buat lagi 

Chain = input

in.interface = ether 2


Pada Action = 

Action = mark connection

new connection = inet 2_com

passthrough = centang


Lalu buat Nat sama seperti pertama tetapi out.interface nya di ganti ether 2

Lalu buat untuk outputnya pada general di isi 

Chain = output

connection mark = inet1_com

lalu pada Action 

Action = mark routing

new routing mark = ke_inet1

passthrough = centang

Lalu buat output ke 2 pada general

Chain = output

connection mark = inet2_com


pada Action = 

Action = mark routing

new routing mark = ke_inet2

passthrough = centang

Lalu masuk ke routes 

isi gateway

pertama gateway Pc 1

kedua gateway pc 2

lalu check gateway = ping

type = unicast

distance = 1

scope = 30

target scope = 10

lalu buat lagi gateway di isi dari PC 1

check gateway = ping

type = unicast

distance = 1

scope = 30

target scope = 10

lalu buat lagi di isi gateway PC 2

check gateway = ping

type = unicast

distance = 1

scope = 30

target scope = 10

Lalu di test ping 8.8.8.8

sebelum di cabut

Lalu di test eth 1 di cabut

lalu di test eth 2 di cabut