On a LAN each computer is assigned a different IP address each morning. When I installed Kubuntu 12.10 the IP address assigned to the machine was 10.0.0.2
, but today it is 10.0.0.1
. When I try to connect to http://127.0.0.1
in Firefox I see in the status bar Connecting to 10.0.0.2
. However, there is no mention of that address in the /etc/hosts
file:
127.0.0.1 localhost
127.0.1.1 bruno
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
Note that setting the DHCP server to assign the same IP address per MAC address cannot be done as the router is unplugged each evening (electrical issues in the building) and loses the settings.
10.0.0.2
so that I could work so I cannot test now, but I think that you're right. Please post your comment an answer so that I could accept it. I will test this later when less fires are burning.