Selamat datang di matART official website!

Preview the New Matt Website (BETA)...

 
personal website :
www.rachmatonline.blogspot.com. www.ruby-warnet.com. www.matdisini.multiply.com.
Contact Us via YM :
rachmat_87@yahoo.com. matdisini@yahoo.com.
Contact Us RUBY-NET :
rubynet1@yahoo.com. rubynet2@yahoo.com. rubynet3@yahoo.com. rubynet4@yahoo.com. ruby_net_center@yahoo.com
Menu Link's
Logo
Seal online
Barner
WCG Nations
Korea Korea
Argentina Argentina
Australia Australia
Austria Austria
Belgium Belgium
Bulgaria Bulgaria
Canada Canada
Chile Chile
China
Chinese Taipei Chinese Taipei
Czech Czech Rep.
Ecuador Ecuador
France France
Germany Germany
Hong Kong China Hong Kong China
Hungary Hungary
India India
Indonesia Indonesia
Italy Italy
Japan Japan
Kazakhstan Kazakhstan
Luxembourg Luxembourg
Malaysia Malaysia
Mexico Mexico
Netherlands Netherlands
New Zealand New Zealand
Panama Panama
Peru P e r u
Philippines Philippines
Poland Poland
Portugal Portugal
Romania Romania
Russia Russia
Slovakia Slovakia
South Africa South Africa
Spain Spain
Sweden Sweden
Switzerland Switzerland
Thailand Thailand
Turkey Turkey
United Kingdom UK
Ukraine Ukraine
USA USA
Venezuela Venezuela
Vietnam Vietnam
2 Isp In 1 Router With Loadbalancing
Kamis, 21 Agustus 2008
2 ISP IN 1 ROUTER WITH LOADBALANCING


This image has been resized. Click this bar to view the full image. The original image is sized 668x800.


/ ip address
add address=192.168.0.1/24 network=192.168.0.0 broadcast=192.168.0.255 interface=Local comment="" \
disabled=no
add address=10.111.0.2/24 network=10.111.0.0 broadcast=10.111.0.255 interface=wlan2 \
comment="" disabled=no
add address=10.112.0.2/24 network=10.112.0.0 broadcast=10.112.0.255 interface=wlan1 \
comment="" disabled=no
/ ip firewall mangle
add chain=prerouting in-interface=Local connection-state=new nth=1,1,0 \
action=mark-connection new-connection-mark=odd passthrough=yes comment="" \
disabled=no
add chain=prerouting in-interface=Local connection-mark=odd action=mark-routing \
new-routing-mark=odd passthrough=no comment="" disabled=no
add chain=prerouting in-interface=Local connection-state=new nth=1,1,1 \
action=mark-connection new-connection-mark=even passthrough=yes comment="" \
disabled=no
add chain=prerouting in-interface=Local connection-mark=even action=mark-routing \
new-routing-mark=even passthrough=no comment="" disabled=no
/ ip firewall nat
add chain=srcnat connection-mark=odd action=src-nat to-addresses=10.111.0.2 \
to-ports=0-65535 comment="" disabled=no
add chain=srcnat connection-mark=even action=src-nat to-addresses=10.112.0.2 \
to-ports=0-65535 comment="" disabled=no
/ ip route
add dst-address=0.0.0.0/0 gateway=10.111.0.1 scope=255 target-scope=10 routing-mark=odd \
comment="" disabled=no
add dst-address=0.0.0.0/0 gateway=10.112.0.1 scope=255 target-scope=10 routing-mark=even \
comment="" disabled=no
add dst-address=0.0.0.0/0 gateway=10.112.0.1 scope=255 target-scope=10 comment="" \
disabled=no

Mangle

/ ip address
add address=192.168.0.1/24 network=192.168.0.0 broadcast=192.168.0.255 interface=Local comment="" \
disabled=no
add address=10.111.0.2/24 network=10.111.0.0 broadcast=10.111.0.255 interface=wlan2 \
comment="" disabled=no
add address=10.112.0.2/24 network=10.112.0.0 broadcast=10.112.0.255 interface=wlan1 \
comment="" disabled=no

router punya 2 upstream (WAN) interfaces dengan ip address 10.111.0.2/24 and 10.112.0.2/24. dan interface LAN dengan nama interface "Local" dan ip address 192.168.0.1/24.


/ ip firewall mangle

add chain=prerouting in-interface=Local connection-state=new nth=1,1,0 \
action=mark-connection new-connection-mark=odd passthrough=yes comment="" \
disabled=no

add chain=prerouting in-interface=Local connection-mark=odd action=mark-routing \
new-routing-mark=odd passthrough=no comment="" disabled=no

add chain=prerouting in-interface=Local connection-state=new nth=1,1,1 \
action=mark-connection new-connection-mark=even passthrough=yes comment="" \
disabled=no
add chain=prerouting in-interface=Local connection-mark=even action=mark-routing \
new-routing-mark=even passthrough=no comment="" disabled=no




NAT


/ ip firewall nat
add chain=srcnat connection-mark=odd action=src-nat to-addresses=10.111.0.2 \
to-ports=0-65535 comment="" disabled=no
add chain=srcnat connection-mark=even action=src-nat to-addresses=10.112.0.2 \
to-ports=0-65535 comment="" disabled=no



Routing


/ ip route
add dst-address=0.0.0.0/0 gateway=10.111.0.1 scope=255 target-scope=10 routing-mark=odd \
comment="" disabled=no
add dst-address=0.0.0.0/0 gateway=10.112.0.1 scope=255 target-scope=10 routing-mark=even \
comment="" disabled=no
add dst-address=0.0.0.0/0 gateway=10.112.0.1 scope=255 target-scope=10 comment="" \
disabled=no comment="gateway for the router itself"


thanks to mbah WIKI yg udah nyedian info

HAVE FUN!!!!
posted by Matt! @ 04.45  
0 Comments:
Posting Komentar
<< Home
 
About Me

Name: Matt!
Home: Bandung, Indonesia, Indonesia
About Me: lo mau tau gw? ketik reg matt kirim sms ke 022-91272766 sms yang lo dapet langsung dari hp gw! hehehehe..
See my complete profile
Previous Post
Archives
Partner!
Jam berapa sekarang?
Chit Chat!
© 2006 Selamat datang di matART official website! .Template by Preview the New Matt Website (BETA)