Ask Your Question
0

Windows 7 VM gets wrong IP on boot, renew/release works

asked 2015-01-08 16:01:39 -0500

gnychis gravatar image

updated 2015-01-08 23:11:53 -0500

I have my local internal subnet of 172.16.0.255, which is what my router will assign physical machines on my network an address from. I have setup another subnet for my OpenStack instances, here:

gnychis@src-server1:~$ nova network-list
+--------------------------------------+---------------+---------------+
| ID                                   | Label         | Cidr          |
+--------------------------------------+---------------+---------------+
| fb655e7d-7824-4134-b0dc-e105a50e9326 | soroco-os-net | 172.16.2.0/24 |

Whenever I boot a Windows 7 instance fresh, it automatically gets assigned an IP within the local internal subnet (172.16.0.255), however no traffic seems to flow to/from it (it's being filtered?). This is incorrect, it should be assigned an IP address in 172.16.2.255.

This is despite OpenStack showing it has a floating IP address of 172.16.2.2:

image description

Inspecting Wireshark traces it asks for 172.16.2.2 but it gets a NACK "wrong address" back over the network:

image description

If I open up command prompt and run ipconfig -release followed by ipconfig /renew it gets its proper IP address assigned:

image description

I can't seem to figure out how to have it assigned the proper IP address in the first place. I am using nova-network.

Here is my full nova.conf http://pastebin.com/0N5JxK6z


id      IPv4                    IPv6            start address   DNS1            DNS2            VlanID          project         uuid
5       172.16.2.0/24           None            172.16.2.2      8.8.4.4         None            None            None            fb655e7d-7824-4134-b0dc-e105a50e9326
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-01-08 19:49:31 -0500

jtaguinerd gravatar image

Check the bridge interface when you created the network in nova. Better yet why don't you share your nova.conf so people can help you check.

Cheers!

edit flag offensive delete link more

Comments

Thanks a bunch for your response. I added my complete config. I'd greatly appreciate any help

gnychis gravatar imagegnychis ( 2015-01-08 21:19:17 -0500 )edit

Can you paste the result of nova-manage network list and Is this a multi-node setup?

jtaguinerd gravatar imagejtaguinerd ( 2015-01-08 22:53:17 -0500 )edit

added it to my question! I have 2 nodes, one which is the controller and networking node, and another which is just a compute node

gnychis gravatar imagegnychis ( 2015-01-08 23:12:32 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-01-08 16:01:39 -0500

Seen: 237 times

Last updated: Jan 08 '15