• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Wrong public IP

Giuseppe

Basic Pleskian
Hello all,
I have a VPS on OVH with centos 8 and Plesk as panel.

I have a strange issue, after add 4 additional ip, when reboot also if IP on eth0 is correct (is the main uip of server/Plesk), the public ip change on one of additional ip.

OVH say that centos need a configuration for use lalways the same ip for public connection, but I not know how can I set.

In network-script folder I have the main file set as:
[root@server network-scripts]# cat ifcfg-eth0
# Created by cloud-init on instance boot automatically, do not edit.
#
BOOTPROTO=dhcp
DEFROUTE=yes
DEVICE=eth0
DHCLIENT_SET_DEFAULT_ROUTE=yes
HWADDR=fa:16:3e:ff:a4:44
IPADDR6=2001:xxxxxxx
IPV6ADDR=2001:xxxxxx
IPV6INIT=yes
IPV6_AUTOCONF=no
IPV6_DEFAULTGW= Xxxx
IPV6_FORCE_ACCEPT_RA=no
MTU=1500
ONBOOT=yes
STARTMODE=auto
TYPE=Ethernet
USERCTL=no

In dhcp acquire always the same (main ip ).

Are present also in same folder: ifcfg-ens3 ifcfg-eth0 ifcfg-eth0:1 ifcfg-eth0:2 ifcfg-eth0:3 ifcfg-eth0:4 ; in 0:1/2/3/4 are preßent the 4 additional ip; when reboot use random one of this as public ip.

Someone can help me?

Thanks
Giuseppe
 
Hello all,
I have a VPS on OVH with centos 8 and Plesk as panel.

I have a strange issue, after add 4 additional ip, when reboot also if IP on eth0 is correct (is the main uip of server/Plesk), the public ip change on one of additional ip.

OVH say that centos need a configuration for use lalways the same ip for public connection, but I not know how can I set.

In network-script folder I have the main file set as:
[root@server network-scripts]# cat ifcfg-eth0
# Created by cloud-init on instance boot automatically, do not edit.
#
BOOTPROTO=dhcp
DEFROUTE=yes
DEVICE=eth0
DHCLIENT_SET_DEFAULT_ROUTE=yes
HWADDR=fa:16:3e:ff:a4:44
IPADDR6=2001:xxxxxxx
IPV6ADDR=2001:xxxxxx
IPV6INIT=yes
IPV6_AUTOCONF=no
IPV6_DEFAULTGW= Xxxx
IPV6_FORCE_ACCEPT_RA=no
MTU=1500
ONBOOT=yes
STARTMODE=auto
TYPE=Ethernet
USERCTL=no

In dhcp acquire always the same (main ip ).

Are present also in same folder: ifcfg-ens3 ifcfg-eth0 ifcfg-eth0:1 ifcfg-eth0:2 ifcfg-eth0:3 ifcfg-eth0:4 ; in 0:1/2/3/4 are preßent the 4 additional ip; when reboot use random one of this as public ip.

Someone can help me?

Thanks
Giuseppe
got almost same issue, how did you fixed it?
 
Instead of using a DHCP IP address, change it to static so it becomes permanent:
BOOTPROTO=static

You do have to set the DNS and default gateway if you set it to static:
DNS1=xx.xx.xx.xx
DNS2=xx.xx.xx.xx
DNS3=xx.xx.xx.xx
GATEWAY=xx.xx.xx.xx
NETMASK=255.255.255.0

You can find the default gateway with this command:
# route -n

The DNS servers can be found in /etc/resolv.conf:
# cat /etc/resolv.conf

Restart the networkservice to make the new configuration active:
# systemctl restart NetworkManager.service
 
Back
Top