[Openstack] Vlan or Gre on Switch

Darragh O'Reilly dara2002-openstack at yahoo.com
Wed Jun 26 13:02:35 UTC 2013


are you sure the instance is sending DHCP requests? Because if you are seeing nothing leave the compute-node, then neither direct nor via switch will work. But you say GRE worked with a direct cable. So I can't explain that, unless your new config is wrong or the switch is blocking GRE for some reason. Are you using the same IP addresses for the switch connection as you used for the direct connection? If you could post 'ovs-vsctl show' and 'ip link' from both nodes. 


>________________________________
> From: Mahardhika <mahardika.gilang at andalabs.com>
>To: Darragh O'Reilly <dara2002-openstack at yahoo.com>; "openstack at lists.launchpad.net" <openstack at lists.launchpad.net> 
>Sent: Wednesday, 26 June 2013, 13:14
>Subject: Re: [Openstack] Vlan or Gre on Switch
> 
>
>
>Nothing at all on tcpdump, do you mean crossover cable? damn i used straight ! as nowdays switch recognize it.
>On 6/26/2013 7:00 PM, Darragh O'Reilly wrote:
>
>ok time to see what is actually going on. Start tcpdump on the physical interfaces on both nodes: sudo tcpdump -n -i ethX proto GRE if the switch is blocking GRE, then you should see the DHCP request packets leave the compute node but not appear on the network node. If you see nothing at all - take off the 'proto GRE' from tcpdump. Or try again with the crossover to see how that worked. 
>>________________________________
From: Mahardhika <mahardika.gilang at andalabs.com> To: Darragh O'Reilly <dara2002-openstack at yahoo.com>; Sergey Skripnick <sskripnick at mirantis.com>; "openstack at lists.launchpad.net" <openstack at lists.launchpad.net> Sent: Wednesday, 26 June 2013, 12:39
Subject: Re: [Openstack] Vlan or Gre on Switch Yes it is, it's gre-2 and connect each other, then i restart interface on VM, but it still can't get IP from network node.
checking dnsmasq on network node is working
$ps faux | grep dnsmasq
============
 dnsmasq --no-hosts --no-resolv --strict-order --bind-interfaces 
>>      --interface=tap1a8f1ea3-54 --except-interface=lo
      --pid-file=/var/lib/quantum/dhcp/5b4619d2-198b-453a-8ab6-b1c5545edb1f/pid
      --dhcp-hostsfile=/var/lib/quantum/dhcp/5b4619d2-198b-453a-8ab6-b1c5545edb1f/host
      --dhcp-optsfile=/var/lib/quantum/dhcp/5b4619d2-198b-453a-8ab6-b1c5545edb1f/opts
      --dhcp-script=/usr/bin/quantum-dhcp-agent-dnsmasq-lease-update
      --leasefile-ro --dhcp-range=set:tag0,10.10.30.0,static,120s
      --conf-file= --domain=openstacklocal 
>>============
On 6/26/2013 5:02 PM, Darragh O'Reilly wrote: ok good, run 'ovs-vsctl show' on both nodes. There should be gre-X port on each with remote_ip that points to the other node. 
>>If not, check local_ip on both is correct and restart the OVS plugin agent - that should rebuild the tunnel endpoints. 
>>________________________________ 
>>From: Mahardhika <mahardika.gilang at andalabs.com> To: Darragh O'Reilly <dara2002-openstack at yahoo.com>; Sergey Skripnick <sskripnick at mirantis.com>; "openstack at lists.launchpad.net" <openstack at lists.launchpad.net> Sent: Wednesday, 26 June 2013, 10:44
Subject: Re: [Openstack] Vlan or Gre on Switch Sure it is, but it's on vlan configuration, i am working on tunnel now.
On 6/26/2013 3:51 PM, Darragh O'Reilly wrote: can the nodes ping each other via the switch? You will need to get that working first. 
>>________________________________ 
>>>>From: Mahardhika <mahardika.gilang at andalabs.com> To: Sergey Skripnick <sskripnick at mirantis.com>; openstack at lists.launchpad.net Sent: Wednesday, 26 June 2013, 9:04 
>>Subject: Re: [Openstack] Vlan or Gre on Switch Could you help me? i have configure like this on ovs_quantum_plugin.ini
================
[DATABASE]
sql_connection = mysql://quantum:quantum@172.16.0.51/quantum reconnect_interval = 2
[OVS]
enable_tunneling = True
tenant_network_type = gre
tunnel_id_ranges = 1:1000
local_ip = 10.10.10.53
integration_bridge = br-int
tunnel_bridge = br-tun
[AGENT]
polling_interval = 2
[SECURITYGROUP]
=================
and not work if attached to switch
networknode=========switch=========computenode when i direct connected both of node it's working (can assign ip to 
instance etc)
networknode===========computenode Thanks! On 6/26/2013 2:55 PM, Sergey Skripnick wrote: 
>>Sure you can use GRE tunnel on unmanaged switch. 
>>>>Hello, i'm new in here 
>>>>- Does vlan tagging that connected between network node and compute 
>>node need a manageable switch?
- Can i used GRE tunnel on unmanaged switch? is that possible? or 
vlan configuration on unmanage switch? so i can add more compute node. 
>>-- 
Regards, 
>>Mahardhika Gilang _______________________________________________
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
>>-- 
>>Regards,
Mahardhika Gilang PT. Andalabs Technology 
Gedung Gravira
Jl. Cideng Barat no. 54
Jakarta Pusat 10150 HP : 0852 139 55861
Email : mahardika.gilang at andalabs.com 
>>-- 
Regards,
Mahardhika Gilang PT. Andalabs Technology 
Gedung Gravira
Jl. Cideng Barat no. 54
Jakarta Pusat 10150 HP : 0852 139 55861
Email : mahardika.gilang at andalabs.com 
>
>
>-- 
>Regards,
>Mahardhika Gilang
>
>PT. Andalabs Technology 
>Gedung Gravira
>Jl. Cideng Barat no. 54
>Jakarta Pusat 10150
>
>HP : 0852 139 55861
>Email : mahardika.gilang at andalabs.com 
>
>




More information about the Openstack mailing list