Global routes setting is not supported

Bug #1720418 reported by Witold Krecicki
24
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

Joshua Powers (powersj)
Changed in netplan:
status: New → Confirmed
Revision history for this message
ZioTibia81 (ziotibia81) wrote :

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

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

This is a duplicate of bug 1726695.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.