Comment 8 for bug 1867375

Todor Andreev (toshko3) wrote :

Hi,
this bug is affecting me as well on Focal (Ubuntu 20.04).
I used the option use-routes=false in netplan to ignore the default gateway and now it doesn't work.
As you have explained, now the right way is to use the UseGateway option of systemd.

But there is no option in the current version of netplan. Netplan says "unknown key 'use-gateway'"
Also, there is no option in the current version of systemd. Systemd says "Unknown key name 'UseGateway' in section 'DHCP', ignoring."

Is there any workaround, because now I'm stuck and don't know how to accomplish this?

Also is it planned to be included with simple updates or only in a future "Ubuntu 20.10" release?