Is there similar functionality to JunOS “system default-address-selection” available in modern VyOS? This feature in JunOS will use address assigned to loopback (but not 127/8) as the source address for any locally generated packets (e.g., no route to host or TTL expired ICMP messages)
As far as I know, this is not available within VyOS. A quick search on how to do it with Linux also didn’t give any satisfying results except for using netfilter to modify packets.
Sander
That’s what I was afraid of, Linux itself doesn’t seem to offer anything like that out of the box but I was hoping maybe there would be some nftables tricks integrated into VyOS. Guess I’ll do some experimenting and see what’s possible without being a giant mess
1 Like