System Administration
Showing results for 
Search instead for 
Did you mean: 

Adding global route to VCS (cluster) configuration

Occasional Visitor

Adding global route to VCS (cluster) configuration

Hi Guys,

I'm trying to add a global route to VCS cluster configuration. I added the following RouteOptions to my Linux VCS

Device @ronbgmc1a = { eth2 = "", eth3 = "" }
Device @ronbgmc1b = { eth2 = "", eth3 = "" }
NetMask = ""
RouteOptions = "-host eth2"
PingOptimize = 0
NetworkHosts = { "" }

Using the following commands:

[root@ronbgmc1b root]# hastop -all -force
[root@ronbgmc1b root]# pushd /etc/VRTSvcs/conf/config/
/etc/VRTSvcs/conf/config ~
[root@ronbgmc1b config]# vi
[root@ronbgmc1b config]# hacf -generate .
[root@ronbgmc1b config]# grep Route ./
RouteOptions = "-host eth2"
[root@ronbgmc1b config]# hastart

However, the new route is not added to the routing table:

[root@ronbgmc1b config]# netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface U 0 0 0 eth2 U 0 0 0 eth3 U 0 0 0 eth3 UG 0 0 0 eth2
[root@ronbgmc1b config]#

Can anyone suggest the correct procedure of adding a route to VCS ?

Ron Barak
Unix System Developer, MIS, Comverse
Steven E. Protter
Exalted Contributor

Re: Adding global route to VCS (cluster) configuration


A system can only have one DEFAULT route.

Therefore other routes need to be dynamically added with the route add command.

This might not help the networking situation however, it could cause problems.

Steven E Protter
Owner of ISN Corporation
Stuart Browne
Honored Contributor

Re: Adding global route to VCS (cluster) configuration

No, it's not a default route issue.

It's a lack-of-network issue.

You're trying to add a route to '' via an interface which isn't on that subnet, so it's getting confused. You could tell it to use a next hop using 'gw' instead of 'eth2', but..

The default route is covering that route, so unless you're getting ip-redirect ICMP's, theres no reason to have it.
One long-haired git at your service...