GNOME Bugzilla – Bug 156952
NetworkManager on Debian does not support the setup of static devices
Last modified: 2008-02-10 11:58:18 UTC
It seems that the NetworkManager cannot bring up ethX static devices, it tries to setup a device but it does not work. In my network there are no DHCP servers or anyother way (that i know of) for determining the ips, submask and gateways of the computers in it, everything is configured statically.
Yes, it does support static IP addresses. But a few questions: 1) What distribution are you running? 2) Is there anything "special" about your IP setup, beyond IP address, netmask, broadcast address, gateway, etc? I just remebered that we don't really support switching around resolv.conf yet, which is debatable, but probably should be done, but that's a different problem. Could you also attach the output of /var/log/messages around the point when you think the failure has occurred?
i'm running debian, i have nothing special, here is my /etc/network/interfaces: iface eth0 inet static address 10.1.5.5 netmask 255.255.255.0 network 10.1.5.0 broadcast 10.1.5.255 gateway 10.1.5.1 name Ethernet LAN card to make this test i tried the following: 1) I disables the usual setup of the networking 2) i call NetworkManager in the init sequence just after dbus is launched i'll setup everything so that i boot using NetworkManager and i'll attach the output.
Ok, it seems the Debian backend doesn't support static IP yet. The Gentoo and Red Hat backends do right now. Does the program '/sbin/ip' exist on your system?
yes, i have it.
well it is a symlink... lrwxrwxrwx 1 root root 7 2006-01-16 08:37 /sbin/ip -> /bin/ip
this bug is very old. Right now everything works as expected. Should i close the bug?
(In reply to comment #3) > Ok, it seems the Debian backend doesn't support static IP yet. The Gentoo and > Red Hat backends do right now. I'm assuming this would apply to Ubuntu as well, then. If I understand correctly, any issues at this point with network-manager and static configuration are going to be distro-specific? Are there any docs to which you can refer that explain what each distro needs to do to to support static configurations with n-m?
I haven't seen any documentation anywhere on how to set up a static IP with NetworkManager on Gentoo. How is this done?
well debian has workarounds let NM not care about interfaces that are listed in interfaces (when dhcp is not listed for that interface in there)
Some distributions have workarounds, but that is it. In school we have a wireless network,Static IP, Gateway, etc. I can put all the settings mnually into the gnome networking application, because there is no option in network-manager. It connects fine then, but if I want to go to a different location, like my house, then all the settings are lost. It simply isn't practical to ask the admins to type the settings into my laptop every day.