Re: default route

Linux Advanced Routing and Traffic Control

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

 



Payal Rathod wrote:
Hi,
Is it possible to use more than one default route? I believe yes.
Any comments on them. If I use more than one, where will the trafficc be
diverted from?
That's a good question.  I was going to answer your other post, but did some tests
which contradicted what I was going to say.

I originally thought if you had two default routes on the same metric, traffic would just go out the first one, however, when I tried this earlier, I started losing packets, so I can only assume the packets were going out the other route, and then getting lost. anyone comment on this ?

If you use the ip route tool to created multiple weighted or equalized default routes, you then use source-based routing to make sure that the traffic goes back out the same route it came in on.
(unless you're trying to be tricky with asymetrical routing)





-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Damion de Soto - Software Engineer email: damion@xxxxxxxxxxxx SnapGear --- ph: +61 7 3435 2809 | Custom Embedded Solutions fax: +61 7 3891 3630 | and Security Appliances web: http://www.snapgear.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- Free Embedded Linux Distro at http://www.snapgear.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