[Openstack] 回复: 回复: Re: ConnectQuantum to VLAN-tagged physical network

zengshan2008 zengshan2008 at gmail.com
Fri May 10 03:23:23 UTC 2013


Finally,the network problem has been solved, thank you very much for all your kindness help.

2013-05-10



zengshan2008



发件人:zengshan2008
发送时间:2013-05-10 09:23
主题:回复: Re: [Openstack] ConnectQuantum to VLAN-tagged physical network
收件人:"Salvatore Orlando"<sorlando at nicira.com>,"Ashok Kumaran"<ashokkumaran.b at gmail.com>
抄送:"openstack"<openstack at lists.launchpad.net>

Hi Salvatore,
Since I am using the vlan mode according to the https://github.com/mseknibilel/OpenStack-Folsom-Install-guide/blob/master/OpenStack_Folsom_Install_Guide_WebVersion.rst
so I need to set the physical  switch (indentified by the black circle) port to trunk mode?
but My networknode didn't receive the DHCP request from the vm, what can I do?


2013-05-10



zengshan2008



发件人:Salvatore Orlando
发送时间:2013-05-09 23:08
主题:Re: [Openstack] ConnectQuantum to VLAN-tagged physical network
收件人:"Ashok Kumaran"<ashokkumaran.b at gmail.com>
抄送:"openstack"<openstack at lists.launchpad.net>

Your configuration looks correct, and provider networks are what you need for implementing this use case. 


Is the traffic for your subnets improperly tagged, or are you unable at all to forward traffic?
If you're not using GRE overlays it might make sense verifying that VLAN 108/109 are allowed on physical switch ports or that the physical switch ports are in trunk mode.




Regards,
Salvatore



On 8 May 2013 20:21, Ashok Kumaran <ashokkumaran.b at gmail.com> wrote:

Hi Angelo, 


This should be possible. Make sure that eth1 is connected to the Vlan trunk with necessary port configurations.


Create 2 network with segmentation's ID as 108 and 109 respectively. Create the respective subnets for both network and then proceed with further configurations as needed. Are you facing any specific issues here?


-Ashok



On Wed, May 8, 2013 at 9:57 PM, Angelo Olivera <aolivera at gmail.com> wrote:

Hello,
I am using Ubuntu 12.04 and OpenStack Grizzly from the Ubuntu Cloud archive. I am trying to get instances to get an IP address from dnsmasq in the 10.33.8.0/24 or 10.33.9.0/24 space and use physical routers at .1 as gateways. Furthermore, these two subnets should be tagged with VLANs 108 and 109, respectively.
Is this doable? I have been trying different configurations with Open vSwitch to no avail. My network layout is as follows:
Nodes
=====
Controller, network, compute node (32-core system)
[eth0] 10.33.10.210. gateway: 10.33.10.1 (physical router)
[eth1] connected to VLAN port on switch
Compute nodes
[eth0] 10.33.10.X
[eth1] connected to VLAN port on switch
Logical networks
============
[net1]
vlan:108
cidr: 10.33.8.0/24
gateway: 10.33.8.1 (physical router)
[net2]
vlan: 109
cidr: 10.33.9.0/24
gateway: 10.33.9.1 (physical router)
One of the configurations I tested:
/etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini
network_vlan_ranges = default:1:4094
bridge_mappings = default:br0
ovs-vsctl add-br br-int
ovs-vsctl add-br br0
ovs-vsctl add-port br0 eth1
quantum net-create --shared net1 --provider:network_type vlan --provider:physical_network default --provider:segmentation_id 108
quantum subnet-create net1 10.33.8.0/24
quantum subnet-create net2 10.33.9.0/24
Thanks in advance!
--
Angelo


_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack at lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp







-- 

Regds,

Ashok ,
Delivery Consultant,
HP.

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack at lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


More information about the Openstack mailing list