You are not logged in.
I have a machine that has multiple outgoing IP -addresses (one of which is a Keepalived VIP) and I want to force outgoing traffic to use a certain IP. This is what I thought would be the best solution:
[Match]
Name=eth0
[Network]
DNS=8.8.8.8
DNS=2001:4860:4860::8888
Address=a.b.c.d/24
Address=x:y:z/64
Gateway=x:y
[Route]
Destination=0.0.0.0/0
Gateway=a.b.c.d
Source=a.b.c.d/32
However; it doesn't work. `ip route` still shows "default via a.b.c.d dev eth0" without a source IP. If I manually execute `ip route del default via a.b.c.d dev eth0 proto static` it works fine
Last edited by Spider.007 (2015-01-19 13:27:29)
Offline