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 不坏阿峰 <on...@gmail.com> on 2013/07/26 10:50:47 UTC
BasiceZone模式下SSVM, 创建的实力VM都不能ping 网关
CS-mg 和kvm host在同一台OS上, 192.168.123.108
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet manual
# Public network
auto cloudbr0
iface cloudbr0 inet static
address 192.168.123.108
netmask 255.255.255.0
gateway 192.168.123.1
bridge_ports eth0
bridge_fd 5
bridge_stp off
bridge_maxwait 1
dns-nameservers 192.168.123.61 192.168.123.1
dns-domain lab.com
# Private network
auto cloudbr1
iface cloudbr1 inet manual
bridge_ports eth0
bridge_fd 5
bridge_stp off
bridge_maxwait 1
添加Zone时 使用基本网络模式
管理: KVM 流量标签 cloudbr0
提供点 网关 网络掩码 起始 IP 结束 IP
Pod1 192.168.123.1 255.255.255.0 192.168.123.200 192.168.123.239
来宾: KVM 流量标签 cloudbr0
Pod1 192.168.123.1 255.255.255.0 192.168.123.240 192.168.123.250
存储:KVM 流量标签 cloudbr0
Pod1 192.168.123.1 255.255.255.0 1(vlan) 192.168.123.108 192.168.123.150
3、简单做如下测试
(1)、看SSVM、CPVM能不能创建成功。
SSVM, CPVM 都是running。 可以通过 ssh 3922 上去
(2)、登录SSVM、CPVM系统里ping 网关,DNS,外网是否通 。
ping 网关和DNS 不通
root@s-1-VM:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.123.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.123.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2
192.168.123.0 0.0.0.0 255.255.255.0 U 0 0 0 eth3
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 192.168.123.1 0.0.0.0 UG 0 0 0 eth2
因为发现SSVM不通, 导入ISO一直也都成功;也无法下载自带的CentOS 5.5(64-bit) no GUI (KVM), 提示Unable
to resolve download.cloud.com. 我想原因是一样的, 就是SSVM的eth2
192.168.123.240(跟puclic打交道的网络不通)。
然后我就用cs-mg自身搭建http,导入成功ISO,并安装了一个实例 获取的IP是192.168.123.241,也是无法ping通过网关
192.168.123.1 、DNS和外网的。
因此就导致很多问题
(1)无法访问cs-mg 网络和外网,也就无法下载ISO和模板。
求解。