Global routes setting is not supported
Bug #1720418 reported by
Witold Krecicki
This bug report is a duplicate of:
Bug #1726695: Routes are not correctly documented in man pages.
Edit
Remove
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Netplan |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
With this netplan yaml (which is stripped down example from man page):
network:
version: 2
renderer: NetworkManager
ethernets:
id0:
match:
macaddress: 00:11:22:33:44:55
addresses:
- 192.168.14.2/24
gateway4: 192.168.14.1
routes:
- to: 0.0.0.0/0
via: 11.0.0.1
metric: 3
netplan generate gives an error:
Error in network definition config.yaml line 1 column 2: unknown key routes
Changed in netplan: | |
status: | New → Confirmed |
To post a comment you must log in.
Also is not possible to set a multicast rote for an interface, only for ip.
something like:
routes:
- to: 224.0.0.0/4
dev: eth0