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 -

Network Node: eth3 -

Compute Node: eth3 -

For my external net I created a subnet:

neutron subnet-create --tenant-id <blabla> --name float_subnet_1 --allocation-pool start=,end= --gateway ext_net --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 -j SNAT --to-source <IP of Host Machine in Lab LAN>

So the packets that come from the 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