Cloud-init configure network interface

asked 2015-06-16 07:37:58 -0600

humankind135 gravatar image

updated 2015-06-16 10:19:37 -0600

Hi There

I am trying to setup a flat network without DHCP in neutron. I have got it setup to the point where I can choose between private tenant networks and a shared flat network and if I start a vm on the shared flat network and manually configure the IP then traffic flows and all works as expected.

The problem is that I can't seem to get cloud-init to configure the nic from metadata (provided by config drive). I can see the IP details in the EC2 metadata but I cannot workout how to get cloud-init to actually use it. I cannot use DHCP as it would conflict with existing DHCP (is the office lan using MS DHCP server).

Thanks in advance for any help.

--edit: I realize what I am looking for is how to setup a provider network, still no luck on acutally doing it though

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-06-17 11:28:31 -0600

humankind135 gravatar image

Hi There

Not really a solution but a change in architecture sovled my issue. DNSMasq will only respond to mac addresses it knows so I added the flat bridge onto the network node and now the flat network gets dhcp without conflicting with the MS DHCP server.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-06-16 07:37:58 -0600

Seen: 1,811 times

Last updated: Jun 17 '15