← Back to team overview

openstack team mailing list archive

Re: Laptop Demo Environment

 


what networking config have you used?
On my hypervisor virsh net-edit default show the following:

<network>
   <name>default</name>
   <uuid>d5d3dcc1-f863-9bbf-8d57-1149e361de6d</uuid>
   <forward mode='nat'/>
   <bridge name='virbr0' stp='on' delay='0' />
   <mac address='52:54:00:5C:7B:5D'/>
   <ip address='192.168.122.1' netmask='255.255.255.0'>
   </ip>
</network>

The orchestra server was also a dhcp server and ran on 192.168.122.2
The other node were all on the 192.168.122.0/24 network.

The network for the vms ip was 10.0.0.0/24

I was using flat dhcp networking. There was no need to build some bridge
manually on the compute node. It was alos working when making the bridge
manually on those nodes with the following in /etc/network/interfaces:
auto br100

iface br100 inet dhcp
     bridge_ports        eth0
     bridge_stp           off
     bridge_maxwait   0
     bridge_fd            0


The network for floating ip was 192.168.123.0/24

In order to have access to the 192.168.123.0/24 network ("public"
network for the vms), from my hypervisor, i needed to have a route to
this network using the node running nova-network as gateway
(192.168.122.103) :


sudo route add -net 192.168.123.0 netmask 255.255.255.0 gw
192.168.122.103 dev virbr0

Thanks Pierre

Lance


--
This message was scanned by Better Hosted and is believed to be clean.
http://www.betterhosted.com



References