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 "waydee.chen" <wa...@gmail.com> on 2013/05/04 07:18:21 UTC

CS SSVM网络不通

HI:
KVM主机网络配置:
物理网卡:ifcfg-em1  ifcfg-em2  ifcfg-em3
桥接: ifcfg-cloudbr0 ifcfg-cloudbr1  ifcfg-cloudbr2

具体设置:
more ifcfg-em1
DEVICE=em1
ONBOOT=yes
BOOTPROTO=none
HOTPLUG=no
TYPE=Ethernet
BRIDGE=cloudbr0

more ifcfg-cloudbr0
DEVICE=cloudbr0
ONBOOT=yes
TYPE=Bridge
BOOTPROTO=none
DEEROUTE=yes
DELAY=5
STP=yes
IPADDR=10.10.50.1
NETMASK=255.255.255.0
GATEWAY=10.10.50.250
DNS1=172.20.1.250

more ifcfg-em2  
DEVICE=em2
ONBOOT=yes
BOOTPROTO=none
HOTPLUG=no
TYPE=Ethernet
BRIDGE=cloudbr1

more ifcfg-cloudbr1
DEVICE=cloudbr1
ONBOOT=yes
TYPE=Bridge
BOOTPROTO=none
DELAY=5
STP=yes
IPADDR=10.10.60.1
NETMASK=255.255.255.0

KVM主机上ping 10.10.60.250
 ping 10.10.60.250
PING 10.10.60.250 (10.10.60.250) 56(84) bytes of data.
64 bytes from 10.10.60.250: icmp_seq=1 ttl=255 time=2.66 ms
64 bytes from 10.10.60.250: icmp_seq=2 ttl=255 time=0.737 ms
64 bytes from 10.10.60.250: icmp_seq=3 ttl=255 time=0.745 ms
64 bytes from 10.10.60.250: icmp_seq=4 ttl=255 time=1.19 ms

SSVM的公网IP无发ping通: 
公用 IP 地址10.10.60.210

登陆该SSVM,查看路由:
root@v-2-VM:~# route  -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
172.20.1.250    10.10.40.250    255.255.255.255 UGH   0      0        0 eth1
10.10.60.0      0.0.0.0         255.255.255.0   U     0      0        0 eth2
10.10.40.0      0.0.0.0         255.255.255.0   U     0      0        0 eth1
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth0
0.0.0.0         10.10.60.250    0.0.0.0         UG    0      0        0 eth2

到默认网关不通:
root@v-2-VM:~# ping  10.10.60.250
PING 10.10.60.250 (10.10.60.250): 56 data bytes
64 bytes from v-2-VM (10.10.60.210): Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst Data
 4  5  00 5400 0000   0 0040  40  01 c9ac 10.10.60.210  10.10.60.250 
64 bytes from v-2-VM (10.10.60.210): Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst Data
 4  5  00 5400 0000   0 0040  40  01 c9ac 10.10.60.210  10.10.60.250 

这个网络应该怎么排查??




waydee.chen