Ask Your Question

Revision history [back]

Have you set the public network to use an external gateway?

neutron subnet-create --name public_subnet --enable_dhcp=False --allocation-pool=start=192.168.122.10,end=192.168.122.20 --gateway=192.168.122.1 public 192.168.122.0/24
neutron router-gateway-set router1 public

worked for me (where "public" is the public network). The key line is using router-gateway-set with the network name instead of router-interface-add with the subnet name.

If this doesn't work, you should use tcpdump on the hypervisor node to check which interfaces are seeing your DHCP traffic and which ones aren't - tcpdump -i with various interfaces (br_int, br_ex, eth0, qrouter-[ID], etc) - you can find interface names with ifconfig and ovs-brctl.