大网数据广告活动
服务器运维问答

VMware ESXi - assign IP to Windows vm

· 52CE 我爱测

I have a VMware ESXi 6.0 server and I uploaded a Windows 7 vm on it. I can't make internet working, I bought some IPs and they sent me this email (I don't even understand French very well): Si vous utilisez ce bloc dans une baie …

问题原文

原帖链接 · Sofia Grillo · CC BY-SA 3.0

I have a VMware ESXi 6.0 server and I uploaded a Windows 7 vm on it.

I can't make internet working, I bought some IPs and they sent me this email (I don't even understand French very well):

Si vous utilisez ce bloc dans une baie virtuelle ou dans un Cloud Dédié, il faut libérer les adresses suivantes :

IP de réseau              : xx.yy.50.160
IP de passerelle           : xx.yy.50.162 (non utilisable)
Ip de broadcast            : xx.yy.50.163

Utilisez alors le masque de sous-réseau 255.255.255.252.


Pour votre information, votre bloc a les caractéristiques suivantes :

xx.yy.50.160/30
IP de réseau      : xx.yy.50.160
IP de broadcast    : xx.yy.50.163
Ip de passerelle   : xx.yy.50.162
Netmask            : 255.255.255.252

I put the following in the Windows ipv4 settings:

IP address: xx.yy.50.160
subnet mask: 255.255.255.252
Default gateway: xx.yy.50.162

But I get the error "The combination of ip address and subnet mask is invalid", with the IP .161 it saves the settings, but the Internet doesn't work...

the DNS servers were 4.2.2.5 and 4.2.2.6, I tried to change it to the Google's ones but nothing changed.

What must I do?

已采纳解答

原帖链接 · Sofia Grillo · CC BY-SA 3.0

Fixed, I "assigned a virtual MAC to failover ip" as described here for OVH, and I put the MAC address of the VM to the .161 IP

After this, it started working...

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2017-12-17)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。