On Mon, Mar 26, 2007 at 08:33:25PM +0700, riwanlky wrote: > Hi All, > > I am sorry if I didn't get the answer searching the mailing list > and man route. > > I have two ISP, and wondering how should I setup the default > route to the ISP. > > I am wondering if I have two gateway going to the same route can I use > metric? > route add 0.0.0.0/0 192.168.6.1 10 > route add 0.0.0.0/0 192.168.6.2 100 >
The kernel routing table is strictly equal cost. So if you add two default routes the multipath code will try to balance it 50/50. > I can used OpenOSPFD or OpenBGPD. > Neither ospfd nor bgpd have multipath support (yet). I started with ospfd support but it is far from finished. -- :wq Claudio