Now, let us assign two another addresses to our system because we need three addresses for Launching,
three sites.
So we will go to this ifcfg-ens33 file and we will make another entries according to what we
have discussed.
So we will go to Master system and we are going to open the file /etc/sysconfig.
/network-scripts.
scripts.
ifcfg-ens33 so we are going to comment these two lines.
So we are going to comment these lame.
So we are going to enter three another other lines IPADDR1=172.24.
0.1, then we are going to copy paste.
Then we are going to change it to two and this is going to be your second ip address, then we are going
to change it to three and for, all the system your prefix is going to be.
So we are going to say PREFIX0
equal to sixteen.
So we will save this file and we will again view this file, whether it is accurate or not.
So it is always preferable to double check.
So all the addresses are there.
So now what
we need, systemctl restart network.
We want to restart our network service now.
We will see what will happen.
We will check with ip a s command whether the two another addresses has been given or not.
So this is the syntax for giving the IP addresses.
So let us check with ip a s ens33.
So our system has got now one addresses is there two address.
is there, three address is there that mean now our basic requirements are OK.
That mean three IP address for three websites.