Yes it is in /etc/netplan/netplan.yaml but I think it is also in the mysql db as I tried to add another interface and assign one of the old virt interfaces to it and it says it was a duplicate. Resaving the interfaces does not help either. If you added a gateway manually it also gets stuck.
cat /etc/netplan/netplan.yaml
network:
version: 2
renderer: NetworkManager
ethernets:
eth0:
dhcp4: false
dhcp6: false
addresses:
- x.x.x.x/29
nameservers:
search:
- "xxxxxxxx.com"
addresses: [ 1.1.1.1, 1.0.0.1 ]
routes:
- to: 'default'
via: x.x.x.x
metric: 1
on-link: true
- to: 10.254.254.0/24
via: 192.168.183.243
eth1:
dhcp4: false
dhcp6: false
addresses:
- 192.168.183.254/24
nameservers:
search:
- "xxxxxxxx.com"
addresses: [ 1.1.1.1, 1.0.0.1 ]
eth2:
dhcp4: false
dhcp6: false
addresses:
- 192.168.42.254/24
nameservers:
search:
- "xxxxxxxx.com"
addresses: [ 1.1.1.1, 1.0.0.1 ]
eth3:
dhcp4: false
dhcp6: false
addresses:
- 192.168.153.254/24
nameservers:
search:
- "xxxxxxxxx.com"
addresses: [ 1.1.1.1, 1.0.0.1 ]
eth4:
dhcp4: false
dhcp6: false
addresses:
- 192.168.155.254/24
nameservers:
search:
- "xxxxxxxxxx.com"
addresses: [ 1.1.1.1, 1.0.0.1 ]
eth5:
dhcp4: false
dhcp6: false
addresses:
- 192.168.55.254/24
nameservers:
search:
- "xxxxxxxxxxx.com"
addresses: [ 1.1.1.1, 1.0.0.1 ]
eth6:
dhcp4: false
dhcp6: false
addresses:
- 192.168.156.254/24
nameservers:
search:
- "xxxxxxxxxxx.com"
addresses: [ 1.1.1.1, 1.0.0.1 ]
eth0.eth01:
dhcp4: false
dhcp6: false
match:
name: eth0.eth01
set-name: eth0.eth01
addresses:
- 10.1.10.254/24
# label: "eth0:eth01"
eth0.eth02:
dhcp4: false
dhcp6: false
match:
name: eth0.eth02
set-name: eth0.eth02
addresses:
- 10.1.10.1/24
# label: "eth0:eth02"
eth1.eth11:
dhcp4: false
dhcp6: false
match:
name: eth1.eth11
set-name: eth1.eth11
addresses:
- 192.168.183.1/24
# label: "eth1:eth11"
ls -al /etc/netplan/netplan.yaml
-rw-r----- 1 root root 2244 May 16 10:42 /etc/netplan/netplan.yaml