Re: VIPA setup?! christian wrote:
> something of gated oder routing i have read ... but never clear! ...
>
> can you say more? ...
Let's say that you have 2 physical adapters, en0 and en1, 192.168.10.1
and 192.168.20.1 with a netmask of 255.255.255.0. And then you configure
a vipa address, vi0, 10.0.0.1/255.255.255.252 that you want to make high
available.
You will need to have something like the following gated.conf file:
----------------
routerid 10.0.0.1;
traceoptions "/var/adm/ras/gated.trace" replace size 1 m files 4 all;
rip no;
ospf yes {
area 0.0.0.1 {
interface 192.168.10.1 cost 2 {
retransmitinterval 5;
priority 0;
hellointerval 10;
routerdeadinterval 40;
};
interface 192.168.20.1 cost 2 {
retransmitinterval 5;
priority 0;
hellointerval 10;
routerdeadinterval 40;
};
interface 10.0.0.1 nonbroadcast cost 4 {
retransmitinterval 5;
priority 0;
hellointerval 10;
routerdeadinterval 40;
};
};
};
import proto ospfase {all;};
----------------
But for this to work on the other side there must be something that
understands ospf, like a cisco or an AIX box with gated configured. I
can help you with the AIX box configuration, but not with the router
configuration... is not my subject. Or you can use static routes on the
other side, but they need to be able to detect dead gateways.
Hope this helps!
BC |