Vlan mode switch setting

asked 2011-05-16 10:16:56 -0500

hyunsun-moon gravatar image

Hi, I need some help to setup vlan mode deploy. For now, I could run instances from compute nodes but the instances fail to get an IP address from network node. I suspect vlan settings on the physical switch because there was no Rx packets passing vlan, only Tx packets. Here's my question.

  1. Should I create vlans used on Nova manually on the switch? Like vlan 100, every time?
  2. I read that vlan trunking must be enabled on the switch. What does it mean? Does it mean making new trunking port? Which did not work. Or should I make all used ports to trunk mode?

Please shed some lights..

edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted
0

answered 2011-05-17 06:12:45 -0500

hyunsun-moon gravatar image

Thanks Vish Ishaya, that solved my question.

edit flag offensive delete link more
0

answered 2011-07-23 20:22:26 -0500

rbabu gravatar image

What if I have couple of machines on physical environment that are already part of a VLAN and I want one of my VM's to talk to them? From the docs it seems like nova automatically assigns unused VLAN id, which in this case may not be the same as the physical VLAN

edit flag offensive delete link more
0

answered 2011-05-16 17:45:18 -0500

vishvananda gravatar image

On May 16, 2011, at 3:20 AM, Hyunsun Moon wrote:

Question #157715 on OpenStack Compute (nova) changed: https://answers.launchpad.net/nova/+q...

Description changed to: Hi, I need some help to setup vlan mode deploy. For now, I could run instances from compute nodes but the instances fail to get an IP address from network node. I suspect vlan settings on the physical switch because there was no Rx packets passing vlan, only Tx packets. Here's my question.

  1. Should I create vlans used on Nova manually on the switch? Like vlan 100, every time?

You need to set up the switch to allow trunking of all the vlans nova will use. By default this is vlan100 - vlan100 + (n -1) where n is the number of projects you want to support.

  1. I read that vlan trunking must be enabled on the switch. What does it mean? Does it mean making new trunking port? Which did not work. Or should I make all used ports to trunk mode?

All used ports need to be set up to pass traffic on the above vlans. In vlan mode, the hosts add vlan tags, so the switch has to be configured to simply pass these vlan tags along without modifying them. In general this means setting up all ports to allow trunking for each of the vlans that nova uses.

Please shed some lights..


You received this question notification because you are a member of Nova Core, which is an answer contact for OpenStack Compute (nova).

edit flag offensive delete link more
0

answered 2011-05-17 06:24:25 -0500

hyunsun-moon gravatar image

It works, finally..!

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-05-16 10:16:56 -0500

Seen: 48 times

Last updated: Jul 23 '11