Dazzle wrote:
Hello,
On 10/12/05, Sinisa Bandin <[EMAIL PROTECTED]> wrote:
I am using similar setup @home. All you have to do is add somewhere
following command:
# ip route add default scope global \
nexthop via 85.x.x.45 dev eth0 weight 2 \
nexthop via 10.1.5.224 dev eth0 weight 1
The second routable IP is 86.x.x.45, I think I should use that, not
10.1.5.224, am I right?
Problem with this setup is that if your bandwidths are very different,
it will happen from time to time that you will start a large download,
and that connection will, in some random order, go through you slower
line. In that case, it sometimes helps to flush your routing table like
this:
Both connections are 256kbps...
Can you give me the output of your /sbin/route please?
Sorry, I've made a mistake... hurring is neveg a good thing:
# ip route add default scope global \
nexthop via 85.x.x.45 dev eth0 weight 2 \
nexthop via 10.1.5.224 dev eth0 weight 1
should be:
# ip route add default scope global \
nexthop via 85.x.x.1 dev eth0 weight 2 \
nexthop via 10.1.5.x dev eth0 weight 1
where 85.x.x.1 and 10.1.5.x are your gateways to ISP.
Do not try this with /sbin/route, it cannont understand more than one
default route. "ip" is the command to use: read "man ip".
This is my output of "ip route" command:
80.x.y.7 dev ppp0 proto kernel scope link src 80.x.y.70
172.a.b.0/24 dev eth0 proto kernel scope link src 172.a.b.247
127.0.0.0/8 dev lo scope link
default
nexthop via 80.x.y.7 dev ppp0 weight 4
nexthop via 172.a.b.1 dev eth0 weight 1
where 80.x.y.70 / 172.a.b.247 are my interfaces addresses, and 80.x.y.7
/ 172.a.b.1 are default gateways ...
I am using PPPOE for a 512 kb/s connection, but since my ISP also
provides me with a DHCP assigned address on eth0, which is limited to
128 kb/s, I'm using this link too, so I get 512+128 kb/s :) (actualy,
last night it went up to 1.5 Mb/s ;) )
Best regards,
--
SiniĊĦa Bandin
Novi Sad
Serbia&Montenegro
Europe
planet Earth
phone: +381 63 582 161
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]