Skip to contentSkip to conversation

How do i configure my kernel for equal cost MultiPath?

LARTC [email protected] 3 participants 6 messages Dec 13, 2001

lore
Share & tools
lore
#1 lore raw
Quoted 5 lines · On Thu, 13 Dec 2001 [email protected] wrote:

I am tyring to get to my machine from both my cable and dialup connection from the outside.

?"How do i configure my kernel for equal cost MultiPath"?

i have been trying this http://mailman.ds9a.nl/pipermail/lartc/2000q4/000092.html

assuming these are real ip's
eth2 192.168.1.1 netmask nemask 255.255.255.192 gw 192.168.1.254 ppp0 10.2.2.1/32 gw 10.2.3.254

ip route add 192.168.1.1 dev eth2 table 200
ip route add default via 192.168.1.254 dev eth2 table 200

ip route add 10.2.2.1 dev ppp0 table 100
ip route add default via 10.2.3.254 dev ppp0 table 100

ip route add 192.168.1.1 src 192.168.1.254 dev eth1 ip route add 10.2.2.1 src 10.2.3.254 dev eth2

   ip route add default scope global nexthop via 192.168.1.254 \
                                     nexthop via 10.2.3.254

i get this error
Error: either "to" is duplicate, or "netxhop" is a garbage

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

#2 lore raw
In reply to [email protected]

Yea this is good.. I will dig in
thx

Quoted 33 lines · Christoph Simon
Quoted 6 lines · On Thu, 13 Dec 2001 15:36:01 -0500 (EST) <[email protected]> wrote:

I am tyring to get to my machine from both my cable and dialup connection from the outside.

?"How do i configure my kernel for equal cost MultiPath"?

-thx

This might get you started:

http://www.linuxvirtualserver.org/~julian/#routes

--
Christoph Simon
[email protected]
---
^X^C
q
quit
:q
^C
end
x
exit
ZZ
^D
?
help
.

Quoted 4 lines

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

#3 lore raw
In reply to [email protected]

nope.. same prob
Error: either "to" is duplicate, or "gw" is a garbage.

Quoted 12 lines · Julian Anastasov

Hello,

Quoted 2 lines · On Thu, 13 Dec 2001 [email protected] wrote:
   ip route add default scope global nexthop via 192.168.1.254 \
                                     nexthop via 10.2.3.254

Simply add "dev XXX" to each nexthop

Regards

Quoted 8 lines

--
Julian Anastasov <[email protected]>

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

#4 lore raw
In reply to [email protected]
Quoted 6 lines · On Thu, 13 Dec 2001 15:36:01 -0500 (EST) <[email protected]> wrote:

I am tyring to get to my machine from both my cable and dialup connection from the outside.

?"How do i configure my kernel for equal cost MultiPath"?

-thx

This might get you started:

http://www.linuxvirtualserver.org/~julian/#routes

--
Christoph Simon
[email protected]
---
^X^C
q
quit
:q
^C
end
x
exit
ZZ
^D
?
help
.

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/