[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#602473: general: cannot change dhcp address to static



Hi,

On Fri, Nov 5, 2010 at 4:39 AM, ivan <okoluje@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,



Reply to: