I had a general query about adding an IP address to a host in Linux.
In one of the lectures, I saw the IP address is added as follows :
sudo ip addr add 172.16.239.16/24 dev eth0
This will assign 172.16.239.16 IP to the host system…right?
Doesn’t the “/24” define a range of IP address for a subnet? shouldn’t that be “/32” which is a single IP address?
And I also saw that we were adding multiple IP addr with different network address for a jump_host on the same ethernet adapter (eth0). Shouldn’t an adapter be associated with single IP?
Can someone please clear this concept for me?