GNOME Bugzilla – Bug 777313
DHCP settings for network manager shared connection are hard-coded source, should be editable
Last modified: 2017-01-16 09:57:29 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 */ >
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).
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 ***