[Bug 1834285] Re: unable to set static ip using netplan
Raghavendra
raghav40_it at yahoo.co.in
Mon Jul 22 10:08:00 UTC 2019
removed dhcp4: 'no' from conf file and it worked
** Changed in: netplan.io (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to netplan.io in Ubuntu.
Matching subscriptions: foundations-bugs
https://bugs.launchpad.net/bugs/1834285
Title:
unable to set static ip using netplan
Status in netplan.io package in Ubuntu:
Invalid
Bug description:
I am using ubuntu 19.04 (disco)
netplan version:- netplan.io/disco-updates,now 0.97-0ubuntu1~19.04.1
amd64
when i change /etc/netplan/01-netcfg.yaml to set static ip
network:
ethernets:
eth0:
addresses:
- 10.243.15.105/19
dhcp4: 'no'
gateway4: 10.243.0.1
nameservers:
addresses:
- 10.240.0.10
- 10.240.0.11
renderer: networkd
version: 2
and do "netplan apply"
It throws below error:-
Traceback (most recent call last):
File "/usr/sbin/netplan", line 23, in <module>
netplan.main()
File "/usr/share/netplan/netplan/cli/core.py", line 50, in main
self.run_command()
File "/usr/share/netplan/netplan/cli/utils.py", line 130, in run_command
self.func()
File "/usr/share/netplan/netplan/cli/commands/apply.py", line 43, in run
self.run_command()
File "/usr/share/netplan/netplan/cli/utils.py", line 130, in run_command
self.func()
File "/usr/share/netplan/netplan/cli/commands/apply.py", line 106, in command_apply
stderr=subprocess.DEVNULL)
File "/usr/lib/python3.7/subprocess.py", line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['udevadm', 'test-builtin', 'net_setup_link', '/sys/class/net/lo']' returned non-zero exit status 1.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/1834285/+subscriptions
More information about the foundations-bugs
mailing list