You are not logged in.
Hello.
Could someone tell me how to translate such ip route command
ip route add fd01:2022:0311:1::/64 dev br0 src fd01:2022:0311:1::1:1
into systemd-networkd configuration (.network) file?
I read systemd.network(5) but didn't find any key associated with the 'src' part
of ip-route.
Reason:
I have set several IPv6 addresses for br0 interface but want to connect from the
host using only concrete IPv6 address. As I understand it, the 'src' part of
ip-route do exactly that.
Offline
I had to check what 'src' was for: "the source address to prefer when sending to the destinations covered by the route prefix."
That seems to match PreferredSource in https://man.archlinux.org/man/systemd.n … ON_OPTIONS
Offline
Thank you Raynman!
P.S. I don't know how I could missed that parameter, I tried `Source`, but of course, it is not the right one.
Offline