Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hello,

I have found out that below link on openstack by using nova networking with two nodes (compute and controller) can directly connect the instance to external network without using the virtual router.now its working perfectly..Thank you

http://docs.openstack.org/icehouse/install-guide/install/apt/content/section_nova-networking.html

nova network-create ext-net --bridge br100 --multi-host T \
--fixed-range-v4 172.16.200.0/29

root@leg-control:~# nova list

+--------------------------------------+-----------+--------+------------+-------------+----------------------+
| ID                                   | Name      | Status | Task State | Power State | Networks             |
+--------------------------------------+-----------+--------+------------+-------------+----------------------+
| 5564f11b-0a12-4097-945f-90aeca3e08ea | instance1 | ACTIVE | -          | Running     | ext-net=172.16.200.2 |
| 3560d1dd-17ff-4a7f-ba4a-35f3373e5e36 | instance2 | ACTIVE | -          | Running     | ext-net=172.16.200.3 |
+--------------------------------------+-----------+--------+------------+-------------+----------------------+

root@leg-control:~# ping 172.16.200.2

PING 172.16.200.2 (172.16.200.2) 56(84) bytes of data.
64 bytes from 172.16.200.2: icmp_seq=1 ttl=63 time=15.7 ms
64 bytes from 172.16.200.2: icmp_seq=2 ttl=63 time=2.41 ms
64 bytes from 172.16.200.2: icmp_seq=3 ttl=63 time=1.14 ms
64 bytes from 172.16.200.2: icmp_seq=4 ttl=63 time=1.13 ms
^C
--- 172.16.200.2 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 1.131/5.105/15.734/6.158 ms

root@leg-control:~# ssh cirros@172.16.200.2

The authenticity of host '172.16.200.2 (172.16.200.2)' can't be established.
RSA key fingerprint is 4d:4a:08:12:81:d0:18:72:84:c2:6c:35:bb:6c:8e:f1.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '172.16.200.2' (RSA) to the list of known hosts.
cirros@172.16.200.2's password: 
$