From mboxrd@z Thu Jan 1 00:00:00 1970 From: kalinix Subject: Re: 2nd default gateway [updated] Date: Thu, 05 Jun 2008 13:07:34 +0300 Message-ID: <1212660454.18085.12.camel@localhost> References: <4847E43A.2030405@gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=D+AFpZy3HdaSA0vG5KUIGy4DwiOIJj4cxPVcBS39w8o=; b=IvMjvhTjT2igxT8GTzBNxrVdD4jAkhX63ocum2kOsh8+dZlBiHej/b2CanUaPbGscC NzCEcEQmBn3buaTBoPvs0C2PzoV1NW0F+OTJDF09YKCZVC93elHdz8z3d3R6uHPOTL/K smy0rab+v1fBoSO9Ufi8mC5/Wagjoi35YeACc= In-Reply-To: <4847E43A.2030405@gmail.com> Sender: linux-admin-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: zaphod001@gmail.com Cc: linux-admin@vger.kernel.org On Thu, 2008-06-05 at 09:03 -0400, Gery wrote: > Hi All, > > I have Linux machine with 2 ethernet cards in different segments. Like > 10.2.1.1 and 192.168.1.1 > Do i need 2 default gateways in routing table? Please, give me an > example when it may happen. > > [update] > The machine MAY BE connected to separate networks and i mean w/ 2 different > routers. Security reasons, for example. > If such case, demands 2nd gateway? > > Zaphod > thanks in advance > > -- > To unsubscribe from this list: send the line "unsubscribe linux-admin" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html If you look for a setup that enable your linux box to have two gateways (e.g. Routing for multiple uplinks/providers) you may find an excelent how-to here: http://lartc.org/howto/lartc.rpdb.multiple-links.html HTH Calin Cosma ================================================= The computer can't tell you the emotional story. It can give you the exact mathematical design, but what's missing is the eyebrows. - Frank Zappa