I had Raspbian (Jessie) configured to obtain IP from DHCP. Now I changed it to static. Pi is now reachable on two IP addresses: restarted Pi, restarted other computer, restarted router. No change. Of course when this Pi is shutdown it does not answer.
nmap, I see that the old IP appears some 10-20 seconds after the static one. Then both are reachable with ssh, I can login and confirm it is the same machine.
auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.1.222 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1 auto wlan0 allow-hotplug wlan0 iface wlan0 inet manual wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf auto wlan1 allow-hotplug wlan1 iface wlan1 inet manual wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
ifconfig result is:
eth0 Link encap:Ethernet HWaddr b8:27:eb:a0:43:d5 inet addr:192.168.1.222 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1213 errors:0 dropped:1 overruns:0 frame:0 TX packets:319 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:82350 (80.4 KiB) TX bytes:39947 (39.0 KiB)
I have removed all from
/var/lib/dhcp/, rebooted multiple times, waited >24 hours.
What am I missing?