You are right, and as soon as I wrote the comment I realized I was wrong (mixed it with using iptables in post-up).
16:07 < ivoks> so, ideally, cloud-config would be smarter here
16:08 < ivoks> and place those routes where they belong
16:08 < ivoks> well, whoever generates that cloud-init.cfg should be a wee smarter
Routes should be placed on the interfaces that provide access to gateways for those routes.
You are right, and as soon as I wrote the comment I realized I was wrong (mixed it with using iptables in post-up).
16:07 < ivoks> so, ideally, cloud-config would be smarter here
16:08 < ivoks> and place those routes where they belong
16:08 < ivoks> well, whoever generates that cloud-init.cfg should be a wee smarter
Routes should be placed on the interfaces that provide access to gateways for those routes.