Use loopback or dummy interface for traceroute

Hi
I have tried to get vyos to respond to traceroute from loopback or dummy interface without results.
The way it behaves now is that it responds from the IP on the interface that the traceroute comes from.
Does anyone have an idea how to solve this?