栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

关于VMware环境中Duplicate IP的问题

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

关于VMware环境中Duplicate IP的问题

一、问题描述

在vmware环境中,经常会遇到vc或NSX报出Duplicate IP的问题,导致vm和edeg的网络问题,排查定位困难,今天我们就来看下如何处理这种重复IP的网络冲突问题。

二、案例分析处理 案例 1

问题:A duplicate IP address is detected for a vmknic interface configuration. This impacts IPv4 and IPv6.
If 192.168.3.1 is the IP address used by the remote interface 00:50:56:76:b9:ae, the following event will be seen when this very same IP address is being assigned to the local vmknic interface vmk2.
Duplicate IP address detected for 192.168.3.1 on interface vmk2, current owner being 00:50:56:76:b9:ae
影响:任何依赖于错误配置接口的服务都可能受到 IP 网络连接问题的影响。

分析处理:使用 esxcfg-vmknic配置正确的ip地址或配置为DHCP获取,即配置业务网卡IP地址池(但有时环境为管理发布,多用静态地址)

案例 2

问题:

分析处理:net-stats -l | grep edge //查看exci vmnic接口的edge关联情况,示例如下:

33554440 5 9 DvsPortset-0 00:50:56:89:b0:d5 edge1.eth0 - This edge interface has IP address 10.1.1.10
50331658 5 9 DvsPortset-1 00:50:56:89:09:f8 edge1.eth2 - This edge interface has IP address 192.168.1.12/24
50331659 5 9 DvsPortset-1 00:50:56:89:ab:49 edge1.eth1 - This edge interface has IP address 192.168.1.13/24

如果我们执行数据包捕获或查看物理安全日志,我们会看到包含以下内容的数据包:
source mac as: 00:50:56:8949 - Mac address from edge node eth1
source IP address as: 192.168.1.12 - IP address from edge node eth2

处理:检查VMKNiCS 的ip地址,确保唯一性。edge执行同步,消除流量缓存影响,同步后正常edge上的重复IP警告会消除。

案例3:

故障描述:
The system has detected a conflict for IP address
There is an IP address conflict with another system on the network
The static IP address that was just configured is already in use on the network. Please reconfigure a different IP address
The IP address XXX.XXX.XXX.XXX you have entered for this network adapter is already assigned to another adapter

处理:
移除并重新添加虚拟 NIC ;

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/361233.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号