I find problems to change the IP address on Ubuntu 18.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Netplan |
Expired
|
Undecided
|
Unassigned |
Bug Description
Hello,
I have installed an Ubuntu 18.04 as z/VM guest.
After the installation I need to change the IP address.
I changed it on /etc/netplan/
I performed the "sudo netplan --debug apply" and I see these messages:
root@UBUNTIPL:
** (generate:1592): DEBUG: 08:26:14.693: Processing input file //etc/netplan/
** (generate:1592): DEBUG: 08:26:14.693: starting new processing pass
** (generate:1592): DEBUG: 08:26:14.693: Processing input file //etc/netplan/
** (generate:1592): DEBUG: 08:26:14.693: starting new processing pass
** (generate:1592): DEBUG: 08:26:14.693: enc2e02: setting default backend to 2
** (generate:1592): DEBUG: 08:26:14.693: Generating output files..
** (generate:1592): DEBUG: 08:26:14.693: networkd: definition enc2e02 is not for us (backend 2)
DEBUG:no netplan generated networkd configuration exists
DEBUG:netplan generated NM configuration exists, restarting NM
DEBUG:device lo operstate is unknown, not replugging
DEBUG:netplan triggering .link rules for lo
DEBUG:device enc2e02 operstate is up, not replugging
DEBUG:netplan triggering .link rules for enc2e02
For more details I performed also "sudo netplan --debug generate":
root@UBUNTIPL:
DEBUG:command generate: running ['/lib/
** (generate:1835): DEBUG: 08:38:35.969: Processing input file //etc/netplan/
** (generate:1835): DEBUG: 08:38:35.970: starting new processing pass
** (generate:1835): DEBUG: 08:38:35.970: Processing input file //etc/netplan/
** (generate:1835): DEBUG: 08:38:35.970: starting new processing pass
** (generate:1835): DEBUG: 08:38:35.970: enc2e02: setting default backend to 2
** (generate:1835): DEBUG: 08:38:35.970: Generating output files..
** (generate:1835): DEBUG: 08:38:35.970: networkd: definition enc2e02 is not for us (backend 2)
Thanks in advanced for the attention
Changed in netplan: | |
status: | Incomplete → In Progress |
status: | In Progress → Incomplete |
Please share the contents of all the .yaml files in /etc/netplan.
Also, please describe how you did the installation for that system.
I see from the logs that there exists a /etc/netplan/ 01-network- manager- all.yaml, which does not sound right for an install on s390x -- either we have a bug in the installer, or NetworkManager was installed in addition to what is normally installed on s390x by the installation process.
To set an address, make sure to modify the:
addresses: [ ]
list to include the address you want (or use "dhcp4: yes" or "dhcp6: yes" if you need DHCP), and additionally change "gateway4" or "gateway6" if you're not using DHCP, to let the system know what to use as a default gateway. You may also need to update details for the nameservers.
See https:/ /netplan. io/examples# dhcp-and- static- addressing for more details on how to set addresses with netplan.