User-defined routing tables not created for loopback interface
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
netplan.io (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Ubuntu: 20.04.2 LTS
netplan.io: 0.101-0ubuntu3~
Attempting to use the following config:
network:
version: 2
ethernets:
loop0:
match:
routes:
- to: 0.0.0.0/0
- to: 0.0.0.0/0
Will create the rule, but not table 99.
root@ubuntu-
0: from all lookup local
0: from all fwmark 0x7 lookup 99
32766: from all lookup main
32767: from all lookup default
root@ubuntu-
--- no output ----
However using the same config on Ubuntu 18.04 is working.
Ubuntu: 18.04.5 LTS
netplan.io: 0.99-0ubuntu3~
root@ubuntu-
default via 127.0.0.1 dev lo proto static
The generated configs in /run/systemd/
root@ubuntu-
[Match]
Name=lo
[Network]
LinkLocalAddres
[Route]
Destination=
Gateway=127.0.0.1
Table=99
[RoutingPolicyRule]
To=0.0.0.0/0
Table=99
FirewallMark=7
This seems very similar to this report: https:/
Except that my config is working on Ubuntu 18.04, and I'm not dealing with any DHCP related routes since this is the loopback interface. Is there a new configure option or something I'm missing from a change in Ubuntu 20.04? Or some change to networkd possibly?
Also tried downgrading to the earliest package available in Ubuntu 20.04 (netplan.io: 0.99-0ubuntu1) with no change.