Recently I installed apache2 on Raspbian and after end of installation I entered the following cmd and got two IP's. $ hostname -I192.168.1.17 192.168.1.24Of this, I have been using the IP ending in 17 from beginning. But I have never seen the one with 24. Can I use them both to access my RPi or each one present only for a specific use. Like 24 only for apache ???
Can a Linux system have two IP's Simultaneously?
apache httpd;ip;raspbian;hostname
hostname -I doesn't work here (openSUSE 13.2) but there is no problem with one host using several IP addresses. That is obviously possible by having several network adapters but you can have several addresses per interface (aliases) and even several interfaces per hardware NIC.The usual way to see the network configuration is ip addr show.