LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

OT: iprout2 question

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: OT: iprout2 question
From: Pietro Ravasio <pietro.ravasio@xxxxxxxxxxxxx>
Date: Mon, 25 Sep 2000 17:35:53 +0200
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)

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



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