I recently tried to make ROS work with two VRFs, which by itself worked fine.
However, I have a problem with the router accessing services within the VRFs.
I have two VRFs, RED and BLUE.
Both RED and BLUE are using the 10.0.0.0/24 subnet.
RED is on interface ether4, BLUE on interface ether5.
Both interfaces are given the IP 10.0.0.1/24.
Now I need to connect to 10.0.0.254 in both VRFs using PPTP.
The only problem being - PPTP client is not VRF-aware. It's not possible to enter the remote address in "10.0.0.254@RED" or "10.0.0.254%ether5" format.
While trying to figure stuff out, I noticed that pretty much nothing (EoIP, IPIP, ...) is VRF-aware in ROS, except for the ping tool.
This is true for both ROS 5.0rc11 and 4.17
Please note that for operational reasons, it is not possible to change the IP 10.0.0.254 in either VRF. That would in theory
allow me to inject /32 routes into the main routing table, pointing to the respective VRF, but still is a kludge.
To get this working, I now had to build a massive kludge involving two metarouters on the Routerboard I am going to use.
Is there another way, or is that simply a feature request to make all services in ROS VRF aware?