How to assign an ip address to your network card
To add an ip or several ips to your network card,we will do the following;
First go to your eth path with command :
Then list the contents with either ls or dir commands
You are going to see many files including something like :
ifcfg-eth0 or ifcfg-eth1
If you see both of them,then possibly eth0 is being used but make sure and ask your hosting provider or try and learn!
Suppose it is eth0,then you shall create a new file with the command below :
Write inside :
If you are adding the range 18.104.22.168 – 22.214.171.124 , then first and last ip should be replaced in the correct order.
Restart your network :
Check your ips with ifconfig command :
If you want to add more ips,then do the same procedure but increase clonenum_start value as much as the number of the ips you add each time.