centos - 无法在 OVH 中向 vps 服务器添加额外的 IP

标签 centos ip vps

我正在尝试按照那里的指南向我的 OVH vps 服务器添加额外的 IP,但出现此错误。
我正在使用 cent os 6 - 64bit 使用本指南将 IP 添加到我的 vps 服务器
https://docs.ovh.com/gb/en/dedicated/network-ipaliasing/

"# ifup eth0:0
ipcalc: bad netmask: 255.255.255.255
ipcalc: bad netmask: 255.255.255.255
 is already in use for device eth0...79
/".or: an inet prefix is expected rather than "54.xx.xx.xxx
.for eth0:0g address 54.xx.xx.xxx
bind: Cannot assign requested address" 

我哪里错了?请帮忙

最佳答案

它是专用服务器还是 VPS?询问 OVH 支持是否允许在 VPS 上使用其他 IP

尝试使用 Prefix 而不是 NETMASK

关于centos - 无法在 OVH 中向 vps 服务器添加额外的 IP,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52028190/

相关文章:

shell - 右键单击同一目录上的打开终端

docker - 在 Docker 中, "Error response from daemon: could not choose an IP address to advertise since this system has multiple addresses on different interfaces"

mysql - 无法连接到 mysql 数据库 ubuntu 20.4 (VPS) "ModuleNotFoundError: No module named ' MySQLdb'"

web - 在 CentOS 中更改 apache2 httpd 的 RootDirectory

centos - Logstash 未监听 UDP 端口 5140

java - java.lang.UnsatisfiedLinkError:否GurobiJni/Tomcat

node.js - 502 : Nodejs app via Nginx proxy Ubuntu 18. 04

c - 如何在循环中增加IP地址? [C]

python - 如何从 SimpleHTTPServer 获取客户端 IP

angular - npm install 没有一个好的错误就被杀死了