Chancing IPs

NoOp glgxg at sbcglobal.net
Wed Nov 4 16:58:26 UTC 2009


On 11/04/2009 03:43 AM, Aart Koelewijn wrote:
> Hello list,
> 
> in my network I have an old laptop with Ubuntu 8.04 running 24/7 for a 
> measurement project. This laptop has a WiFi connection with my router. 
> Normally it will get an IP from the DHCP range off the router, 
> 192.168.nn.mm. This is always the same IP. But every so often, perhaps 
> after a week or two weeks it will change its IP to 169.254.7.206 and it 
> will lose its connection to a database outside my home where the data are 
> combined with data from other places. 

I _think_ the IP address is coming from Avahi; it loses it's connection
& when it no longer has a DHCP IP, the interface is assigned a
non-routed reserved local IP address (169.254.x.x).

https://wiki.ubuntu.com/ZeroConfNetworking

$ cat /etc/networks
# symbolic names for networks, see networks(5) for more information
link-local 169.254.0.0

Given your configuration, I'd just go ahead and configure the machine
for a fixed IP.






More information about the ubuntu-users mailing list