Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

static ip in neutron virtual subnet

Hi. I'm using neutron in havana release with a dedicated network node and a subset of agents (metadata, dhcp, l3 and openvswitch). All works well, from horizon I create a virtual subnet (50.0.1.0/24) with a dhcp server (50.0.1.2) and an allocation pool (from 50.0.1.100 to 50.0.1.200). So when I launch an instance, automatically it has a dinamyc ip, but how can I set a static ip in this subnet for a vm? If I change /etc/network/interfaces (in an ubuntu vm) with a static ip (50.0.1.5), I lost connectivity with the vm and I cannot find any error log. Is there some canonical way (eg: metadata) to set a static ip for the vm ? Can I do this from horizon? Thanks