Bug#602473: general: cannot change dhcp address to static
Package: general Severity: important I cannot chage manually IP address in /etc/network/interfaces, after bring interface down with ifconfig eth0 down I manually edit above maentioned file with: allow-hotplug eth0 iface eth0 inet static address xxx.xxx.xx.xx and so on and after bringing up command on eth0 host wont connent any more or still hanging on dhcp. Ifconfig eth0 still showing DHCP address, it will change only after restarting host. Also '/etc/init.d/networking restart' doesnt work, after that host just dont want connect any more. best wishes ivan -- System Information: Debian Release: 5.0.6 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#602473: general: cannot change dhcp address to static
Hi, On Fri, Nov 5, 2010 at 4:39 AM, ivan okol...@gmail.com wrote: I cannot chage manually IP address in /etc/network/interfaces, after bring interface down with ifconfig eth0 down I manually edit above maentioned file with: allow-hotplug eth0 iface eth0 inet static address xxx.xxx.xx.xx and so on and after bringing up command on eth0 host wont connent any more or still hanging on dhcp. Ifconfig eth0 still showing DHCP address, it will change only after restarting host. You must first ifdown then interface, then change the configuration file, and then ifup the interface. If you don't, you won't get the expected results. This bug is invalid (and shouldn't be reported as general either). Please use real support resources before posting bug reports with support questions. Regards, -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org