|
Answer
by: George Kaloyanov, Aplus.Net Knowledge Base Support
Important: This article is
applicable only for
dedicated servers running on operating system Fedora basic (without Plesk control panel).
By default, each dedicated
server plan with Aplus.Net is
assigned with one IP Address. You can sign up for additional IP(s)
during
initial server setup or later. Once the particular IP(s) are disclosed
to you,
please follow the instructions below on how to add them to your
dedicated
server IP pool:
- Login
to your server using SSH with username root
- Go
to the network-scripts directory:
# cd /etc/sysconfig/network-scripts/
- You
will find a file with name ifcfg-eth0.
If you already have more than one IP address, then you may want to get
a list
of all IP configuration files:
# ls ifcfg-*
You can read these files in order to check which
IPs are assigned inside:
# less ifcfg-eth0
Note: We assume assume that you have only one IP
address on your
dedicated server at the moment.
- Make
a copy of that file:
# cp ifcfg-eth0 ifcfg-eth0:0
Then open the copy with vi or other text editor:
# vi ifcfg-eth0:0
- Go
to the line with DEVICE=… and change it to:
DEVICE=eth0:0
- Go
to the line with IPADDR=…
and change
the IP address to the IP address that was assigned to your server by
the
Aplus.Net Network Administrators.
- Make
sure that the value of ONBOOT=…
equals to yes.
- If
you wish to add more IPs to your dedicated server please repeat steps
4, 5, 6
and 7. The only difference is that the files should be named as
ifcfg-eth0:1,
ifcfg-eth0:2, ifcfg-eth0:3, etc.
Note: Please make sure that you follow the naming convention
ifcfg-eth0:#,
where # is the file number.
- Finally, run the command service network restart in
order for the changes to take effect.
|