Installed on RPI, my network address on pc is 1921.68.10.125, i am accessing RPI on 192.168.10.130, but ifconfig on RPI shows
eth0 Link encap:Ethernet HWaddr 02:42:AC:1E:21:00
inet addr:172.30.33.0 Bcast:0.0.0.0 Mask:255.255.254.0
You might have another ethernet adapter on the pi attached to your network.
For example, the PI has wifi, so search your ifconfig output for waln0 to see if that answers your question.
Very good and useful link! But still, how to get the IP address of the host from inside the docker? In other words, giving the case stated by the original post above, how to get to know IP 192.168.10.130 from inside the docker when “ssh root@hassio”?
I don’t think you can access that information from the docker container. I am just setting up my hassio for the first time and from what I’ve been able to read, there is no access to the main os, nor would it be any good because it’s not linux, it’s a special os with limited functionality. The ssh addon runs in a docker container.