How to implement VRF?

I have a situation where I am required to use my router to SNAT packets from two sources with identical IPs to unique IPs so that my destination device is able to uniquely identify the source of the packets, i.e. SNAT packets with identical source IPs to unique source IPs based on the router's physical ethernet port the packets are received on.

In a previous post, VRF was one of the suggestions to me.

After some searching online, I found out that the firmware version I am currently using, 24.10.0, already has the kernel option required for VRF enabled.

My 1st attempt at following iproute2 commands I found online resulted in "Not supported".

After installing kmod-vrf, my 2nd attempt no longer returned the "Not supported" message. However, when I tried to verify that vrf was indeed added by using iproute2 commands, the commands return nothing. It seems to me that busybox did not have vrf related commands added, except for ip link add vrfname type vrf table tablenum.

I believe that VRF is currently possible in OpenWRT, since it was added to the official releases a few months ago.

So can someone who has experience in this tell me how it's done?

Much appreciated.

Just curious here - what's the use case?

One use case would be to test multiple units of the same factory configured device concurrently. Let's say a product I am making is factory set to a specific default IP address. I want to be able to connect 10 such devices to a single application that helps with the testing.