Ask Your Question
0

Cant connect from laptop to new openstack intance via VBox

asked 2014-09-02 21:31:08 -0500

mdoakes42 gravatar image

updated 2014-09-02 21:34:07 -0500

mpetason gravatar image

I am running virtual box on my macbook pro with Centos 6.5 as the guest. I've setup Vbox with a bridged connection with my wireless card.

I installed openstack allinone using packstack with no issues. (Icehouse) I created an answers file and just made sure CONFIG_PROVISION_ALL_IN_ONE_OVS_BRIDGE=n was default. (Which it was).

I am running vbox on my home network so my IP's look like 192.168.1.x .

I set up openstack for external networking because I want to be able to connect from my laptop. Currently I can only connect from my guest centos server but not my MAC Book.
I want to be able to connect from my mac book (or any of my other servers on my home network).
Most of my networking was based on .

https://openstack.redhat.com/Neutron_... . I found many similar things online which helped as well.

I set the following in the /etc/neutron/plugin.ini (Not sure why?)

network_vlan_ranges = physnet1
bridge_mappings = physnet1:br-ex

My configurations on my centos guest server are

br-ex     Link encap:Ethernet  HWaddr 08:00:27:DA:70:D8  
          inet addr:192.168.1.200  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::e851:dfff:feb8:f587/64 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:11643829 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1959826 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:17521531120 (16.3 GiB)  TX bytes:186380289 (177.7 MiB)

br-int    Link encap:Ethernet  HWaddr 56:D2:18:1E:62:46  
          inet6 addr: fe80::d89a:3dff:fe37:b4ff/64 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:70 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:6112 (5.9 KiB)  TX bytes:468 (468.0 b)

br-tun    Link encap:Ethernet  HWaddr 9E:AD:B4:7C:44:4E  
          inet6 addr: fe80::3450:56ff:feb0:3e7e/64 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:468 (468.0 b)

eth0      Link encap:Ethernet  HWaddr 08:00:27:DA:70:D8  
          inet6 addr: fe80::a00:27ff:feda:70d8/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:11643391 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1985061 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:17521469800 (16.3 GiB)  TX bytes:188022125 (179.3 MiB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:825663 errors:0 dropped:0 overruns:0 frame:0
          TX packets:825663 errors:0 ...
(more)
edit retag flag offensive close merge delete

Comments

There are tons of questions about similar issues here. Look around 'cannot ping' or 'cannot ssh' and you'll find lots of debugging instructions.

smaffulli gravatar imagesmaffulli ( 2014-09-05 18:01:02 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-09-15 12:41:58 -0500

dguitarbite gravatar image

If your networks are bridged connections (VirtualBox Adapters) on the host side, you cannot create bridged connections from inside the VM for the external network. This may be the reason why you cannot access your OpenStack instances.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-09-02 21:26:21 -0500

Seen: 159 times

Last updated: Sep 02 '14