Netmask automatically changes to 24

Bug #269910 reported by David D Lowe
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: network-manager

I have added a new wireless connection with a WPA2 password and a manual IP address, like this:
IP address: 180.180.180.11, Netmask: 255.255.255.0 Gateway: 180.180.180.254
I also added two DNS servers.
The connection is flawless (pass my compliments to whoever responsible for this, I could never get it to work on Hardy). However, when I edit the wireless connection again, for some reason, the Netmask changes to 24. Just 24. The connection still works. Everything else is the same.
network-manager version: 0.7~~svn20080908t183521+eni0-0ubuntu2
I'm running Ubuntu Intrepid Ibex Alpha 5.

Revision history for this message
Trygve Vea (trygve-vea-gmail) wrote :

This is not a bug.

Ref. http://en.wikipedia.org/wiki/Netmask

The 24 means it is a 24 bit subnetwork, which is just another way of saying 255.255.255.0.

Regards, Trygve

Revision history for this message
David D Lowe (flimm) wrote :

OK, thanks.

Changed in network-manager:
status: New → Invalid
Revision history for this message
Robin Sheat (eythian) wrote :

This is, however, a user-interface bug. It's something that unnecessarily causes confusion, and as such, probably should be fixed. Reopening, and marking confirmed as I've heard of other people having problems with it.

Changed in network-manager:
status: Invalid → Confirmed
Revision history for this message
David D Lowe (flimm) wrote :

I don't experience this bug any more, I think it has been fixed.

Thomas Hood (jdthood)
Changed in network-manager (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
bigsicret (bigsicret) wrote :

I meet the same issue with ubuntu 16.04.

Revision history for this message
Hasindu (hasindudilshan10) wrote :

I also have the same problem with ubuntu 16.04 :(
I can't share files with my windows machine :[

Revision history for this message
arun gupta (bombshot) wrote :

but still i m unable to connect to wifi

Revision history for this message
blauhirn (blauhirn) wrote :

This is still an issue in Ubuntu 16.04 up to the current date.
It is an interface bug, as Robin Sheat pointed out.

Revision history for this message
Simon Rodan (simon-rodan) wrote :

It is still an issue in Mint 19.1

Revision history for this message
Simon Rodan (simon-rodan) wrote :

A workaround seems to be to add two sets of addresses and then delete the top one (which will have the erroneously saved mas address).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.