re: Command for Local IP Address VIEW POST


The problem here is that general Linux and unix-based systems supports quite well to work with multiple network interfaces at once. There's no "local IP" as every IP can be a local one and the computer have pretty much no way to know.

As an example, when working on my laptop, I'm usually plugged on Ethernet and Wi-fi, which means that I have two local IPs; one for the wlp2s0 (Wi-fi) interface, one for the enp1s0 (ethernet) interface.

code of conduct - report abuse