You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users-cn@cloudstack.apache.org by 张仕博 <zh...@neusoft.com> on 2014/09/24 08:22:55 UTC

答复: 答复: 答复: 高级网络中vm获取不到ip地址问题

经过测试将这个没有获取到ip的机器直接配置成router分配的ip,可以正常通信

-----邮件原件-----
发件人: Darren Tang [mailto:darrentang.dt@gmail.com] 
发送时间: 2014年9月24日 14:11
收件人: users-cn@cloudstack.apache.org
主题: Re: 答复: 答复: 高级网络中vm获取不到ip地址问题

如果你手动在虚拟机里面配置分配的IP地址,通信正常么

在 2014年9月24日 下午1:57,张仕博 <zh...@neusoft.com>写道:

> 不好意思,如下是我搭建环境的主要信息
>
> 环境是vmware的
> 两台主机,网络配置相同,第一块网卡做管理网,第四块网卡建的分布式交换机,来宾虚拟机都在分布式交换机上,并且第四块网卡连接的交换机trunk口
> 。
>
> 来宾网络有多个,对应不同的vlan,使用cloudstack的自定义网络(dhcp和dns服务)在分布式交换机上建出对应多个vlan的端口组
> 。
>
>
> 问题现象是同一个vlan内的来宾虚拟机如果碰巧和router在一个主机上,dhcp广播即可到达,如果来宾虚拟机在另外一台主机dhcp广播则不
> 能到达router,进而获取不到ip地址。
>
>
> Dhcp广播通过抓包工具已经证实确实没有广播到另外的那台主机上,是不是可以肯定问题原因一定处在交换机上呢?
>
>
>
>
> -----邮件原件-----
> 发件人: Darren Tang [mailto:darrentang.dt@gmail.com]
> 发送时间: 2014年9月24日 13:33
> 收件人: users-cn@cloudstack.apache.org
> 主题: Re: 答复: 高级网络中vm获取不到ip地址问题
>
> 麻烦你提供详细点的信息。
>
> 两台主机几块网卡,都是怎么配置的,区域中管理,存储,来宾,公共流量是怎么定义的。交换机是怎么配置的。网段,vlan都是怎么配置的。。等等
> 你得先把环境描述清楚,才方便大家帮你解决问题。
>
> dhcp获取ip地址共分为4个步骤,其中前3个步骤(请求,回应,确定) 是广播的。
> 一般而言,vlan可以隔离广播域和冲突域,如果只是在一台主机中有效,那问题还应该在网络层面。
>
> 在 2014年9月24日 下午1:22,张仕博 <zh...@neusoft.com>写道:
>
> > 有没有网络方面的高手给仔细分析下
> >
> > 该问题已经确认到dhcp广播报文没能跨主机广播,仅仅在一台主机内收到广播,而交换机上又没有配置什么针对dhcp的配置,有没有网络方面的高
> > 手帮
> > 忙分析分析,交换机是H3C
> > 5510三层交换机设备
> >
> >
> >
> > -----邮件原件-----
> > 发件人: 张仕博 [mailto:zhangshb@neusoft.com]
> > 发送时间: 2014年9月23日 17:47
> > 收件人: 'users-cn@cloudstack.apache.org'
> > 主题: 答复: 高级网络中vm获取不到ip地址问题
> >
> > 我通过如下方式测试了一下网络连通性
> > 在主机A(没有router的那台)新建一台虚拟机,给这个虚拟机配置静态IP,用的就是就是同一个来宾ip段内的ip
> > 通过这个机器ping主机B(有router的那台)上同段的机器可以ping通
> >
> >
> > -----邮件原件-----
> > 发件人: Darren Tang [mailto:darrentang.dt@gmail.com]
> > 发送时间: 2014年9月23日 17:35
> > 收件人: users-cn@cloudstack.apache.org
> > 主题: Re: 高级网络中vm获取不到ip地址问题
> >
> > 没得说,来宾网络有问题,重点检查物理网络,vlan,trunk等等配置。
> > 虚拟机和vr在一台机器上能获取ip,不再同一台机器上就不能获取。  现象已经很明显了。
> > 各主机之间的同一个来宾网络不通。
> >
> > 2014-09-23 13:39 GMT+08:00 张仕博 <zh...@neusoft.com>:
> >
> > > Vmware环境中两台主机A和B,router在主机B上,新建虚拟机如果在主机B上,则可以
> > > dhcp获取ip地址,但是如果新建虚拟机分到了主机A上,则分不到ip地址,使用的网络
> > > 是分布式交换机网络,虚拟机A和B都与router在同一个网络内。
> > > 经测试,网络连通性应该没有问题,已通过其他虚拟机测试过与router、与主机的连通
> > > 性,
> > >
> > > 哪位高手给支个招如何排查?
> > >
> > > ------------------------------------------------------------------
> > > --
> > > --
> > > ----------------------------- Confidentiality Notice: The 
> > > information contained in this e-mail and any accompanying
> > > attachment(s) is intended only for the use of the intended 
> > > recipient and may be confidential and/or privileged of Neusoft 
> > > Corporation, its subsidiaries and/or its affiliates. If any reader 
> > > of this communication is not the intended recipient, unauthorized 
> > > use, forwarding, printing, storing, disclosure or copying is 
> > > strictly prohibited, and may be unlawful.If you have received this 
> > > communication in error,please immediately notify the sender by 
> > > return e-mail, and delete the original message and all copies from 
> > > your system. Thank you.
> > >
> > > ------------------------------------------------------------------
> > > --
> > > --
> > > -----------------------------
> > >
> >
> > --------------------------------------------------------------------
> > --
> > ----------------------------- Confidentiality Notice: The 
> > information contained in this e-mail and any accompanying 
> > attachment(s) is intended only for the use of the intended recipient 
> > and may be confidential and/or privileged of Neusoft Corporation, 
> > its subsidiaries and/or its affiliates. If any reader of this 
> > communication is not the intended recipient, unauthorized use, 
> > forwarding, printing, storing, disclosure or copying is strictly 
> > prohibited, and may be unlawful.If you have received this 
> > communication in error,please immediately notify the sender by 
> > return e-mail, and delete the original message and all copies from 
> > your system. Thank you.
> >
> > --------------------------------------------------------------------
> > --
> > -----------------------------
> >
>
> ----------------------------------------------------------------------
> ----------------------------- Confidentiality Notice: The information 
> contained in this e-mail and any accompanying attachment(s) is 
> intended only for the use of the intended recipient and may be 
> confidential and/or privileged of Neusoft Corporation, its 
> subsidiaries and/or its affiliates. If any reader of this 
> communication is not the intended recipient, unauthorized use, 
> forwarding, printing, storing, disclosure or copying is strictly 
> prohibited, and may be unlawful.If you have received this 
> communication in error,please immediately notify the sender by return 
> e-mail, and delete the original message and all copies from your 
> system. Thank you.
>
> ----------------------------------------------------------------------
> -----------------------------
>
---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this communication in error,please 
immediately notify the sender by return e-mail, and delete the original message and all copies from 
your system. Thank you. 
---------------------------------------------------------------------------------------------------

回复: 答复: 回复: 答复: 答复: 答复: 高级网络中vm获取不到ip地址问题

Posted by 上帝是个好导演 <25...@qq.com>.
各位:
       我有台center 是4.0.2使用的nfs存储,nfs故障存储挂掉之后,我在center把存储启用维护模式,存储修复之后,我在关闭维护模式的时候出现这个错误
‍


请各位大侠帮忙一下啊,万分感谢。


------------------ 原始邮件 ------------------
发件人: "HellCat";<qs...@qq.com>;
发送时间: 2014年9月30日(星期二) 上午9:02
收件人: "users-cn"<us...@cloudstack.apache.org>; 

主题: Re: 答复: 回复: 答复: 答复: 答复: 高级网络中vm获取不到ip地址问题



VMware的用标准交换机,分布交换机复杂点,最新的版本才刚刚支持吧

xenserver我也遇到过类似情况,通过xencenter查看,在非VR所在的主机上没有对应的网络,不知怎么回事,我就用了个笨办法,在CS里面把VM往所有xenserver上迁移依次,然后就都有网络了,一切正常,我知道这样做不好,但是临时解决了 :)




------------------ Original ------------------
From:  "张仕博";<zh...@neusoft.com>;
Date:  Tue, Sep 30, 2014 08:55 AM
To:  "users-cn"<us...@cloudstack.apache.org>; 

Subject:  答复: 回复: 答复: 答复: 答复: 高级网络中vm获取不到ip地址问题



问题依旧

 

 

发件人: 青山依旧 [mailto:diejia@foxmail.com] 
发送时间: 2014年9月30日 8:08
收件人: users-cn
主题: 回复: 答复: 答复: 答复: 高级网络中vm获取不到ip地址问题

 

 请问大家该问题找到原因没有,我在XenServer集群中也遇到该问题了
简单环境描述:
CloudStack4.3.0 + 一个集群3台xenserver6.2(同一台物理机上的3台虚拟
XenServer)
网络配置manager+Public+Guest
目前,VR 在xenserver-02上,存在于XenServer-02上的VM是可以DHCP到IP地址,但是
使用同一网络的存在于XenServer-03上的VM却DHCP不到IP。
下图是,报错信息


 

------------------ 原始邮件 ------------------

发件人: "Darren Tang";<darrentang.dt@gmail.com
<ma...@gmail.com> >;

发送时间: 2014年9月24日(星期三) 下午3:21

收件人: "users-cn"<users-cn@cloudstack.apache.org
<ma...@cloudstack.apache.org> >; 

主题: Re: 答复: 答复: 答复: 高级网络中vm获取不到ip地址问题

 

分布式交换机这个相对来说复杂点,这样沟通太慢,如果可以,加我qq吧。
ak_qq:1770098846

在 2014年9月24日 下午2:22,张仕博 <zhangshb@neusoft.com
<ma...@neusoft.com> >写道:

> 经过测试将这个没有获取到ip的机器直接配置成router分配的ip,可以正常通信
>
> -----邮件原件-----
> 发件人: Darren Tang [mailto:darrentang.dt@gmail.com]
> 发送时间: 2014年9月24日 14:11
> 收件人: users-cn@cloudstack.apache.org <mailto:users-cn@cloudstack.apache.
org> 
> 主题: Re: 答复: 答复: 高级网络中vm获取不到ip地址问题
>
> 如果你手动在虚拟机里面配置分配的IP地址,通信正常么
>
> 在 2014年9月24日 下午1:57,张仕博 <zhangshb@neusoft.com
<ma...@neusoft.com> >写道:
>
> > 不好意思,如下是我搭建环境的主要信息
> >
> > 环境是vmware的
> > 两台主机,网络配置相同,第一块网卡做管理网,第四块网卡建的分布式交换机,
来宾虚拟机都在分布式交换机上,并且第四块网卡连接的交换机trunk口
> > 。
> >
> > 来宾网络有多个,对应不同的vlan,使用cloudstack的自定义网络(dhcp和dns服
务)在分布式交换机上建出对应多个vlan的端口组
> > 。
> >
> >
> > 问题现象是同一个vlan内的来宾虚拟机如果碰巧和router在一个主机上,dhcp广播
即可到达,如果来宾虚拟机在另外一台主机dhcp广播则不
> > 能到达router,进而获取不到ip地址。
> >
> >
> > Dhcp广播通过抓包工具已经证实确实没有广播到另外的那台主机上,是不是可以肯
定问题原因一定处在交换机上呢?
> >
> >
> >
> >
> > -----邮件原件-----
> > 发件人: Darren Tang [mailto:darrentang.dt@gmail.com]
> > 发送时间: 2014年9月24日 13:33
> > 收件人: users-cn@cloudstack.apache.org
<ma...@cloudstack.apache.org> 
> > 主题: Re: 答复: 高级网络中vm获取不到ip地址问题
> >
> > 麻烦你提供详细点的信息。
> >
> > 两台主机几块网卡,都是怎么配置的,区域中管理,存储,来宾,公共流量是怎么
定义的。交换机是怎么配置的。网段,vlan都是怎么配置的。。等等
> > 你得先把环境描述清楚,才方便大家帮你解决问题。
> >
> > dhcp获取ip地址共分为4个步骤,其中前3个步骤(请求,回应,确定) 是广播
的。
> > 一般而言,vlan可以隔离广播域和冲突域,如果只是在一台主机中有效,那问题还
应该在网络层面。
> >
> > 在 2014年9月24日 下午1:22,张仕博 <zhangshb@neusoft.com
<ma...@neusoft.com> >写道:
> >
> > > 有没有网络方面的高手给仔细分析下
> > >
> > > 该问题已经确认到dhcp广播报文没能跨主机广播,仅仅在一台主机内收到广播,
而交换机上又没有配置什么针对dhcp的配置,有没有网络方面的高
> > > 手帮
> > > 忙分析分析,交换机是H3C
> > > 5510三层交换机设备
> > >
> > >
> > >
> > > -----邮件原件-----
> > > 发件人: 张仕博 [mailto:zhangshb@neusoft.com]
> > > 发送时间: 2014年9月23日 17:47
> > > 收件人: 'users-cn@cloudstack.apache.org'
> > > 主题: 答复: 高级网络中vm获取不到ip地址问题
> > >
> > > 我通过如下方式测试了一下网络连通性
> > > 在主机A(没有router的那台)新建一台虚拟机,给这个虚拟机配置静态IP,用
的就是就是同一个来宾ip段内的ip
> > > 通过这个机器ping主机B(有router的那台)上同段的机器可以ping通
> > >
> > >
> > > -----邮件原件-----
> > > 发件人: Darren Tang [mailto:darrentang.dt@gmail.com]
> > > 发送时间: 2014年9月23日 17:35
> > > 收件人: users-cn@cloudstack.apache.org
<ma...@cloudstack.apache.org> 
> > > 主题: Re: 高级网络中vm获取不到ip地址问题
> > >
> > > 没得说,来宾网络有问题,重点检查物理网络,vlan,trunk等等配置。
> > > 虚拟机和vr在一台机器上能获取ip,不再同一台机器上就不能获取。  现象已经
很明显了。
> > > 各主机之间的同一个来宾网络不通。
> > >
> > > 2014-09-23 13:39 GMT+08:00 张仕博 <zhangshb@neusoft.com
<ma...@neusoft.com> >:
> > >
> > > > Vmware环境中两台主机A和B,router在主机B上,新建虚拟机如果在主机B上,
则可以
> > > > dhcp获取ip地址,但是如果新建虚拟机分到了主机A上,则分不到ip地址,使
用的网络
> > > > 是分布式交换机网络,虚拟机A和B都与router在同一个网络内。
> > > > 经测试,网络连通性应该没有问题,已通过其他虚拟机测试过与router、与主
机的连通
> > > > 性,
> > > >
> > > > 哪位高手给支个招如何排查?
> > > >
> > > > ------------------------------------------------------------------
> > > > --
> > > > --
> > > > ----------------------------- Confidentiality Notice: The
> > > > information contained in this e-mail and any accompanying
> > > > attachment(s) is intended only for the use of the intended
> > > > recipient and may be confidential and/or privileged of Neusoft
> > > > Corporation, its subsidiaries and/or its affiliates. If any reader
> > > > of this communication is not the intended recipient, unauthorized
> > > > use, forwarding, printing, storing, disclosure or copying is
> > > > strictly prohibited, and may be unlawful.If you have received this
> > > > communication in error,please immediately notify the sender by
> > > > return e-mail, and delete the original message and all copies from
> > > > your system. Thank you.
> > > >
> > > > ------------------------------------------------------------------
> > > > --
> > > > --
> > > > -----------------------------
> > > >
> > >
> > > --------------------------------------------------------------------
> > > --
> > > ----------------------------- Confidentiality Notice: The
> > > information contained in this e-mail and any accompanying
> > > attachment(s) is intended only for the use of the intended recipient
> > > and may be confidential and/or privileged of Neusoft Corporation,
> > > its subsidiaries and/or its affiliates. If any reader of this
> > > communication is not the intended recipient, unauthorized use,
> > > forwarding, printing, storing, disclosure or copying is strictly
> > > prohibited, and may be unlawful.If you have received this
> > > communication in error,please immediately notify the sender by
> > > return e-mail, and delete the original message and all copies from
> > > your system. Thank you.
> > >
> > > --------------------------------------------------------------------
> > > --
> > > -----------------------------
> > >
> >
> > ----------------------------------------------------------------------
> > ----------------------------- Confidentiality Notice: The information
> > contained in this e-mail and any accompanying attachment(s) is
> > intended only for the use of the intended recipient and may be
> > confidential and/or privileged of Neusoft Corporation, its
> > subsidiaries and/or its affiliates. If any reader of this
> > communication is not the intended recipient, unauthorized use,
> > forwarding, printing, storing, disclosure or copying is strictly
> > prohibited, and may be unlawful.If you have received this
> > communication in error,please immediately notify the sender by return
> > e-mail, and delete the original message and all copies from your
> > system. Thank you.
> >
> > ----------------------------------------------------------------------
> > -----------------------------
> >
>
>
----------------------------------------------------------------------------
-----------------------
> Confidentiality Notice: The information contained in this e-mail and any
> accompanying attachment(s)
> is intended only for the use of the intended recipient and may be
> confidential and/or privileged of
> Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader
> of this communication is
> not the intended recipient, unauthorized use, forwarding, printing,
> storing, disclosure or copying
> is strictly prohibited, and may be unlawful.If you have received this
> communication in error,please
> immediately notify the sender by return e-mail, and delete the original
> message and all copies from
> your system. Thank you.
>
>
----------------------------------------------------------------------------
-----------------------
>

---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this communication in error,please 
immediately notify the sender by return e-mail, and delete the original message and all copies from 
your system. Thank you. 
---------------------------------------------------------------------------------------------------

Re: 答复: 回复: 答复: 答复: 答复: 高级网络中vm获取不到ip地址问题

Posted by HellCat <qs...@qq.com>.
VMware的用标准交换机,分布交换机复杂点,最新的版本才刚刚支持吧

xenserver我也遇到过类似情况,通过xencenter查看,在非VR所在的主机上没有对应的网络,不知怎么回事,我就用了个笨办法,在CS里面把VM往所有xenserver上迁移依次,然后就都有网络了,一切正常,我知道这样做不好,但是临时解决了 :)




------------------ Original ------------------
From:  "张仕博";<zh...@neusoft.com>;
Date:  Tue, Sep 30, 2014 08:55 AM
To:  "users-cn"<us...@cloudstack.apache.org>; 

Subject:  答复: 回复: 答复: 答复: 答复: 高级网络中vm获取不到ip地址问题



问题依旧

 

 

发件人: 青山依旧 [mailto:diejia@foxmail.com] 
发送时间: 2014年9月30日 8:08
收件人: users-cn
主题: 回复: 答复: 答复: 答复: 高级网络中vm获取不到ip地址问题

 

 请问大家该问题找到原因没有,我在XenServer集群中也遇到该问题了
简单环境描述:
CloudStack4.3.0 + 一个集群3台xenserver6.2(同一台物理机上的3台虚拟
XenServer)
网络配置manager+Public+Guest
目前,VR 在xenserver-02上,存在于XenServer-02上的VM是可以DHCP到IP地址,但是
使用同一网络的存在于XenServer-03上的VM却DHCP不到IP。
下图是,报错信息


 

------------------ 原始邮件 ------------------

发件人: "Darren Tang";<darrentang.dt@gmail.com
<ma...@gmail.com> >;

发送时间: 2014年9月24日(星期三) 下午3:21

收件人: "users-cn"<users-cn@cloudstack.apache.org
<ma...@cloudstack.apache.org> >; 

主题: Re: 答复: 答复: 答复: 高级网络中vm获取不到ip地址问题

 

分布式交换机这个相对来说复杂点,这样沟通太慢,如果可以,加我qq吧。
ak_qq:1770098846

在 2014年9月24日 下午2:22,张仕博 <zhangshb@neusoft.com
<ma...@neusoft.com> >写道:

> 经过测试将这个没有获取到ip的机器直接配置成router分配的ip,可以正常通信
>
> -----邮件原件-----
> 发件人: Darren Tang [mailto:darrentang.dt@gmail.com]
> 发送时间: 2014年9月24日 14:11
> 收件人: users-cn@cloudstack.apache.org <mailto:users-cn@cloudstack.apache.
org> 
> 主题: Re: 答复: 答复: 高级网络中vm获取不到ip地址问题
>
> 如果你手动在虚拟机里面配置分配的IP地址,通信正常么
>
> 在 2014年9月24日 下午1:57,张仕博 <zhangshb@neusoft.com
<ma...@neusoft.com> >写道:
>
> > 不好意思,如下是我搭建环境的主要信息
> >
> > 环境是vmware的
> > 两台主机,网络配置相同,第一块网卡做管理网,第四块网卡建的分布式交换机,
来宾虚拟机都在分布式交换机上,并且第四块网卡连接的交换机trunk口
> > 。
> >
> > 来宾网络有多个,对应不同的vlan,使用cloudstack的自定义网络(dhcp和dns服
务)在分布式交换机上建出对应多个vlan的端口组
> > 。
> >
> >
> > 问题现象是同一个vlan内的来宾虚拟机如果碰巧和router在一个主机上,dhcp广播
即可到达,如果来宾虚拟机在另外一台主机dhcp广播则不
> > 能到达router,进而获取不到ip地址。
> >
> >
> > Dhcp广播通过抓包工具已经证实确实没有广播到另外的那台主机上,是不是可以肯
定问题原因一定处在交换机上呢?
> >
> >
> >
> >
> > -----邮件原件-----
> > 发件人: Darren Tang [mailto:darrentang.dt@gmail.com]
> > 发送时间: 2014年9月24日 13:33
> > 收件人: users-cn@cloudstack.apache.org
<ma...@cloudstack.apache.org> 
> > 主题: Re: 答复: 高级网络中vm获取不到ip地址问题
> >
> > 麻烦你提供详细点的信息。
> >
> > 两台主机几块网卡,都是怎么配置的,区域中管理,存储,来宾,公共流量是怎么
定义的。交换机是怎么配置的。网段,vlan都是怎么配置的。。等等
> > 你得先把环境描述清楚,才方便大家帮你解决问题。
> >
> > dhcp获取ip地址共分为4个步骤,其中前3个步骤(请求,回应,确定) 是广播
的。
> > 一般而言,vlan可以隔离广播域和冲突域,如果只是在一台主机中有效,那问题还
应该在网络层面。
> >
> > 在 2014年9月24日 下午1:22,张仕博 <zhangshb@neusoft.com
<ma...@neusoft.com> >写道:
> >
> > > 有没有网络方面的高手给仔细分析下
> > >
> > > 该问题已经确认到dhcp广播报文没能跨主机广播,仅仅在一台主机内收到广播,
而交换机上又没有配置什么针对dhcp的配置,有没有网络方面的高
> > > 手帮
> > > 忙分析分析,交换机是H3C
> > > 5510三层交换机设备
> > >
> > >
> > >
> > > -----邮件原件-----
> > > 发件人: 张仕博 [mailto:zhangshb@neusoft.com]
> > > 发送时间: 2014年9月23日 17:47
> > > 收件人: 'users-cn@cloudstack.apache.org'
> > > 主题: 答复: 高级网络中vm获取不到ip地址问题
> > >
> > > 我通过如下方式测试了一下网络连通性
> > > 在主机A(没有router的那台)新建一台虚拟机,给这个虚拟机配置静态IP,用
的就是就是同一个来宾ip段内的ip
> > > 通过这个机器ping主机B(有router的那台)上同段的机器可以ping通
> > >
> > >
> > > -----邮件原件-----
> > > 发件人: Darren Tang [mailto:darrentang.dt@gmail.com]
> > > 发送时间: 2014年9月23日 17:35
> > > 收件人: users-cn@cloudstack.apache.org
<ma...@cloudstack.apache.org> 
> > > 主题: Re: 高级网络中vm获取不到ip地址问题
> > >
> > > 没得说,来宾网络有问题,重点检查物理网络,vlan,trunk等等配置。
> > > 虚拟机和vr在一台机器上能获取ip,不再同一台机器上就不能获取。  现象已经
很明显了。
> > > 各主机之间的同一个来宾网络不通。
> > >
> > > 2014-09-23 13:39 GMT+08:00 张仕博 <zhangshb@neusoft.com
<ma...@neusoft.com> >:
> > >
> > > > Vmware环境中两台主机A和B,router在主机B上,新建虚拟机如果在主机B上,
则可以
> > > > dhcp获取ip地址,但是如果新建虚拟机分到了主机A上,则分不到ip地址,使
用的网络
> > > > 是分布式交换机网络,虚拟机A和B都与router在同一个网络内。
> > > > 经测试,网络连通性应该没有问题,已通过其他虚拟机测试过与router、与主
机的连通
> > > > 性,
> > > >
> > > > 哪位高手给支个招如何排查?
> > > >
> > > > ------------------------------------------------------------------
> > > > --
> > > > --
> > > > ----------------------------- Confidentiality Notice: The
> > > > information contained in this e-mail and any accompanying
> > > > attachment(s) is intended only for the use of the intended
> > > > recipient and may be confidential and/or privileged of Neusoft
> > > > Corporation, its subsidiaries and/or its affiliates. If any reader
> > > > of this communication is not the intended recipient, unauthorized
> > > > use, forwarding, printing, storing, disclosure or copying is
> > > > strictly prohibited, and may be unlawful.If you have received this
> > > > communication in error,please immediately notify the sender by
> > > > return e-mail, and delete the original message and all copies from
> > > > your system. Thank you.
> > > >
> > > > ------------------------------------------------------------------
> > > > --
> > > > --
> > > > -----------------------------
> > > >
> > >
> > > --------------------------------------------------------------------
> > > --
> > > ----------------------------- Confidentiality Notice: The
> > > information contained in this e-mail and any accompanying
> > > attachment(s) is intended only for the use of the intended recipient
> > > and may be confidential and/or privileged of Neusoft Corporation,
> > > its subsidiaries and/or its affiliates. If any reader of this
> > > communication is not the intended recipient, unauthorized use,
> > > forwarding, printing, storing, disclosure or copying is strictly
> > > prohibited, and may be unlawful.If you have received this
> > > communication in error,please immediately notify the sender by
> > > return e-mail, and delete the original message and all copies from
> > > your system. Thank you.
> > >
> > > --------------------------------------------------------------------
> > > --
> > > -----------------------------
> > >
> >
> > ----------------------------------------------------------------------
> > ----------------------------- Confidentiality Notice: The information
> > contained in this e-mail and any accompanying attachment(s) is
> > intended only for the use of the intended recipient and may be
> > confidential and/or privileged of Neusoft Corporation, its
> > subsidiaries and/or its affiliates. If any reader of this
> > communication is not the intended recipient, unauthorized use,
> > forwarding, printing, storing, disclosure or copying is strictly
> > prohibited, and may be unlawful.If you have received this
> > communication in error,please immediately notify the sender by return
> > e-mail, and delete the original message and all copies from your
> > system. Thank you.
> >
> > ----------------------------------------------------------------------
> > -----------------------------
> >
>
>
----------------------------------------------------------------------------
-----------------------
> Confidentiality Notice: The information contained in this e-mail and any
> accompanying attachment(s)
> is intended only for the use of the intended recipient and may be
> confidential and/or privileged of
> Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader
> of this communication is
> not the intended recipient, unauthorized use, forwarding, printing,
> storing, disclosure or copying
> is strictly prohibited, and may be unlawful.If you have received this
> communication in error,please
> immediately notify the sender by return e-mail, and delete the original
> message and all copies from
> your system. Thank you.
>
>
----------------------------------------------------------------------------
-----------------------
>

---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this communication in error,please 
immediately notify the sender by return e-mail, and delete the original message and all copies from 
your system. Thank you. 
---------------------------------------------------------------------------------------------------

答复: 回复: 答复: 答复: 答复: 高级网络中vm获取不到ip地址问题

Posted by 张仕博 <zh...@neusoft.com>.
问题依旧

 

 

发件人: 青山依旧 [mailto:diejia@foxmail.com] 
发送时间: 2014年9月30日 8:08
收件人: users-cn
主题: 回复: 答复: 答复: 答复: 高级网络中vm获取不到ip地址问题

 

 请问大家该问题找到原因没有,我在XenServer集群中也遇到该问题了
简单环境描述:
CloudStack4.3.0 + 一个集群3台xenserver6.2(同一台物理机上的3台虚拟
XenServer)
网络配置manager+Public+Guest
目前,VR 在xenserver-02上,存在于XenServer-02上的VM是可以DHCP到IP地址,但是
使用同一网络的存在于XenServer-03上的VM却DHCP不到IP。
下图是,报错信息


 

------------------ 原始邮件 ------------------

发件人: "Darren Tang";<darrentang.dt@gmail.com
<ma...@gmail.com> >;

发送时间: 2014年9月24日(星期三) 下午3:21

收件人: "users-cn"<users-cn@cloudstack.apache.org
<ma...@cloudstack.apache.org> >; 

主题: Re: 答复: 答复: 答复: 高级网络中vm获取不到ip地址问题

 

分布式交换机这个相对来说复杂点,这样沟通太慢,如果可以,加我qq吧。
ak_qq:1770098846

在 2014年9月24日 下午2:22,张仕博 <zhangshb@neusoft.com
<ma...@neusoft.com> >写道:

> 经过测试将这个没有获取到ip的机器直接配置成router分配的ip,可以正常通信
>
> -----邮件原件-----
> 发件人: Darren Tang [mailto:darrentang.dt@gmail.com]
> 发送时间: 2014年9月24日 14:11
> 收件人: users-cn@cloudstack.apache.org <mailto:users-cn@cloudstack.apache.
org> 
> 主题: Re: 答复: 答复: 高级网络中vm获取不到ip地址问题
>
> 如果你手动在虚拟机里面配置分配的IP地址,通信正常么
>
> 在 2014年9月24日 下午1:57,张仕博 <zhangshb@neusoft.com
<ma...@neusoft.com> >写道:
>
> > 不好意思,如下是我搭建环境的主要信息
> >
> > 环境是vmware的
> > 两台主机,网络配置相同,第一块网卡做管理网,第四块网卡建的分布式交换机,
来宾虚拟机都在分布式交换机上,并且第四块网卡连接的交换机trunk口
> > 。
> >
> > 来宾网络有多个,对应不同的vlan,使用cloudstack的自定义网络(dhcp和dns服
务)在分布式交换机上建出对应多个vlan的端口组
> > 。
> >
> >
> > 问题现象是同一个vlan内的来宾虚拟机如果碰巧和router在一个主机上,dhcp广播
即可到达,如果来宾虚拟机在另外一台主机dhcp广播则不
> > 能到达router,进而获取不到ip地址。
> >
> >
> > Dhcp广播通过抓包工具已经证实确实没有广播到另外的那台主机上,是不是可以肯
定问题原因一定处在交换机上呢?
> >
> >
> >
> >
> > -----邮件原件-----
> > 发件人: Darren Tang [mailto:darrentang.dt@gmail.com]
> > 发送时间: 2014年9月24日 13:33
> > 收件人: users-cn@cloudstack.apache.org
<ma...@cloudstack.apache.org> 
> > 主题: Re: 答复: 高级网络中vm获取不到ip地址问题
> >
> > 麻烦你提供详细点的信息。
> >
> > 两台主机几块网卡,都是怎么配置的,区域中管理,存储,来宾,公共流量是怎么
定义的。交换机是怎么配置的。网段,vlan都是怎么配置的。。等等
> > 你得先把环境描述清楚,才方便大家帮你解决问题。
> >
> > dhcp获取ip地址共分为4个步骤,其中前3个步骤(请求,回应,确定) 是广播
的。
> > 一般而言,vlan可以隔离广播域和冲突域,如果只是在一台主机中有效,那问题还
应该在网络层面。
> >
> > 在 2014年9月24日 下午1:22,张仕博 <zhangshb@neusoft.com
<ma...@neusoft.com> >写道:
> >
> > > 有没有网络方面的高手给仔细分析下
> > >
> > > 该问题已经确认到dhcp广播报文没能跨主机广播,仅仅在一台主机内收到广播,
而交换机上又没有配置什么针对dhcp的配置,有没有网络方面的高
> > > 手帮
> > > 忙分析分析,交换机是H3C
> > > 5510三层交换机设备
> > >
> > >
> > >
> > > -----邮件原件-----
> > > 发件人: 张仕博 [mailto:zhangshb@neusoft.com]
> > > 发送时间: 2014年9月23日 17:47
> > > 收件人: 'users-cn@cloudstack.apache.org'
> > > 主题: 答复: 高级网络中vm获取不到ip地址问题
> > >
> > > 我通过如下方式测试了一下网络连通性
> > > 在主机A(没有router的那台)新建一台虚拟机,给这个虚拟机配置静态IP,用
的就是就是同一个来宾ip段内的ip
> > > 通过这个机器ping主机B(有router的那台)上同段的机器可以ping通
> > >
> > >
> > > -----邮件原件-----
> > > 发件人: Darren Tang [mailto:darrentang.dt@gmail.com]
> > > 发送时间: 2014年9月23日 17:35
> > > 收件人: users-cn@cloudstack.apache.org
<ma...@cloudstack.apache.org> 
> > > 主题: Re: 高级网络中vm获取不到ip地址问题
> > >
> > > 没得说,来宾网络有问题,重点检查物理网络,vlan,trunk等等配置。
> > > 虚拟机和vr在一台机器上能获取ip,不再同一台机器上就不能获取。  现象已经
很明显了。
> > > 各主机之间的同一个来宾网络不通。
> > >
> > > 2014-09-23 13:39 GMT+08:00 张仕博 <zhangshb@neusoft.com
<ma...@neusoft.com> >:
> > >
> > > > Vmware环境中两台主机A和B,router在主机B上,新建虚拟机如果在主机B上,
则可以
> > > > dhcp获取ip地址,但是如果新建虚拟机分到了主机A上,则分不到ip地址,使
用的网络
> > > > 是分布式交换机网络,虚拟机A和B都与router在同一个网络内。
> > > > 经测试,网络连通性应该没有问题,已通过其他虚拟机测试过与router、与主
机的连通
> > > > 性,
> > > >
> > > > 哪位高手给支个招如何排查?
> > > >
> > > > ------------------------------------------------------------------
> > > > --
> > > > --
> > > > ----------------------------- Confidentiality Notice: The
> > > > information contained in this e-mail and any accompanying
> > > > attachment(s) is intended only for the use of the intended
> > > > recipient and may be confidential and/or privileged of Neusoft
> > > > Corporation, its subsidiaries and/or its affiliates. If any reader
> > > > of this communication is not the intended recipient, unauthorized
> > > > use, forwarding, printing, storing, disclosure or copying is
> > > > strictly prohibited, and may be unlawful.If you have received this
> > > > communication in error,please immediately notify the sender by
> > > > return e-mail, and delete the original message and all copies from
> > > > your system. Thank you.
> > > >
> > > > ------------------------------------------------------------------
> > > > --
> > > > --
> > > > -----------------------------
> > > >
> > >
> > > --------------------------------------------------------------------
> > > --
> > > ----------------------------- Confidentiality Notice: The
> > > information contained in this e-mail and any accompanying
> > > attachment(s) is intended only for the use of the intended recipient
> > > and may be confidential and/or privileged of Neusoft Corporation,
> > > its subsidiaries and/or its affiliates. If any reader of this
> > > communication is not the intended recipient, unauthorized use,
> > > forwarding, printing, storing, disclosure or copying is strictly
> > > prohibited, and may be unlawful.If you have received this
> > > communication in error,please immediately notify the sender by
> > > return e-mail, and delete the original message and all copies from
> > > your system. Thank you.
> > >
> > > --------------------------------------------------------------------
> > > --
> > > -----------------------------
> > >
> >
> > ----------------------------------------------------------------------
> > ----------------------------- Confidentiality Notice: The information
> > contained in this e-mail and any accompanying attachment(s) is
> > intended only for the use of the intended recipient and may be
> > confidential and/or privileged of Neusoft Corporation, its
> > subsidiaries and/or its affiliates. If any reader of this
> > communication is not the intended recipient, unauthorized use,
> > forwarding, printing, storing, disclosure or copying is strictly
> > prohibited, and may be unlawful.If you have received this
> > communication in error,please immediately notify the sender by return
> > e-mail, and delete the original message and all copies from your
> > system. Thank you.
> >
> > ----------------------------------------------------------------------
> > -----------------------------
> >
>
>
----------------------------------------------------------------------------
-----------------------
> Confidentiality Notice: The information contained in this e-mail and any
> accompanying attachment(s)
> is intended only for the use of the intended recipient and may be
> confidential and/or privileged of
> Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader
> of this communication is
> not the intended recipient, unauthorized use, forwarding, printing,
> storing, disclosure or copying
> is strictly prohibited, and may be unlawful.If you have received this
> communication in error,please
> immediately notify the sender by return e-mail, and delete the original
> message and all copies from
> your system. Thank you.
>
>
----------------------------------------------------------------------------
-----------------------
>

---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this communication in error,please 
immediately notify the sender by return e-mail, and delete the original message and all copies from 
your system. Thank you. 
---------------------------------------------------------------------------------------------------

回复: 答复: 答复: 答复: 高级网络中vm获取不到ip地址问题

Posted by 青山依旧 <di...@foxmail.com>.
请问大家该问题找到原因没有,我在XenServer集群中也遇到该问题了
简单环境描述:
CloudStack4.3.0 + 一个集群3台xenserver6.2(同一台物理机上的3台虚拟XenServer)
网络配置manager+Public+Guest
目前,VR 在xenserver-02上,存在于XenServer-02上的VM是可以DHCP到IP地址,但是使用同一网络的存在于XenServer-03上的VM却DHCP不到IP。
下图是,报错信息



------------------ 原始邮件 ------------------
发件人: "Darren Tang";<da...@gmail.com>;
发送时间: 2014年9月24日(星期三) 下午3:21
收件人: "users-cn"<us...@cloudstack.apache.org>; 

主题: Re: 答复: 答复: 答复: 高级网络中vm获取不到ip地址问题



分布式交换机这个相对来说复杂点,这样沟通太慢,如果可以,加我qq吧。ak_qq:1770098846

在 2014年9月24日 下午2:22,张仕博 <zh...@neusoft.com>写道:

> 经过测试将这个没有获取到ip的机器直接配置成router分配的ip,可以正常通信
>
> -----邮件原件-----
> 发件人: Darren Tang [mailto:darrentang.dt@gmail.com]
> 发送时间: 2014年9月24日 14:11
> 收件人: users-cn@cloudstack.apache.org
> 主题: Re: 答复: 答复: 高级网络中vm获取不到ip地址问题
>
> 如果你手动在虚拟机里面配置分配的IP地址,通信正常么
>
> 在 2014年9月24日 下午1:57,张仕博 <zh...@neusoft.com>写道:
>
> > 不好意思,如下是我搭建环境的主要信息
> >
> > 环境是vmware的
> > 两台主机,网络配置相同,第一块网卡做管理网,第四块网卡建的分布式交换机,来宾虚拟机都在分布式交换机上,并且第四块网卡连接的交换机trunk口
> > 。
> >
> > 来宾网络有多个,对应不同的vlan,使用cloudstack的自定义网络(dhcp和dns服务)在分布式交换机上建出对应多个vlan的端口组
> > 。
> >
> >
> > 问题现象是同一个vlan内的来宾虚拟机如果碰巧和router在一个主机上,dhcp广播即可到达,如果来宾虚拟机在另外一台主机dhcp广播则不
> > 能到达router,进而获取不到ip地址。
> >
> >
> > Dhcp广播通过抓包工具已经证实确实没有广播到另外的那台主机上,是不是可以肯定问题原因一定处在交换机上呢?
> >
> >
> >
> >
> > -----邮件原件-----
> > 发件人: Darren Tang [mailto:darrentang.dt@gmail.com]
> > 发送时间: 2014年9月24日 13:33
> > 收件人: users-cn@cloudstack.apache.org
> > 主题: Re: 答复: 高级网络中vm获取不到ip地址问题
> >
> > 麻烦你提供详细点的信息。
> >
> > 两台主机几块网卡,都是怎么配置的,区域中管理,存储,来宾,公共流量是怎么定义的。交换机是怎么配置的。网段,vlan都是怎么配置的。。等等
> > 你得先把环境描述清楚,才方便大家帮你解决问题。
> >
> > dhcp获取ip地址共分为4个步骤,其中前3个步骤(请求,回应,确定) 是广播的。
> > 一般而言,vlan可以隔离广播域和冲突域,如果只是在一台主机中有效,那问题还应该在网络层面。
> >
> > 在 2014年9月24日 下午1:22,张仕博 <zh...@neusoft.com>写道:
> >
> > > 有没有网络方面的高手给仔细分析下
> > >
> > > 该问题已经确认到dhcp广播报文没能跨主机广播,仅仅在一台主机内收到广播,而交换机上又没有配置什么针对dhcp的配置,有没有网络方面的高
> > > 手帮
> > > 忙分析分析,交换机是H3C
> > > 5510三层交换机设备
> > >
> > >
> > >
> > > -----邮件原件-----
> > > 发件人: 张仕博 [mailto:zhangshb@neusoft.com]
> > > 发送时间: 2014年9月23日 17:47
> > > 收件人: 'users-cn@cloudstack.apache.org'
> > > 主题: 答复: 高级网络中vm获取不到ip地址问题
> > >
> > > 我通过如下方式测试了一下网络连通性
> > > 在主机A(没有router的那台)新建一台虚拟机,给这个虚拟机配置静态IP,用的就是就是同一个来宾ip段内的ip
> > > 通过这个机器ping主机B(有router的那台)上同段的机器可以ping通
> > >
> > >
> > > -----邮件原件-----
> > > 发件人: Darren Tang [mailto:darrentang.dt@gmail.com]
> > > 发送时间: 2014年9月23日 17:35
> > > 收件人: users-cn@cloudstack.apache.org
> > > 主题: Re: 高级网络中vm获取不到ip地址问题
> > >
> > > 没得说,来宾网络有问题,重点检查物理网络,vlan,trunk等等配置。
> > > 虚拟机和vr在一台机器上能获取ip,不再同一台机器上就不能获取。  现象已经很明显了。
> > > 各主机之间的同一个来宾网络不通。
> > >
> > > 2014-09-23 13:39 GMT+08:00 张仕博 <zh...@neusoft.com>:
> > >
> > > > Vmware环境中两台主机A和B,router在主机B上,新建虚拟机如果在主机B上,则可以
> > > > dhcp获取ip地址,但是如果新建虚拟机分到了主机A上,则分不到ip地址,使用的网络
> > > > 是分布式交换机网络,虚拟机A和B都与router在同一个网络内。
> > > > 经测试,网络连通性应该没有问题,已通过其他虚拟机测试过与router、与主机的连通
> > > > 性,
> > > >
> > > > 哪位高手给支个招如何排查?
> > > >
> > > > ------------------------------------------------------------------
> > > > --
> > > > --
> > > > ----------------------------- Confidentiality Notice: The
> > > > information contained in this e-mail and any accompanying
> > > > attachment(s) is intended only for the use of the intended
> > > > recipient and may be confidential and/or privileged of Neusoft
> > > > Corporation, its subsidiaries and/or its affiliates. If any reader
> > > > of this communication is not the intended recipient, unauthorized
> > > > use, forwarding, printing, storing, disclosure or copying is
> > > > strictly prohibited, and may be unlawful.If you have received this
> > > > communication in error,please immediately notify the sender by
> > > > return e-mail, and delete the original message and all copies from
> > > > your system. Thank you.
> > > >
> > > > ------------------------------------------------------------------
> > > > --
> > > > --
> > > > -----------------------------
> > > >
> > >
> > > --------------------------------------------------------------------
> > > --
> > > ----------------------------- Confidentiality Notice: The
> > > information contained in this e-mail and any accompanying
> > > attachment(s) is intended only for the use of the intended recipient
> > > and may be confidential and/or privileged of Neusoft Corporation,
> > > its subsidiaries and/or its affiliates. If any reader of this
> > > communication is not the intended recipient, unauthorized use,
> > > forwarding, printing, storing, disclosure or copying is strictly
> > > prohibited, and may be unlawful.If you have received this
> > > communication in error,please immediately notify the sender by
> > > return e-mail, and delete the original message and all copies from
> > > your system. Thank you.
> > >
> > > --------------------------------------------------------------------
> > > --
> > > -----------------------------
> > >
> >
> > ----------------------------------------------------------------------
> > ----------------------------- Confidentiality Notice: The information
> > contained in this e-mail and any accompanying attachment(s) is
> > intended only for the use of the intended recipient and may be
> > confidential and/or privileged of Neusoft Corporation, its
> > subsidiaries and/or its affiliates. If any reader of this
> > communication is not the intended recipient, unauthorized use,
> > forwarding, printing, storing, disclosure or copying is strictly
> > prohibited, and may be unlawful.If you have received this
> > communication in error,please immediately notify the sender by return
> > e-mail, and delete the original message and all copies from your
> > system. Thank you.
> >
> > ----------------------------------------------------------------------
> > -----------------------------
> >
>
> ---------------------------------------------------------------------------------------------------
> Confidentiality Notice: The information contained in this e-mail and any
> accompanying attachment(s)
> is intended only for the use of the intended recipient and may be
> confidential and/or privileged of
> Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader
> of this communication is
> not the intended recipient, unauthorized use, forwarding, printing,
> storing, disclosure or copying
> is strictly prohibited, and may be unlawful.If you have received this
> communication in error,please
> immediately notify the sender by return e-mail, and delete the original
> message and all copies from
> your system. Thank you.
>
> ---------------------------------------------------------------------------------------------------
>

Re: 答复: 答复: 答复: 高级网络中vm获取不到ip地址问题

Posted by Darren Tang <da...@gmail.com>.
分布式交换机这个相对来说复杂点,这样沟通太慢,如果可以,加我qq吧。ak_qq:1770098846

在 2014年9月24日 下午2:22,张仕博 <zh...@neusoft.com>写道:

> 经过测试将这个没有获取到ip的机器直接配置成router分配的ip,可以正常通信
>
> -----邮件原件-----
> 发件人: Darren Tang [mailto:darrentang.dt@gmail.com]
> 发送时间: 2014年9月24日 14:11
> 收件人: users-cn@cloudstack.apache.org
> 主题: Re: 答复: 答复: 高级网络中vm获取不到ip地址问题
>
> 如果你手动在虚拟机里面配置分配的IP地址,通信正常么
>
> 在 2014年9月24日 下午1:57,张仕博 <zh...@neusoft.com>写道:
>
> > 不好意思,如下是我搭建环境的主要信息
> >
> > 环境是vmware的
> > 两台主机,网络配置相同,第一块网卡做管理网,第四块网卡建的分布式交换机,来宾虚拟机都在分布式交换机上,并且第四块网卡连接的交换机trunk口
> > 。
> >
> > 来宾网络有多个,对应不同的vlan,使用cloudstack的自定义网络(dhcp和dns服务)在分布式交换机上建出对应多个vlan的端口组
> > 。
> >
> >
> > 问题现象是同一个vlan内的来宾虚拟机如果碰巧和router在一个主机上,dhcp广播即可到达,如果来宾虚拟机在另外一台主机dhcp广播则不
> > 能到达router,进而获取不到ip地址。
> >
> >
> > Dhcp广播通过抓包工具已经证实确实没有广播到另外的那台主机上,是不是可以肯定问题原因一定处在交换机上呢?
> >
> >
> >
> >
> > -----邮件原件-----
> > 发件人: Darren Tang [mailto:darrentang.dt@gmail.com]
> > 发送时间: 2014年9月24日 13:33
> > 收件人: users-cn@cloudstack.apache.org
> > 主题: Re: 答复: 高级网络中vm获取不到ip地址问题
> >
> > 麻烦你提供详细点的信息。
> >
> > 两台主机几块网卡,都是怎么配置的,区域中管理,存储,来宾,公共流量是怎么定义的。交换机是怎么配置的。网段,vlan都是怎么配置的。。等等
> > 你得先把环境描述清楚,才方便大家帮你解决问题。
> >
> > dhcp获取ip地址共分为4个步骤,其中前3个步骤(请求,回应,确定) 是广播的。
> > 一般而言,vlan可以隔离广播域和冲突域,如果只是在一台主机中有效,那问题还应该在网络层面。
> >
> > 在 2014年9月24日 下午1:22,张仕博 <zh...@neusoft.com>写道:
> >
> > > 有没有网络方面的高手给仔细分析下
> > >
> > > 该问题已经确认到dhcp广播报文没能跨主机广播,仅仅在一台主机内收到广播,而交换机上又没有配置什么针对dhcp的配置,有没有网络方面的高
> > > 手帮
> > > 忙分析分析,交换机是H3C
> > > 5510三层交换机设备
> > >
> > >
> > >
> > > -----邮件原件-----
> > > 发件人: 张仕博 [mailto:zhangshb@neusoft.com]
> > > 发送时间: 2014年9月23日 17:47
> > > 收件人: 'users-cn@cloudstack.apache.org'
> > > 主题: 答复: 高级网络中vm获取不到ip地址问题
> > >
> > > 我通过如下方式测试了一下网络连通性
> > > 在主机A(没有router的那台)新建一台虚拟机,给这个虚拟机配置静态IP,用的就是就是同一个来宾ip段内的ip
> > > 通过这个机器ping主机B(有router的那台)上同段的机器可以ping通
> > >
> > >
> > > -----邮件原件-----
> > > 发件人: Darren Tang [mailto:darrentang.dt@gmail.com]
> > > 发送时间: 2014年9月23日 17:35
> > > 收件人: users-cn@cloudstack.apache.org
> > > 主题: Re: 高级网络中vm获取不到ip地址问题
> > >
> > > 没得说,来宾网络有问题,重点检查物理网络,vlan,trunk等等配置。
> > > 虚拟机和vr在一台机器上能获取ip,不再同一台机器上就不能获取。  现象已经很明显了。
> > > 各主机之间的同一个来宾网络不通。
> > >
> > > 2014-09-23 13:39 GMT+08:00 张仕博 <zh...@neusoft.com>:
> > >
> > > > Vmware环境中两台主机A和B,router在主机B上,新建虚拟机如果在主机B上,则可以
> > > > dhcp获取ip地址,但是如果新建虚拟机分到了主机A上,则分不到ip地址,使用的网络
> > > > 是分布式交换机网络,虚拟机A和B都与router在同一个网络内。
> > > > 经测试,网络连通性应该没有问题,已通过其他虚拟机测试过与router、与主机的连通
> > > > 性,
> > > >
> > > > 哪位高手给支个招如何排查?
> > > >
> > > > ------------------------------------------------------------------
> > > > --
> > > > --
> > > > ----------------------------- Confidentiality Notice: The
> > > > information contained in this e-mail and any accompanying
> > > > attachment(s) is intended only for the use of the intended
> > > > recipient and may be confidential and/or privileged of Neusoft
> > > > Corporation, its subsidiaries and/or its affiliates. If any reader
> > > > of this communication is not the intended recipient, unauthorized
> > > > use, forwarding, printing, storing, disclosure or copying is
> > > > strictly prohibited, and may be unlawful.If you have received this
> > > > communication in error,please immediately notify the sender by
> > > > return e-mail, and delete the original message and all copies from
> > > > your system. Thank you.
> > > >
> > > > ------------------------------------------------------------------
> > > > --
> > > > --
> > > > -----------------------------
> > > >
> > >
> > > --------------------------------------------------------------------
> > > --
> > > ----------------------------- Confidentiality Notice: The
> > > information contained in this e-mail and any accompanying
> > > attachment(s) is intended only for the use of the intended recipient
> > > and may be confidential and/or privileged of Neusoft Corporation,
> > > its subsidiaries and/or its affiliates. If any reader of this
> > > communication is not the intended recipient, unauthorized use,
> > > forwarding, printing, storing, disclosure or copying is strictly
> > > prohibited, and may be unlawful.If you have received this
> > > communication in error,please immediately notify the sender by
> > > return e-mail, and delete the original message and all copies from
> > > your system. Thank you.
> > >
> > > --------------------------------------------------------------------
> > > --
> > > -----------------------------
> > >
> >
> > ----------------------------------------------------------------------
> > ----------------------------- Confidentiality Notice: The information
> > contained in this e-mail and any accompanying attachment(s) is
> > intended only for the use of the intended recipient and may be
> > confidential and/or privileged of Neusoft Corporation, its
> > subsidiaries and/or its affiliates. If any reader of this
> > communication is not the intended recipient, unauthorized use,
> > forwarding, printing, storing, disclosure or copying is strictly
> > prohibited, and may be unlawful.If you have received this
> > communication in error,please immediately notify the sender by return
> > e-mail, and delete the original message and all copies from your
> > system. Thank you.
> >
> > ----------------------------------------------------------------------
> > -----------------------------
> >
>
> ---------------------------------------------------------------------------------------------------
> Confidentiality Notice: The information contained in this e-mail and any
> accompanying attachment(s)
> is intended only for the use of the intended recipient and may be
> confidential and/or privileged of
> Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader
> of this communication is
> not the intended recipient, unauthorized use, forwarding, printing,
> storing, disclosure or copying
> is strictly prohibited, and may be unlawful.If you have received this
> communication in error,please
> immediately notify the sender by return e-mail, and delete the original
> message and all copies from
> your system. Thank you.
>
> ---------------------------------------------------------------------------------------------------
>