User-defined IPv4 routing tables are not created when using DHCP and setting use-routes to false
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
netplan.io (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Using netplan.io 0.97-0ubuntu1~
network:
ethernets:
eth0:
dhcp4: true
routes:
eth1:
dhcp4: true
routes:
version: 2
I understand from the documentation that netplan should discard the routes recived from DHCP, and add my defined routes. In my configuration I want to setup source routing, and I expect netplan to create table 1 and table 2 from this configuration.
But, with this config. None of the tables is actually created:
root@bunt:~# ip -4 rule list
0: from all lookup local
0: from 192.168.30.1/24 lookup 2
0: from 192.168.0.1/24 lookup 1
32766: from all lookup main
32767: from all lookup default
root@bunt:~# ip -4 route show table 1
root@bunt:~# ip -4 route show table 2
The rules are in place, but the routing tables are empty/non-existing.
summary: |
User-defined IPv4 routing tables are not created when using DHCP and - setting use_routes to false + setting use-routes to false |
description: | updated |
Status changed to 'Confirmed' because the bug affects multiple users.