LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: OT: iprout2 question

To: Pietro Ravasio <pietro.ravasio@xxxxxxxxxxxxx>
Subject: Re: OT: iprout2 question
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Joseph Mack <mack.joseph@xxxxxxx>
Date: Mon, 25 Sep 2000 12:11:54 -0400
Pietro Ravasio wrote:
> 
> Hi!
> 
> Sorry for the OT but iproute2 documentation is very difficult to find!
> 
> Is it possible to have two default gateway, using "ip ru" to manage
> different "priority"? (the first one is searched, if not available, the
> second one will be used)

the RFC's allow you to have multiple default gateways, but don't specify
how they are used (it's been a while). 
So in principle yes (or do you already know this?). 
I don't know how Linux handles this.

Joe

> I think this shouldn't work: (Being 1.2.3.253 gw1 and 1.2.3.254 gw2):
> ip ru add prio 100 to 0.0.0.0/0 table 100
> ip ru add prio 101 to 0.0.0.0/0 table 101
> ip ro add table 100 0.0.0.0/0 via 1.2.3.253
> ip ro add table 101 0.0.0.0/0 via 1.2.3.254
> 
> Thanks!
> Pietro Ravasio
> 

-- 
Joseph Mack PhD, Senior Systems Engineer, Lockheed Martin
contractor to the National Environmental Supercomputer Center, 
mailto:mack.joseph@xxxxxxx ph# 919-541-0007, RTP, NC, USA


<Prev in Thread] Current Thread [Next in Thread>