From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [iproute2] iproute2 question Date: Thu, 18 Mar 2010 08:59:19 -0700 Message-ID: <20100318085919.05328127@nehalam> References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: hadi@cyberus.ca, netdev@vger.kernel.org To: thomas yang Return-path: Received: from mail.vyatta.com ([76.74.103.46]:55453 "EHLO mail.vyatta.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750999Ab0CRRTx (ORCPT ); Thu, 18 Mar 2010 13:19:53 -0400 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Thu, 18 Mar 2010 17:02:16 +0800 thomas yang wrote: > Hi, > > Linux router R (has some interfaces) use the table "main" as default > routing table to route packets. If some link connected to R failed, > I want to use another table "backup_tbl" to route packets; if the > broken link repaired , go back to use table "main" . How to do this? That's now it works. Use a real routing daemon. --