Chancing IPs

Aart Koelewijn aart at mtack.xs4all.nl
Thu Nov 5 20:22:54 UTC 2009


On Wed, 04 Nov 2009 08:58:26 -0800, NoOp wrote:

> 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.

Thanks every one for the help. The common opinion seems to be that it has 
to do whith the dhcp lease. I checked the lease-time, it is 864000, so 
that could be it. I will change to a fixed IP, but at the moment have 
more urgent problems (after upgrading an other laptop from 9.04 to 9.10 I 
lost all network connections, wired and wireless. I will have to study 
that somewhat more, but if I can't find a solution I will post about it 
in a separate mail)

Aart





More information about the ubuntu-users mailing list