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 "Mr.博" <28...@qq.com> on 2014/07/19 13:34:58 UTC

回复: cloudstack VM 与外部通信问题

Ps:guest是share模式
---原始邮件---
发件人:"我自己的邮箱"<28...@qq.com>
发送时间:2014年7月19日 星期六 下午5:10
收件人:"users-cn"<us...@cloudstack.apache.org>
主题:cloudstack VM 与外部通信问题
请教一下各位:我的cloudstack网络架构如下:HOST机IP为10.10.10.11/25,网关为10.10.10.1
Guest网络IP为172.16.10.2~253/16,网关为172.16.2.200,vlan 为10
外部PC机IP为172.16.0.0/16
HOST机和外部PC接在一个三层交换机上。
请问,交换机上要如何配置,才能实现外部PC能连通虚拟机呢

回复:Re: cloudstack VM 与外部通信问题

Posted by "Mr.博" <28...@qq.com>.
外部pc需要接在vlan10的口上吗?

---原始邮件---
发件人:"Fan Lei"<le...@gmail.com>
发送时间:2014年7月20日 星期日 上午0:18
收件人:"users-cn@cloudstack.apache.org"<us...@cloudstack.apache.org>
主题:Re: cloudstack VM 与外部通信问题
vlan 10
int vlan-interface 10
ip a 172.16.2.200 255.255.0.0
int "Guest网络连的交换机口"
port link-type trunk
port trunk permit vlan all
华为交换机的命令
在 2014年7月19日 下午7:34,Mr.博 <28...@qq.com>写道:
> Ps:guest是share模式
> ---原始邮件---
> 发件人:"我自己的邮箱"<28...@qq.com>
> 发送时间:2014年7月19日 星期六 下午5:10
> 收件人:"users-cn"<us...@cloudstack.apache.org>
> 主题:cloudstack VM 与外部通信问题
> 请教一下各位:我的cloudstack网络架构如下:HOST机IP为10.10.10.11/25,网关为10.10.10.1
> Guest网络IP为172.16.10.2~253/16,网关为172.16.2.200,vlan 为10
> 外部PC机IP为172.16.0.0/16
> HOST机和外部PC接在一个三层交换机上。
> 请问,交换机上要如何配置,才能实现外部PC能连通虚拟机呢
>

Re: cloudstack VM 与外部通信问题

Posted by Fan Lei <le...@gmail.com>.
vlan 10
int vlan-interface 10
ip a 172.16.2.200 255.255.0.0
int "Guest网络连的交换机口"
port link-type trunk
port trunk permit vlan all

华为交换机的命令


在 2014年7月19日 下午7:34,Mr.博 <28...@qq.com>写道:

> Ps:guest是share模式
> ---原始邮件---
> 发件人:"我自己的邮箱"<28...@qq.com>
> 发送时间:2014年7月19日 星期六 下午5:10
> 收件人:"users-cn"<us...@cloudstack.apache.org>
> 主题:cloudstack VM 与外部通信问题
> 请教一下各位:我的cloudstack网络架构如下:HOST机IP为10.10.10.11/25,网关为10.10.10.1
> Guest网络IP为172.16.10.2~253/16,网关为172.16.2.200,vlan 为10
> 外部PC机IP为172.16.0.0/16
> HOST机和外部PC接在一个三层交换机上。
> 请问,交换机上要如何配置,才能实现外部PC能连通虚拟机呢
>