Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Two networks, one is reachable, the other is not. Why?

I have created two networks under the Nova+Quantum+Openvswitch. 10.10.10.0/24 and 8.8.8.0/24, I created VM under both of the tow networks. But 10.10.10.0 network is reachable, the other is not. My configuration is as below:

1) Nova services:

nova-manage service list

2012-05-15 09:30:38 DEBUG nova.utils [req-6daf33ee-b4cb-48fd-bf9f-6e346faf3bbf None None] backend <module 'nova.db.sqlalchemy.api'="" from="" '="" usr="" lib="" python2.7="" dist-packages="" nova="" db="" sqlalchemy="" api.pyc'=""> from (pid=9555) __get_backend /usr/lib/python2.7/dist-packages/nova/utils.py:658 Binary Host Zone Status State Updated_At nova-compute cc202 nova enabled :-) 2012-05-15 01:30:29 nova-network cc202 nova enabled :-) 2012-05-15 01:30:37 nova-scheduler cc202 nova enabled :-) 2012-05-15 01:30:37 nova-consoleauth cc202 nova enabled :-) 2012-05-15 01:30:37

2) Nova networks:

nova-manage network list

id IPv4 IPv6 start address DNS1 DNS2 VlanID project uuid
2012-05-15 09:31:53 DEBUG nova.utils [req-a83b7b23-bc86-42f1-a67e-52c09951ff2e None None] backend <module 'nova.db.sqlalchemy.api'="" from="" '="" usr="" lib="" python2.7="" dist-packages="" nova="" db="" sqlalchemy="" api.pyc'=""> from (pid=9820) __get_backend /usr/lib/python2.7/dist-packages/nova/utils.py:658 10 10.10.10.0/24 None 10.10.10.2 8.8.4.4 None None None 9bfef0dc-e1d6-41fa-bf0c-4ed7db2a2f70 11 8.8.8.0/24 None 8.8.8.2 8.8.4.4 None None None 590be7b5-0d57-4a11-82ae-0bdc94dfd34c

3) VMs:

nova list

+--------------------------------------+----------------------------+--------+-------------------+ | ID | Name | Status | Networks | +--------------------------------------+----------------------------+--------+-------------------+ | 2ed0ae69-8e90-4bc0-985b-9452a1b14521 | ubuntu1204_ci_amd64 | ACTIVE | public=10.10.10.2 | | 81b0c4fe-4ab3-4897-a4d4-ad434f5b0e95 | ubuntu1204_ci_amd64_02 | ACTIVE | public=10.10.10.3 | | 8ed69dd6-c0a2-4273-93d5-fd3fd8b2d146 | ubuntu1204_ci_amd64_public | ACTIVE | public=8.8.8.2 | +--------------------------------------+----------------------------+--------+-------------------+

4) Network connectivity: root@cc202:/var/log/nova# ping 10.10.10.2 PING 10.10.10.2 (10.10.10.2) 56(84) bytes of data. 64 bytes from 10.10.10.2: icmp_req=1 ttl=64 time=0.261 ms 64 bytes from 10.10.10.2: icmp_req=2 ttl=64 time=0.328 ms 64 bytes from 10.10.10.2: icmp_req=3 ttl=64 time=0.293 ms 64 bytes from 10.10.10.2: icmp_req=4 ttl=64 time=0.292 ms

ping 8.8.8.2

PING 8.8.8.2 (8.8.8.2) 56(84) bytes of data. From 10.131.0.244 icmp_seq=1 Destination Host Unreachable From 10.131.0.244 icmp_seq=2 Destination Host Unreachable From 10.131.0.244 icmp_seq=3 Destination Host Unreachable ^C --- 8.8.8.2 ping statistics --- 6 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4999ms pipe 3

But,

ping 8.8.8.1

PING 8.8.8.1 (8.8.8.1) 56(84) bytes of data. 64 bytes from 8.8.8.1: icmp_req=1 ttl=64 time=0.055 ms 64 bytes from 8.8.8.1: icmp_req=2 ttl=64 time=0.045 ms 64 bytes from 8.8.8.1: icmp_req=3 ttl=64 time=0.045 ms ^C --- 8.8.8.1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 1998ms

I wonder how this situation happened? Thanks.