Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have several point to point connections and I'd like to use all of them as default gateways. I saw this link which explains how to do this using load balancing by calling ip route with a nexthop definer, but when I run the command it says RTNETLINK: invalid argument. I know about bonding, but I cannot use bonding in my scenario because it cannot be easily done for ppp connections.

here is the command:

ip route add default scope global nexthop via $P1 dev $IF1 weight 1 nexthop via $P2 dev $IF2 weight 1

were $P1 is gateway address for ppp1 and $IF1 is pp1 and so forth...

and here is the link.

my kernel is 2.6 and the document seems to indicate kernel version 2.2/2.4 could that be the reason?

share|improve this question
    
Would you mind posting the output of ip route show tables all and ip rule list? –  Hauke Laging Feb 14 '13 at 2:46

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.