1.) Built VSX Cluster in HA
Right
2.) Defined VS1 which is a Virtual Router - Connected to physical interface bond100.3000
Right
3.) Defined a Second VS2 which is a Virtual System - Connected to Physcial Interfaces bond200.xxx
Right
4.) Define an interface on the VS2 leading to VS1 using the 172.11.1.1. This is the wrp128 link presumably with the automatic ip assignment for the cluster members
Right
5.) Configure Routes on the VS1 for networks off the bond200.xxx interfaces on VS2 and say next hop is Virtual System VS2.
I have done it this way now, because I removed on VS2 (propagate routes to other VS's). And VS1 routes on GW's are reflecting this manually defined routes on MGMT server's VS1 object.
But, in the very next step i add two more static routes on VS1 which points to external next hop IP (or default route - the same), and they are not populated on VS1 routing table on GW's. This is silly.
All is good in terms of cphaprob at this point
Still Right.
6.) Configure Route on VS2 for Default Route pointing too VS1 as the Next Hop.]
Yes. And on VS2 routing table always reflects changes on MGMT server VS2 object in topology.
At this point you are saying that VS1 on the Standby Cluster Member goes to a down state and loses routes.
Right. VS1 state on standby member goes from Standby to Down after adding default route on VS2. On active GW state stays active.
Do you have the Automatic Topology Calculation on VS1 and VS2 enabled. I find with VSX is easiest to do this.
Yes, Calculate topology automatically option is turned on on both VS's.
On the Interfaces then for the Cluster Members then do you have it set to Automatic member IP's.
Not 100% certain by this line
WRP link on VS2 is defined as Leads to Internet (in topology) but it does not create default route automatically on VS2
Only options will be
Regular
Virtual Router
Virtual Switch
It sounds as though set to Regular and then under the Address Spoofing for the Interface set to External.
I set always wrp link on VS2 as - leads to Virtual Router (VS1). Can not choose external because i previously turned on automatic topology calculation. But it is the same problem with automatic topology calculation tuned off.
What I would expect is that would be set to Virtual Router and then VS1 selected.
Right.
You then configure a Default Route in the Routes and make the Next Hop VS1
Right.
Topology Calculation would then update the Topology for that interface to be External
That I believe will fix your issue
The Issue is still there. 🙂 (state down of VS1 on one GW, and routing table of VS1 on MGMT is not updated on GW's).
If i remove WRP link from VS2, only then routing table on VS1 updates on GW's, BUT without any manually added route. And default route is removed from VS2. The only route is for my directly connected network (automatically created with my external bond100.3000 interface). On VS1 all manually created routes for bond200.XXX networks are deleted and all manually created routes for external networks (behined next hop) are in place on mgmt server, but non of them are on GW's routing table -only one route for interface outside network.
And after wrp link removal, VS1 state normalizes (active/standby). 🙂
Ather that, If I add again wrp link on VS2, only 172.11.1.1/32 is directly connected, wrpj128 adds to VS1 routing table no other static VS1 routes.
Then if I add static routes on VS1 which points to VS2 and only these routes are added to VS1 routing table on GW's.
Please people advice here 🙂