Displaying 2 results from an estimated 2 matches for "coomad".
Did you mean:
commad
2006 Dec 28
1
How to add a route to a network via 2 gateways.
Hi iproute2,
I have a network to reach which is 192.168.2.0/24. It is a branch of the
company. I have currently added a route to that network via one gateway (
192.168.0.254) in following way.
ip route add 192.168.2.0/24 via 192.168.0.254
Now, We got another gateway which is 192.168.0.250. Now I want to add a
route to the same network which is 192.168.2.0/24 via this gateway (
192.168.0.250)
2006 Dec 30
0
RE: CentOS Digest, Vol 23, Issue 30
...ein, what is this "you can heavily weight one path over the other"
When weight 1 and weight 1 , Both paths are equal. If I use weight 1 and
weight 100 , what would be the primary path ? Is it weight 1 ?
Is it the lower number which becomes primary ?
Then , in my case, is the following coomad is right?
ip route add 192.168.2.0/24 scope global nexthop via
192.168.0.254 dev eth0 weight 1 nexthop via 192.168.0.250 dev eth0 weight
100
I guess with the above command that traffc will flow via primary, when it
fails , traffic will flow via secondary.
That is what I need.
Am I right ? The...