From: "Indunil Jayasooriya" Date: Fri, 29 Dec 2006 11:23:06 +0000 Subject: [LARTC] Fwd: How to add a route to a network via 2 gateways. Message-Id: <7ed6b0aa0612290311j1fa19044wbf8512d2d72f75e8@mail.gmail.com> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============1438274049==" List-Id: To: lartc@vger.kernel.org --===============1438274049== Content-Type: multipart/alternative; boundary="----=_Part_119707_17193596.1167390666202" ------=_Part_119707_17193596.1167390666202 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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) as well. Then I will have 2 paths to the same network. One path should be primary and the other path should be backup. everything should go via primary path. if the primary path goes down, the backup path should be active. That is the purpose of doing this. Pls let me know whether it is possible or not? if possible, How can I achieve this goal. -- Thank you Indunil Jayasooriya ------=_Part_119707_17193596.1167390666202 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
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) as well.

Then I will have 2 paths to the same network. One path should be primary and the other path  should be backup. everything should go via primary path.

if the primary  path goes down, the backup path should be active.

That is the purpose of doing this.

Pls let me know whether it is possible or not?

if possible, How can I achieve this goal.



--
Thank you
Indunil Jayasooriya
------=_Part_119707_17193596.1167390666202-- --===============1438274049== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc --===============1438274049==--