On Windows computers, when there is no DHCP server found on the network interface, it gets assigned some IP address like:
So it is supposed you can find it on the network using tools like:
# netdiscover -i eth0 -r 169.254.0.0/16
For network embedded devices, like routers or access points, I usually find them :
# netdiscover -i eth0 -r 192.168.0.0/16
But I don't know what range of IPs should be used for Linux computers.
It seems there is none, for example:
$ ifconfig eth3 Link encap:Ethernet HWaddr 00:01:c0:15:64:b3 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
What range, if any, gets assigned on Linux to a network interface card when DHCP was not performed?
What could I use this for:
- Remotely connecting to devices or computers without knowing its IP. For example, on embedded modern devices capable to run full Linux distros, like RaspBerry, for those cases when you are not in the nearby of a DHCP server.