← Back to team overview

openstack team mailing list archive

Re: Vlan or Gre on Switch

 


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@xxxxxxxxxxxx>
>To: Darragh O'Reilly <dara2002-openstack@xxxxxxxxx>; Sergey Skripnick <sskripnick@xxxxxxxxxxxx>; "openstack@xxxxxxxxxxxxxxxxxxx" <openstack@xxxxxxxxxxxxxxxxxxx> 
>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@xxxxxxxxxxxx> To: Darragh O'Reilly <dara2002-openstack@xxxxxxxxx>; Sergey Skripnick <sskripnick@xxxxxxxxxxxx>; "openstack@xxxxxxxxxxxxxxxxxxx" <openstack@xxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxx> To: Sergey Skripnick <sskripnick@xxxxxxxxxxxx>; openstack@xxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxx 
>
>
>-- 
>Regards,
>Mahardhika Gilang
>
>PT. Andalabs Technology 
>Gedung Gravira
>Jl. Cideng Barat no. 54
>Jakarta Pusat 10150
>
>HP : 0852 139 55861
>Email : mahardika.gilang@xxxxxxxxxxxx 
>
>


Follow ups

References