Binding multiple IPs to one interface in Centos

The steps to add additional IP's to one network card / interface in Centos are as follows:

1.) Login into the server as the root user
2.) Navigate to /etc/sysconfig/network-scripts directory
3.) Assuming that the network interface name is eth0, cp ifcfg-eth0 as ifcfg-eth0:1
4.) Edit the ifcfg-eth0:1 file and change the DEVICE parameter to DEVICE=eth0:1
5.) Change the other parameters in the NEW file such as IPADDR to the new IP address.
6.) Repeat this process for each additional IP but remember to change the interface name each time e.g. ifcfg-eth0:2

After adding your additional IP's restart the network service: service network restart
  • 0 Users Found This Useful
Bài viết này có giúp quý khách giải quyết vấn đề đang gặp?

Related Articles

Hướng dẫn đổi Port Remote Desktop trong Window Server

Hướng dẫn đổi Port Remote Desktop trong Window Server Chào tất cả các bạn. Lại là mình đây. Hì...

Cách chặn virus tống tiền Ransomware WannaCry trên windows 2008 R2

Như các bạn thấy gần đây có một loại virus mang tên Ransomware WannaCry chấn động cả thế giới...

Hướng dẫn Cài đặt FTP ( FileZilla Server )

Các ứng dụng FTP Client như FileZilla, Cyberduck, WinSCP… đang được sử dụng khá phổ biến và rộng...

Hướng dẫn mở port 21 ( FTP FileZilla ) , Ping , Remost Destop trên filewall

Chào tất cả các bạn Sau đây mình hướng dẫn các bạn mở port trên windows server filewall 2008 R2...

Hướng dẫn tư vấn sử dụng memcache vs memcached

1. Giới thiệu: Hiện nay, với vấn đề lượng truy cập website rất lớn dẫn đến Máy chủ website không...