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 777313 - DHCP settings for network manager shared connection are hard-coded source, should be editable
DHCP settings for network manager shared connection are hard-coded source, sh...
Status: RESOLVED DUPLICATE of bug 763937
Product: NetworkManager
Classification: Platform
Component: IP and DNS config
unspecified
Other Linux
: Normal normal
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2017-01-16 09:46 UTC by sdaau
Modified: 2017-01-16 09:57 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description sdaau 2017-01-16 09:46:10 UTC
Copy of [https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1098362 Bug #1098362 “DHCP settings for network manager shared connectio...” : Bugs : network-manager package : Ubuntu]":

> 1) Ubuntu 10.04, but it's in all versions.
> 2) any version of network manager
> 3) I want to be able to change the DHCP settings for a shared network connection
> 4) YOUR OPERATING SYSTEM WON'T LET ME!
> 
> The file nm-device.c contains this line:
> 
> nm-device.c: guint32 start = (guint32) ntohl (0x0a2a2b01); /* 10.42.43.1 */
>
Comment 1 sdaau 2017-01-16 09:46:57 UTC
Personally, I can still see the same problem in Ubuntu 14.04. It would be nice if for Network Manager applet / Edit (connections) / IPv4 Settings with Method: "Shared to other computers", one could use the "Addresses" field (which is currently greyed out for the shared method), to add an IP address which the particular network interface should be set to (and then have DHCP assign addresses to clients connecting through that connection in the same subnet of the set address).
Comment 2 Beniamino Galvani 2017-01-16 09:57:29 UTC
Already fixed in nm-connection-editor:

https://git.gnome.org/browse/network-manager-applet/commit/?id=e8a16438d8e3696d5e818d48bd49b9c1f284fd2c

Note that before this commit it was already possible to manually modify the connection address using nmcli or editing the connection file to also change the DHCP pool served to clients.

*** This bug has been marked as a duplicate of bug 763937 ***