Skip to content

Static Routes to/from Dashboard

Currently, in HyperCloud, static routes must be manually appended to the end of the node-dashboard-ip configuration file. The syntax is:

staticRoutes "{NETWORK/NETMASK via GATEWAY} {NETWORK/NETMASK via GATEWAY} {NETWORK/NETMASK via GATEWAY}"

The Attribute is surrounded by double-quotes and each static route is surrounded by curly braces.

Example of file contents:

~# cat /var/run/cluster-control/facts/node-dashboard-ip
ip 192.168.11.200 netmask 255.255.252.0 gateway 192.168.8.1 nameservers 8.8.8.8 ntp-servers 132.163.96.2 staticRoutes "{192.168.12.0/24 via 192.168.11.1} {192.168.13.0/24 via 192.168.11.1}"