Subscribe:

Ads 468x60px

Senin, 28 Maret 2011

Menggabungkan 2 line speedy menjadi 1



perhatikan gambar dibawah ini :


keterangan :

- speedy 1 ip 192.168.1.1
- speedy 2 ip 192.168.2.1
- mikrotik RB433 ip 192.168.10.1 (ip jaringan lokal)

dan berikut adalah konfigurasi pada mikrotik nya :

/ip address
add address=192.168.10.1/24 network=192.168.10.0 broadcast=192.168.10.255 interface=lan comment="" disabled=no
add address=192.168.1.1/24 network=192.168.1.0 broadcast=192.168.255 interface=speedy1 comment="" disabled=no
add address=192.168.2.1/24 network=192.168.2.0 broadcast=192.168.2.255 interface=speedy2 comment="" disabled=no

/ip firewall mangle
add chain=prerouting in-interface=lan connection-state=new nth=1,2,0 action=mark-connection new-connection-mark=speedy1 passthrough=yes comment="" disabled=no
add chain=prerouting in-interface=lan connection-mark=speedy1 action=mark-routing new-routing-mark=speedy1 passthrough=no comment="" disabled=no
add chain=prerouting in-interface=lan connection-state=new nth=1,2,1 action=mark-connection new-connection-mark=speedy2 passthrough=yes comment="" disabled=no
add chain=prerouting in-interface=lan connection-mark=speedy2 action=mark-routing new-routing-mark=speedy2 passthrough=no comment="" disabled=no

/ip firewall nat
add chain=srcnat connection-mark=speedy1 action=src-nat to-addresses=192.168.1.1 to-ports=0-65535 comment="" disabled=no
add chain=srcnat connection-mark=speedy2 action=src-nat to-addresses=192.168.2.1 to-ports=0-65535 comment="" disabled=no

/ ip route
add dst-address=0.0.0.0/0 gateway=192.168.1.1 scope=255 target-scope=10 routing-mark=speedy1 comment="" disabled=no
add dst-address=0.0.0.0/0 gateway=192.168.2.2 scope=255 target-scope=10 routing-mark=speedy2 comment="" disabled=no
add dst-address=0.0.0.0/0 gateway=192.168.2.2 scope=255 target-scope=10 comment="" disabled=no <<< sebagai default route semoga membantu

0 komentar:

Posting Komentar

Advertise