First of all I am so sorry that this question might be so rudimentary to ask here but I need to know it.
I am connecting my laptop in many wi-fi networks every day while roaming. So my IPv4 is in DHCP mode thus takes a different IP address in a different network. But now I have to edit my network scripts (CentOS7, eth-0) and set a fixed IP address there.
( The reason I want to do this is because I want to set up a hadoopmulti node cluster. Home machine will be the master node and two CentOS7 Vmware will be data nodes. So I need to setup 3 IP addresses on 3 machines and talk between them via SSH. )
Now my question is Can I set up my IP address as static one? Then if I roam into a new network what's going to happen? Do I have to change the IP address again if it(the staic IP that I set) does not fall in the range of that network's DHCP IP range?
Please clarify this to me if you please and also if some one know how to do this basic kind of network setup better please also do advise and suggestions.
Thanks and regards