NetworkManager does not provide a way for static IP configuration with DHCP-provided DNS, gateway etc.

Bug #279384 reported by cosmix
52
This bug affects 6 people
Affects Status Importance Assigned to Milestone
NetworkManager
Confirmed
Wishlist
network-manager (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

NetworkManager 0.7 (as found in Interpid Beta) does not provide a way for configuring a static IP for an interface, but get the DNS, gateway, time servers etc. from DHCP.

This is a commonly found option in other operating systems (e.g. Mac OS X) where a user can opt for 'DHCP with manual address'. Such a configuration is required in cases where a static IP is needed, but cannot be configured by the DHCP server (viz. several Linksys home gateways whose software lacks static allocation functionality), but where all other data pertaining to the connection should be retrieved via DHCP.

Revision history for this message
Alexander Sack (asac) wrote :

sounds like a wishlist bug that should be discussed with network manager project folks directly. consider to file your feature request at bugzilla.gnome.org and give us your bug id. Thanks.

Changed in network-manager:
importance: Undecided → Wishlist
status: New → Confirmed
Changed in network-manager:
status: Unknown → New
Revision history for this message
Phil (pmagnone) wrote :

I'm having the same problem. This is definitely a step backwards from previous versions of Network Manager (like what I had in Gutsy). Being able to assign a static IP is a must for people running any sort of service from their machine (MythTV backend, FTP, SSH, etc.) that needs to be reached from the WAN. The new options look great for a laptop, but for a desktop it's just about useless. Let me know if you find a way around this!

Revision history for this message
Peter (jynyl) wrote :

Running Kubuntu 8.10 rc1
In System Settings > Network Settings, there seems to be no fields to set a static IP address. This was available in 8.04 and earlier versions.

Please restore the facility to set a static IP address.

Revision history for this message
Andrej84 (balazs-andrejka) wrote :

I have same problem cannot change to fix IP address. Network config is reseted when X restarted.
I resolved permanently the problem: started the network settings with "sudo nm-connection-editor" and can save the configuration and it's stay after restart too.
I use fresh installed Ubuntu 8.10.

Revision history for this message
bg (boterog) wrote :

I have 3 network cards.
eth0 LAN
eth1 internet
eth2 LAN
I see mi ip configuration with ifconfig and the interface eth1 haven't the correct ip addres.
When I tried "/etc/init.d/networking restart" it warned me that it wasn't going to even try to restart because the interfaces file was mis-configured
The solution for me was to edit interfaces file.
Add the following lines to /etc/network/interfaces.
auto eth1
  iface eth0 inet dhcp
Right now, this is what my /etc/network/interfaces looks like:
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0

auto eth1
iface eth1 inet dhcp

iface eth2 inet static
address 192.168.1.3
netmask 255.255.255.0

auto eth2

iface eth0 inet static
address 192.168.1.2
netmask 255.255.255.0

auto eth0

Alexander Sack (asac)
Changed in network-manager:
status: Confirmed → Triaged
Revision history for this message
perspectoff (perspectoff) wrote :

This is a critical bug and priority should be elevated. Many networked solutions depend on a static IP address.

Changed in network-manager:
status: New → Confirmed
Revision history for this message
giant_trunade (altairlage) wrote :
Revision history for this message
Paul (peubanks) wrote :

The fix is to uninstall Network manager and install wicd.

Revision history for this message
giant_trunade (altairlage) wrote :

Paul, isn't so easy...

I've already though in wicd... but:

1- in some documentations the information is that wicd is for WIRELESS.. but...

2- Like is in the wicd site: i've add the repository in synaptic of wicd an searched for 'wicd'... nothing was found...

3- in another search i found a information that wicd is for Ubuntu 8.04... I'm using 8.10...

IF SOMEBODY KNOW HOW INSTALL WICD IN UBUNTU FOR TESTS I'LL BE VERY APRECIATED..

at the same way: thanks Paul.. please, if you know how to install thank you very much! : )

Revision history for this message
Dr Ak Prasad (drakprasad) wrote :

from Gnome bug page ->>>>>>>>>>> Modem probing in NM is a custom Ubuntu patch and not in NetworkManager itself.
Please file a bug in launchpad for your problem.

When ubuntu will finally fix this issue rather that passing than buck ;-) looks like QA issue

Changed in network-manager:
importance: Unknown → Wishlist
Revision history for this message
Thomas Hood (jdthood) wrote :

In Precise you can statically configure interfaces. Can this bug report now be closed?

Thomas Hood (jdthood)
Changed in network-manager (Ubuntu):
status: Triaged → Fix Released
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.