After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 751430 - Apply IP config properly to device
Apply IP config properly to device
Status: RESOLVED FIXED
Product: NetworkManager
Classification: Platform
Component: IP and DNS config
git master
Other Linux
: Normal normal
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2015-06-24 10:19 UTC by Jiri Klimes
Modified: 2015-06-24 13:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
[PATCH] device: fix configuration of static IP addresses (3.64 KB, patch)
2015-06-24 11:24 UTC, Beniamino Galvani
none Details | Review

Description Jiri Klimes 2015-06-24 10:19:31 UTC
When static IPs are configured together with 'auto' method for both IPv4 and IPv6, the static addresses for one of the families (usually IPv6) are not configured to the device.

Testcase:
$ nmcli con add type ether con-name AAA ifname eth0 autoconnect no
$ nmcli con mod AAA ipv4.addresses 1.1.1.1/24 ipv6.addresses 99::99/64
$ nmcli con up AAA

There is also a test in beaker failing due to that:  NetworkManager_Test37_run_once_new_connection.
Comment 1 Beniamino Galvani 2015-06-24 11:24:06 UTC
Created attachment 305996 [details] [review]
[PATCH] device: fix configuration of static IP addresses
Comment 2 Thomas Haller 2015-06-24 12:02:50 UTC
LGTM
Comment 3 Jiri Klimes 2015-06-24 12:40:16 UTC
I pushed branch jk/ip-config-change-fix, but forgot to mentioned it here. It dies basically the same. But also  splits IP4/IP6 changes for platform signals.
Comment 4 Jiri Klimes 2015-06-24 13:09:54 UTC
Committed to master as:
84b5fa2 device: split IP config changes signal handling to IPv4 and IPv6
0a00eb6 device: split ensure_ipx_config() into IPv4 and IPv6 (bgo #751430