Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Answering my own question \o/

What I did was confusing and I got it right now I think.

Controller Node: eth3 - 192.168.10.200

Network Node: eth3 - 192.168.10.201

Compute Node: eth3 - 192.168.10.203

For my external net I created a subnet:

neutron subnet-create --tenant-id <blabla> --name float_subnet_1 --allocation-pool start=192.168.10.10,end=192.168.10.20 --gateway 192.168.10.1 ext_net 192.168.10.0/24 --enable_dhcp=False

On the network node the br-ex is attached to eth3. Now on the host machine, where the three VirtualBoxes are running, I created an SNAT rule:

iptables -t nat -A POSTROUTING -s 192.168.10.0/24 -j SNAT --to-source <IP of Host Machine in Lab LAN>

So the packets that come from the 192.168.10.0/24 network get the source address of the hypervisor machine. The packets run smoothly now, but I'm facing another problem. Maybe you will hear more about it in my next question. Stay tuned ;D