Two uplink provides with debian ( woody ) - problem to insert route in a table
Hello,
I'm trying to configure iproute2 with two providers in a Load balancing configuration according "Linux Advanced Routing & Traffic Control HOWTO".
I'm working with two links:
- static ip (adsl link - 256Kbps)
- dynamic ip (512kbps).
In my HedHat 7.2 everything works well, but in my debian (woody) something wrong is going on. First I have to create two tables, one for each provider. That's ok, but when I try to add an route to one of these tables, it goes to main table.
# ip route add default via $P1 table T1 looks OK, but the route goes to table main
# ip route add default via $P2 table T2 NOK, because it goes to table main too, not to table T2.
Any clues???
Thanks in advance,
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Try this
ip route $P1 default scope global nexthop via 10.129.30.1 dev eth0 weight 1 \
nexthop via 10.129.31.1 dev eth1 weight 1
Quoted 3 lines
Hello,
I'm trying to configure iproute2 with two providers in a Load balancing
configuration according "Linux Advanced Routing & Traffic Control HOWTO".
Quoted 6 lines
I'm working with two links:
- static ip (adsl link - 256Kbps)
- dynamic ip (512kbps).In my HedHat 7.2 everything works well, but in my debian (woody) something
wrong is going on. First I have to create two tables, one for each provider. That's ok, but when I try to add an route to one of these tables, it goes to main table.
Quoted 7 lines
# ip route add default via $P1 table T1 looks OK, but the route goes to table main# ip route add default via $P2 table T2 NOK, because it goes to table main too, not to table T2.
Quoted 7 lines
Any clues???
Thanks in advance,
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Hi,
[email protected] wrote on 2003-11-05:
Quoted 4 lines
In my HedHat 7.2 everything works well, but in my debian (woody) something wrong is going on. First I have to create two tables, one for each provider. That's ok, but when I try to add an route to one of these tables, it goes to main table.
It sounds stupid, I know, but it happened to me before:
Do you have duplicate numeric ids in /etc/iproute2/rt_tables?
ciao,
Signature · 7 lines
[*Thomas Themel*] [...] this quickly escalated into a Holy War with Emacs [extended contact] users on one side and Jeep Wrangler drivers on the other. [info provided in] It was hard to tell but I think Emacs came out as the better [*message header*] utility vehicle. - Casey West _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/