Author Topic: How to add 2nd IP  (Read 235 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
How to add 2nd IP
« on: August 27, 2017, 03:08:45 PM »
Hello.
Thanks for CWP a good free web panel.

Please help me.
I install centos7 minimal on VPS and then install CWP.

I can not add secondary IP !
I act manual of this link but IP not added!
http://wiki.centos-webpanel.com/add-additional-ip-address

when i use ifconfig command:
it show only
Code: [Select]
user@167.114.219.54 ~$ ifconfig
ens3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 167.114.219.54  netmask 255.255.255.255  broadcast 167.114.219.54
        inet6 fe80::ff:fee5:8a66  prefixlen 64  scopeid 0x20<link>
        ether 02:00:00:e5:8a:66  txqueuelen 1000  (Ethernet)
        RX packets 274864  bytes 17900973 (17.0 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 9290  bytes 7578208 (7.2 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 509  bytes 154235 (150.6 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 509  bytes 154235 (150.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

my file is ifcfg-eth0:0 and content is:

Code: [Select]
DEVICE="eth0:0"
BOOTPROTO=static
ONBOOT=yes
TYPE="Ethernet"
IPADDR=167.114.219.7
#HWADDR=02:00:00:e5:8a:66
GATEWAY=167.114.208.254
NETMASK=255.255.255.255

Please help

Offline
*
Re: How to add 2nd IP
« Reply #1 on: August 27, 2017, 03:13:30 PM »
info of Secendry IP in VPS KVM panel

Code: [Select]
IP Address 167.114.219.7
Gateway 167.114.208.254
Netmask 255.255.255.255
Nameserver 8.8.8.8
Nameserver 8.8.4.4

info primary IP in KVM :

Code: [Select]
IP Address 167.114.219.54
Gateway 167.114.208.254
Netmask 255.255.255.255
Nameserver 8.8.8.8
Nameserver 8.8.4.4

Offline
*
Re: How to add 2nd IP
« Reply #2 on: August 28, 2017, 10:14:14 PM »
I like to use IP manager in CWP its super easy to add ip with it.

https://IP:2031/admin/index.php?module=ip_manager
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

Offline
*
Re: How to add 2nd IP
« Reply #3 on: August 29, 2017, 08:31:01 AM »
Hi
Thanks
I found problem and solve it!!
https://www.owned-networks.net/client_area/knowledgebase/8/Network-Speed-on-KVM-VPS---Right-Nic-card-to-use.html
https://123systems.net/billing/knowledgebase/56/My-KVM-does-not-have-1Gbps-connectivity-.html
Quote
======Network Cards======

Network Cards

Realtek
Please do not use the Realtek network card. It has a 100Mbps limit that cannot be removed. Please use the Intel Pro or Virtio options for 1Gbps connectivity.

Intel Pro/1000
Windows requires this network card. Ubuntu 12 seems to work better with it as well. FreeBSD may show errors without it. You can select it from the SolusVM CP.

Virtio
We recommend that you use the Virtio network card on any OS other than Windows, FreeBSD, and Ubuntu.

My Ncard was intel .i changed network card to virtio and reinstall os and problem solved!