β09-26-2011 02:01 AM
Hi,
I am having a Veritas Cluster running on Linux with two nodes, and each node has two physical IP addresses.
One address in 172.19.155.0/24 and one in 172.19.154.0/28.
The default gateway is 172.19.155.1 and I also need to have static routes towards some destinations via 172.19.154.129.
My MultiNICA agents are as follows:
MultiNICA mnica_om (
Device @atcmdn1 = { eth7 = "172.19.155.42", eth0 = "172.19.155.42" }
Device @atcmdn2 = { eth7 = "172.19.155.44", eth0 = "172.19.155.44" }
NetMask = "255.255.255.128"
Options = "broadcast 172.19.155.127"
NetworkHosts = { "172.19.155.1" }
)
MultiNICA mnica_charging (
Device @atcmdn1 = { eth1 = "172.19.154.131",
eth6 = "172.19.154.131" }
Device @atcmdn2 = { eth1 = "172.19.154.132",
eth6 = "172.19.154.132" }
NetMask = "255.255.255.192"
Options = "broadcast 172.19.154.191"
NetworkHosts = { "172.19.154.129" }
)
I have seen that I have to use the RouteOptions parameter in main.cf.
For the default gateway I guess that I have to use:
MultiNICA mnica_om (
Device @atcmdn1 = { eth7 = "172.19.155.42", eth0 = "172.19.155.42" }
Device @atcmdn2 = { eth7 = "172.19.155.44", eth0 = "172.19.155.44" }
NetMask = "255.255.255.128"
Options = "broadcast 172.19.155.127"
RouteOptions @atcmdn1 = "default gw 172.19.155.1 0"
RouteOptions @atcmdn2 = "default gw 172.19.155.1 0"
NetworkHosts = { "172.19.155.1" }
But what about the static routes via 172.19.154.129?
For example how can I add a static route towards 172.25.12.76/32 via 172.19.154.129?
Thanks,
Agathi