Re: Two uplink provides with debian ( woody ) - problem to insert route in a table

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

> 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 / LARTC@xxxxxxxxxxxxxxx
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>

_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux