Services
For cliens
For partners
+7 351 21401408:30-17:30 (+5 GMT)
Knowledge base
Simple instructions to work with the ProfitServer service
How to setup multiply addresses on CentOS

In this article we will decribe how to setup network in CentOS. This is very important because it is the beginning of work with the server. So here that you need to do:

To work with ifconfig and any other network utilites it is necessary to install net-tools package. 

Настройка сети в Debian

To change configuration of /etc/sysconfig/network-scripts you should edit file ifcfg-eth0. Content of this file looks like:

Настройка сети в Debian

In the lines ipaddr, netmask and gateway write exactly data you need to configure

Настройка сети в Debian

To set up multyply addresses you should create a copy of interface and edit this copy:

Настройка сети в Debian

In the end to have two addresses in one net, you must have to connections ifcfg-eth0 and icfg-eth0:0

Настройка сети в Debian

Please, rate this article:
Ask a question
We are always ready to answer your questions at any time of day or night.
Please, check our Knowledge base, most likely the answer to your question is already there!