Skip to main content

Posts

Showing posts from November, 2010

Dasar Routing Statik, Pisah 2 Upstream dengan Mikrotik

Cerita Pendek:

Warnet gw pake 2 backbone, wireless & Fiber Optic, rencana gw mau pisah koneksi dimana Fiber Optic untuk khusus IIX karena pipanya yang lumayan besar, 10 mbps 1:1 . Sedangkan Wireless hanya untuk koneksi internasional aja, lumayan 2mbps 1:4

Router yang gw pake adalah RB450G dengan spek interface:

ether1 = FO = ip fiber optic
ether2 = WL = ip wireless
ether3 = LAN = 192.168.181.0/24
ether4 = kosong
ether5= kosong - next tutorial ini untuk hotspot + radius

Rules:
- Marking Route
- NAT
- Static Route
- nice.rsc (bisa diambil disini)

mangle
chain= prerouting
src-address=192.168.181.0/24
dst-address-list=!nice
action=mark-routingnew-routing-mark=akses_internasional

nat
chain=srcnat
src-address=192.168.181.0/24out-interface=ether1
action=masquerade

chain=srcnat
src-address=192.168.181.0/24out-interface=ether2
action=masquerade

ip route
dst-address=0.0.0.0/0
gateway=ip gateway fiber optic
distance=1

dst-address=0.0.0.0/0
gateway=ip gateway wireless
distance=2
routing-mark=ak…