Re: setting up a static IP address
On Mon, 15 Aug 2011 11:49:24 +0000, I wrote:
> I asked my organization to assign me a static IP address within their
> network, and they obliged. The problem is that every time I boot now, I
> still get the old address in DHCP space that I had before.
On Mon, 15 Aug 2011 11:58:06 GMT, Volkan YAZICI replied:
> You sure "ifconfig eth0" still doesn't return 10.97.14.253?
> Did you restart the networking service? That is, "invoke-rc.d networking
I had not tried that. I had tried booting and assumed that would also
restart the network. So I tried your suggestion. That did in fact set eth0
to the desired static IP 10.97.14.253 while producing this error message:
"Running /etc/init.d/networking restart is deprecated because it may not
enable again some interfaces ... (warning)."
However, on rebooting I was once again assigned the dynamic IP 10.97.14.200.
In case it matters, I'll mention that I'm running Wheezy. The kernel just
moved up to 3.0.0-1-686-pae on Friday, but this IP problem predates that.