What I need to do is set up failover static routing on an
OSA/HiperSockets network. Basically the network looks like this:
+---Firewall---+
|G L |G L
|u A |u A
OSA --- Router ---+e N |e N
|s |s
OSA --- Router ---+t 1 |t 2
| |
| |
+---Firewall---+
For the routers and the guests on LAN 1 I want to do something like
ip route append glan2/mask via f1
ip route append glan2/mask via f2
And the guests on LAN2 should do something like
ip route append default via f1
ip route append default via f2
The guests on LAN1 get something like
ip route append default via r1
ip route append default via r2
(And yes, the OSAs have been set up as primary and secondary routers)
The intended effect is "get there through r1 if it's there, and if it
isn't, try r2". Or if you're talking about something on Guest LAN 2,
"through f1 if it's there, and f2 if it isn't."
However, when I do this, and then take away one of the firewall
machines, the route does not fail over. Instead, the machine just keeps
trying to go through the first-listed interface, which is no longer
present. I am using a HiperSockets rather than a QDIO virtual network,
so I don't have broadcast.
Do I need to explicitly add metrics giving preferences? Do I need to
create multiple tables and assign weights to those tables? How do I do
that?
Puzzled,
Adam