On Wed, Apr 09, 2008 at 05:34:50AM +0200, NN_il_Confusionario wrote:
> On Tue, Apr 08, 2008 at 11:59:10PM +0300, Stuart Gall wrote:
> > Does a higher weight mean that the route will be used more or used less ?
>
[snip]
>
> Furthermore, if you really want to do this, you probably also want to look
/ml/linux.network.routing/2001-10/msg00055.html
If you want to make one route work more than the other, you can assign
weights to the routes right after each dev entry in the route statement
(i.e., "ip route ... dev eth0 weight 2 ... dev eth0 weight 1", this
would send twice as many connections out the first
bandwidth or quality.
>
>
> So more weight = better quality = preferred
>
>
> e.g.
> ip route add default scope global nexthop via x.x.x.1 dev eth0 weight 1
> nexthop via x.x.x.2 dev eth0 weight 2
my understanding is that 2/3 will go via .2 and 1/3 will go via .1
Hello,
SO I have scoured the internet, the man pages, groups. I just cant find
a definitive answer.
weight NUMBER - is a weight for this element of a multi-
path route reflecting its relative bandwidth or quality.
So more weight = better quality = preferred
e.g.
ip route add
When I run the
#ip route add default nexthop via 202.63.XX.XX dev ppp0 weight 1
nexthop via 202.63.XX.XX dev ppp1 weight 1 nexthop via 202.63.XX.XX dev
ppp2 weight 1 nexthop via 202.63.XX.XX dev ppp3 weight 1
the output I get on my debian Mepis kernel 2.6.10, with ip utility version iproute2
Hi Dear Members!
i have a 1MB DSL connection. from my DSL ISP i got 6 IP with ip addresses
202.147.170.130202.147.170.132
202.147.170.133
202.147.170.134
202.147.170.135
202.147.170.136
with netmask 255.255.255.224
with gateway 202.147.170.129.
now i have 6 machines of Debian (Cache, We
Hi,
You may just forget my previous posting... (it was just an error in the
script).
BTW, if you have multipath default routes, how do you set the routing
table so that the machine would automatically reroute the packets when one
of the route is down?
TIA,
Oki
Hi,
I'd like to put the following in a script under /etc/ppp/ip-up.d:
/sbin/ip route add default dev ppp0 table modem
unfortunately, it doesn't work.
The man pages say that the scripts in the directory would be executed
after the links are up, but the command
ip route
Hi,
I'm trying to utilize two devices on my machine using ip route.
bdg:~# ip route del default scope global nexthop via 202.146.253.9 dev
ppp0 weight 2 nexthop via 192.168.1.45 dev eth0 weight 1
bdg:~# ip route list
192.168.11.2 via 192.168.1.25 dev eth0
202.146.253.9 dev ppp0 proto k
Anyone know where the documentation (good) on use of IP route can be found?
or some good examples to pull from?
10 matches
Mail list logo