Follow us on...
Follow us on G+ Follow us on Twitter Follow us on Facebook Watch us on YouTube
Register
Results 1 to 4 of 4
  1. #1
    Status
    Offline
    utuh's Avatar
    Baru Gabung
    Join Date
    Jul 2008
    Posts
    6
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0

    [Ask from newbie] Routing 2 WAN

    maaf (very) newbie nanya sedikit.

    ane punya 2 WAN dengan interface WAN1 & WAN2, dan 1 lokal interface LAN.

    contoh:
    LAN ada IP 192.168.1.0/24 dan 192.168.2.0/24

    bagaimana route-nya, kalau 192.168.1.0/24 ke WAN1 dan 192.168.2.0/24 ke WAN2, tetapi bukan load-balancing.

    mohon maaf kalau mungkin sebelumnya udah pernah dibahas. kalaupun sudah dibahas, sudi kiranya memberikan referensi link tersebut.

    terima kasih banyak atas bantuannya.

    Click here to enlarge

  2. #2
    Status
    Offline
    BatavianX's Avatar
    Member Senior
    Join Date
    Dec 2007
    Location
    x-Region
    Posts
    485
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Kalo begini bisa gak...?

    Code:
    / ip firewall mangle add chain=prerouting src-address=192.168.1.0/24 action=mark-routing new-routing-mark=LAN-Route-01
    / ip firewall mangle add chain=prerouting src-address=192.168.2.0/24 action=mark-routing new-routing-mark=LAN-Route-02 
    / ip route add gateway=gateway.wan.01.xxx routing-mark=LAN-Route-01
    / ip route add gateway=gateway.wan.02.xxx routing-mark=LAN-Route-02
    Last edited by BatavianX; 19-08-2008 at 20:49.

  3. The Following User Says Thank You to BatavianX For This Useful Post:


  4. #3
    Status
    Offline
    utuh's Avatar
    Baru Gabung
    Join Date
    Jul 2008
    Posts
    6
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    dicoba dulu kang mas...

    btw, thanks berat

  5. #4
    Status
    Offline
    utuh's Avatar
    Baru Gabung
    Join Date
    Jul 2008
    Posts
    6
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    awalnya ane coba dari BatavianX, masih gagal juga...

    tapi ane coba ubah di masquerade-nya jadi gini:

    Code:
    / ip firewall nat add chain=srcnat out-interface=WAN1 routing-mark=LAN-to-WAN1 action=masquerade comment="" disabled=no
    / ip firewall nat add chain=srcnat out-interface=WAN2 routing-mark=LAN-to-WAN2 action=masquerade comment="" disabled=no
    baru berhasil.

    thanks a lot.

 

 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [Help] Newbie with firewall mangle
    By ataru in forum Beginner Basics
    Replies: 0
    Last Post: 13-05-2008, 08:02
  2. [ASk] newBIE ttg Set Proxy di MIKROTIK
    By the_simpson in forum Beginner Basics
    Replies: 6
    Last Post: 31-03-2008, 13:24
  3. [Ask] Routing Internet (2 ISP) + Routing Inherent
    By dimppkke in forum General Networking
    Replies: 14
    Last Post: 14-02-2008, 23:22
  4. Permasalahan Warnet [ Masih NEWBIE HABIS ]
    By Gober Bebek in forum Beginner Basics
    Replies: 23
    Last Post: 25-01-2008, 08:38
  5. For All Newbie
    By ahmad.rifani in forum Beginner Basics
    Replies: 9
    Last Post: 09-01-2008, 16:46

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •