Shorewall Loadbalancing with 3 Speedy

This item was filled under [ Tulisan ]

sebelumnya http://bayu.blitar.org/index.php/shorewall-load-balancing/

dimana dengan 2 Speedy (re-fixed)

eth0 – LAN – 192.168.0.1

eth1 – Speedy1 – 192.168.1.10 – gw 192.168.1.1

eth2 – Speedy2 – 192.168.10.10 – gw 192.168.10.1

——————————————————————–

/etc/shorewall/interfaces

loc  eth0  detect

net  eth1  detect

net  eth2  detect

——————————————————————–

/etc/shorewall/providers

Speedy1  1  1  main  192.168.1.1  track,balance  eth0

Speedy2  2  2  main  192.168.10.1  track,balance  eth0

———————————————————————-

/etc/shorewall/masq

eth1  192.168.10.10  192.168.1.10

eth1  eth0  192.168.1.10

eth2  192.168.1.10  192.168.10.10

eth2  eth0  192.168.10.10

eth1  eth2  192.168.1.10

eth2  eth1  192.168.10.10

———————————————————————-

3 Speedy

Misal :

eth0  – LAN  – 10.10.10.1

eth1  – Speedy1  -  192.168.1.100  -  gw 192.168.1.254

eth2  -  Speedy2  -  192.168.10.100  -  gw 192.168.10.254

eth3  -  Speedy3  -  192.168.100.100  – gw 192.168.100.254

———————————————————————-

/etc/shorewall/interfaces

loc  eth0  detect

net  eth1  detect

net  eth2  detect

net  eth3  detect

———————————————————————-

/etc/shorewall/providers

Speedy1  1  1  main  192.168.1.100  track,balance  eth0

Speedy2  2  2  main  192.168.10.100  track,balance  eth0

Speedy3  3  3  main  192.168.100.100  track,balance  eth0

———————————————————————-

/etc/shorewall/masq

eth1  192.168.10.100  192.168.1.100

eth1  192.168.100.100  192.168.1.100

eth1  eth0

eth2  192.168.1.100  192.168.10.100

eth2  192.168.100.100  192.168.10.100

eth2  eth0

eth3  192.168.1.100  192.168.100.100

eth3  192.168.10.100  192.168.100.100

eth3  eth0

———————————————————————-

done.

kunci nya hanya dengan seperti diatas. untuk koneksi Speedy or ISP lain yg lebih dari 2.

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

4 Comments on “Shorewall Loadbalancing with 3 Speedy”

  • 28 September, 2010, 14:13

    mas kenapa /etc/shorewall/policy nya ngak di posting sekalian. ^_*

  • 29 September, 2010, 9:29

    gk ada perubahan untuk file /etc/shorewall/policy, masi standar bawaan distro
    —-

    #SOURCE DEST POLICY LOG LIMIT: CONNLIMIT:
    # LEVEL BURST MASK
    loc net ACCEPT
    loc fw ACCEPT
    fw loc ACCEPT
    fw net ACCEPT
    net all DROP info
    all all REJECT info
    #LAST LINE — DO NOT REMOVE

Trackbacks

  1. Shorewall Loadbalancing with 3 Speedy « bayu – mandriva – other Linux
  2. Shorewall Loadbalancing with 3 Speedy - Free To Get

Leave a Comment

CommentLuv badge
:-)) :-) :-D (LOL) :-P (woot) ;-) :-o X-( :-( :-& (angry) (annoyed) (bye) B-) (cozy) (sick) (: (goodluck) (griltongue) (mmm) (hungry) (music) (tears) (tongue) (unsure) (highfive) (dance) (doh) (brokenheart) (drinking) (girlkiss) (rofl) (money) (rock) (nottalking) (party) (sleeping) (thinking) (bringit) (worship) (applause) 8-) (gym) (heart) (devil) (lmao) (banana_cool) (banana_rock) (evil_grin) (headspin) (heart_beat) (ninja) (haha) (evilsmirk) (bigeyes) (funkydance) (idiot) (lonely) (scenic) (hassle) (panic) (okok) (yahoo)