My machine has multiple static IP addresses on the ethernet interface, which are configured with netctl.
The configuration file of netctl looks like:
Description='A basic static ethernet connection' Interface=ens0 Connection=ethernet IP=static Address=('18.104.22.168/32' '22.214.171.124/22') Gateway='126.96.36.199' DNS=('188.8.131.52')
I would like to make
184.108.40.206/32 the default source IP address for outgoing packets. But the route table always has
220.127.116.11/22 be the default. Then, I have to run
ip route change default via 18.104.22.168 src 22.214.171.124 dev ens0
manually to override it everytime after booting.
My question is: it is possible to specify the default source address in the configuration file of netctl?