network:
version: 2
ethernets:
enred:
eth7dhcp4: yes
dhcp4-overrides:
# this is plugged into a testroute-metric: network100
that is often engreen:
dhcp4: yes
# down dhcp4-overrides:
don't wait for it to come up duringroute-metric: boot.200
# dhcp4:this true
is plugged into a test network that is dhcp4-overrides:often
# down - don't route-metric:wait 100
for it to come up during boot.
optional: true
Notice the slightly different syntax for route metric in the case of DHCP connections.
renderer
(scalar)
renderer
(scalar)
Use Use the given networking backend for this definition. Currently supported arenetworkd
andNetworkManager
. This property can be specified globally innetworks:
, for a device type (in e. g.ethernets:
) or for a particular device definition. Default isnetworkd
.
(The very last 'big' example on the reference page shows such a hybrid use of both renderers).
See also this question (askubuntu).