Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
52Activity
0 of .
Results for:
No results containing your search query
P. 1
Mikrotik Load Balancing 5

Mikrotik Load Balancing 5

Ratings:

5.0

(1)
|Views: 5,105 |Likes:
Published by dalimanaja

More info:

Published by: dalimanaja on Mar 09, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

11/02/2012

pdf

text

original

 
When we want to make Loadbalancing system used
Mikrotik 
2.9.x, we can using therule fromhere. But there is little different with
Mikrotik 
3.xOk then, let's started, i will use 5
connection
here.
IP Address Configuration
/ ip address add address=192.168.0.1/24network=192.168.0.0 broadcast=192.168.0.255interface=Local comment="" disabled=no/ ip address add address=10.111.0.2/30 network=10.111.0.0broadcast=10.111.0.3 interface=Uplink1 comment=""disabled=no/ ip address add address=10.112.0.2/30 network=10.112.0.0broadcast=10.112.0.3 interface=Uplink2 comment=""disabled=no/ ip address add address=10.113.0.2/30 network=10.113.0.0broadcast=10.113.0.3 interface=Uplink3 comment=""disabled=no/ ip address add address=10.114.0.2/30 network=10.114.0.0broadcast=10.114.0.3 interface=Uplink4 comment=""disabled=no/ ip address add address=10.115.0.2/30 network=10.115.0.0broadcast=10.115.0.3 interface=Uplink5 comment=""disabled=no
Mangle Configuration
 
/ ip firewall mangle add chain=prerouting in-interface=Local connection-state=new nth=5,1 action=mark-connection new-connection-mark=conn1 passthrough=yescomment="" disabled=no/ ip firewall mangle add chain=prerouting in-
 
interface=Local connection-mark=conn1 action=mark-routingnew-routing-mark=conn1 passthrough=no comment=""disabled=no/ ip firewall mangle add chain=prerouting in-interface=Local connection-state=new nth=4,1 action=mark-connection new-connection-mark=conn2 passthrough=yescomment="" disabled=no/ ip firewall mangle add chain=prerouting in-interface=Local connection-mark=conn2 action=mark-routingnew-routing-mark=conn2 passthrough=no comment=""disabled=no/ ip firewall mangle add chain=prerouting in-interface=Local connection-state=new nth=3,1 action=mark-connection new-connection-mark=conn3 passthrough=yescomment="" disabled=no/ ip firewall mangle add chain=prerouting in-interface=Local connection-mark=conn3 action=mark-routingnew-routing-mark=conn3 passthrough=no comment=""disabled=no/ ip firewall mangle add chain=prerouting in-interface=Local connection-state=new nth=2,1 action=mark-connection new-connection-mark=conn4 passthrough=yescomment="" disabled=no/ ip firewall mangle add chain=prerouting in-interface=Local connection-mark=conn4 action=mark-routingnew-routing-mark=conn4 passthrough=no comment=""disabled=no/ ip firewall mangle add chain=prerouting in-interface=Local connection-state=new action=mark-connection new-connection-mark=conn5 passthrough=yescomment="" disabled=no/ ip firewall mangle add chain=prerouting in-
 
interface=Local connection-mark=conn5 action=mark-routingnew-routing-mark=conn5 passthrough=no comment=""disabled=no
Masquerade Local Network 
 
/ ip firewall nat add chain=srcnat connection-mark=conn1action=masquerade out-interface=Uplink1 comment=""disabled=no/ ip firewall nat add chain=srcnat connection-mark=conn2action=masquerade out-interface=Uplink2 comment=""disabled=no/ ip firewall nat add chain=srcnat connection-mark=conn3action=masquerade out-interface=Uplink3 comment=""disabled=no/ ip firewall nat add chain=srcnat connection-mark=conn4action=masquerade out-interface=Uplink4 comment=""disabled=no/ ip firewall nat add chain=srcnat connection-mark=conn5action=masquerade out-interface=Uplink5 comment=""disabled=no
Route
/ ip route add dst-address=0.0.0.0/0 gateway=10.111.0.1scope=255 target-scope=10 routing-mark=conn1 comment=""disabled=no/ ip route add dst-address=0.0.0.0/0 gateway=10.112.0.1scope=255 target-scope=10 routing-mark=conn2 comment=""disabled=no/ ip route add dst-address=0.0.0.0/0 gateway=10.113.0.1scope=255 target-scope=10 routing-mark=conn3 comment=""

Activity (52)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Babak Pourali liked this
Babak Pourali liked this
Babak Pourali liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->