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

Tidak ada komentar:

Posting Komentar