netplan does not configure interfaces with different renderers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Netplan |
New
|
Undecided
|
Unassigned |
Bug Description
DPU: BlueField
OS: Ubuntu 20.04
netplan.
We want to manage some of the network interfaces using NetworkManager and other with networkd:
# ls /etc/netplan/
55-mlnx.yaml 60-mlnx.yaml
# cat /etc/netplan/
network:
version: 2
ethernets:
tmfifo_net0:
renderer: NetworkManager
dhcp4: false
addresses:
- 192.168.100.2/30
nameservers:
addresses: [ 192.168.100.1 ]
routes:
- to: 0.0.0.0/0
via: 192.168.100.1
metric: 1025
oob_net0:
renderer: NetworkManager
dhcp4: true
# cat /etc/netplan/
network:
version: 2
ethernets:
enp3s0f0s0:
renderer: networkd
dhcp4: 'true'
enp3s0f1s0:
renderer: networkd
dhcp4: 'true'
With the configuration above netplan does not set IP address for tmfifo_net0 interface:
# ifconfig tmfifo_net0
tmfifo_net0: flags=4163<
ether 00:1a:ca:ff:ff:05 txqueuelen 1000 (Ethernet)
RX packets 102 bytes 10337 (10.3 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 60 bytes 7873 (7.8 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
affects: | launchpad → netplan |
Hi, the configuration is looking correct as far as I can tell.
Could you please show the output of the following two commands, to see what NetworkManager is doing there?
$ nmcli con show | grep netplan
$ nmcli con show netplan-tmfifo_net0