Follow us on...
Follow us on G+ Follow us on Twitter Follow us on Facebook Watch us on YouTube
Register
Results 1 to 8 of 8
  1. #1
    Status
    Offline
    EugenX's Avatar
    Newbie
    Join Date
    Nov 2012
    Posts
    22
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0

    One IP should always use just one gateway on PCC load balancing

    Hello,

    I have 2 providers that work both at the same time using PCC load balacing.
    Now, I would like that one PC on my LAN should always use just one gateway (provider), what mangle or another rule should I make in order to accomplish this ?

    Thank you

    Click here to enlarge
    Last edited by Akangage; 17-10-2013 at 15:37.

  2. #2
    Status
    Offline
    and12345's Avatar
    Baru Gabung
    Join Date
    Jan 2012
    Posts
    17
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Just create new routing mark for that IP Click here to enlarge
    Mangle - New routing mark - src ip put the ip of device
    Create new routing mark on IP - ROUTING and use the gateway you want

  3. #3
    Status
    Offline
    EugenX's Avatar
    Newbie
    Join Date
    Nov 2012
    Posts
    22
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    This is the rule I need ? Put it in front of all rules ?

    /ip firewall mangle add action=accept chain=prerouting disabled=no routing-mark=Provider_1 src-address=192.168.0.252

  4. #4
    Status
    Offline
    yohanexz's Avatar
    Member Super Senior
    Join Date
    Sep 2010
    Location
    Rawamangun, Jakarta
    Posts
    613
    Reviews
    Read 0 Reviews
    Downloads
    1
    Uploads
    1
    Feedback Score
    0
    check this link, simply for comparison only. . so you can ask them, about the script. or may be you can create routing this ip address to the mangle and route to one of ip public.

  5. #5
    Status
    Offline
    pos_ronda's Avatar
    VIP Member
    Join Date
    Aug 2009
    Location
    Sleman, Indonesia
    Posts
    887
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by EugenX Click here to enlarge
    Hello,

    I have 2 providers that work both at the same time using PCC load balacing.
    Now, I would like that one PC on my LAN should always use just one gateway (provider), what mangle or another rule should I make in order to accomplish this ?

    Thank you

    just add
    Code:
    /ip route rule add src-address=<your-comp-ip> action=lookup table=<route-you-want-to-use>
    HTH

  6. #6
    Status
    Offline
    EugenX's Avatar
    Newbie
    Join Date
    Nov 2012
    Posts
    22
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by pos_ronda Click here to enlarge
    just add
    Code:
    /ip route rule add src-address=<your-comp-ip> action=lookup table=<route-you-want-to-use>
    HTH

    Doesn't work, opened about 15 "what is my IP" websites and both providers are shown, when it should be just one, the one that I choose.

  7. #7
    Status
    Offline
    Anto.PJ's Avatar
    Forum Guru
    Join Date
    May 2011
    Location
    macz
    Posts
    1,696
    Reviews
    Read 0 Reviews
    Downloads
    7
    Uploads
    0
    Feedback Score
    0
    check about "connection-state" on your rule
    sometimes, new-connection and establish connection have different marks

    connection without routing marks will routed to default gateway..

  8. #8
    Status
    Offline
    EugenX's Avatar
    Newbie
    Join Date
    Nov 2012
    Posts
    22
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    I'm getting back to this issue again, none of the solutions above work. Could someone help me with this one, it looks like a simple task but eventually it isn't solved.
    I would really appreciate to get a solution that will close this topic.

    Thank you in advance.

 

 

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 98
    Last Post: 05-06-2015, 10:08
  2. Replies: 19
    Last Post: 02-07-2011, 15:35
  3. Load balancing di belakang load balancing
    By banana in forum General Networking
    Replies: 13
    Last Post: 09-06-2009, 15:38
  4. Replies: 5
    Last Post: 10-09-2008, 01:38
  5. Replies: 0
    Last Post: 09-09-2008, 22:38

Posting Permissions

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