Ask Your Question
0

Problem loading ARP_RESPONDER with Opendaylight L3 and DevStack

asked 2015-05-27 09:27:14 -0700

ralvarep gravatar image

updated 2015-05-27 12:34:07 -0700

Hi everyone!

I am trying to integrate Opendaylight with DevStack environment. I have followed the tutorial of FlavioBlog (link ) with virtual machines (Ubuntu 14.04) started from scratch (not using Vagrant virtual machines from https://github.com/flavio-fernandes/devstack-nodes.git ).

I am using local.conf similar to controller.conf and compute.conf.

ODL is started, and L2 layer is working (I have connectivity between two nodes in the same network) and related to L3, in the flow table, I can see that ODL have installed flow rules at table=60 (routing) to intercambiate packets between two networks.

The problem is that I can't do pings between nodes from one network to nodes from other network, so L3 is not working appropriately. I have realised that in the table=20 (ARP Service) I don't have any flow rules, and analyzing the traffic with wireshark I can see that the nodes are requesting mac interface of the router that have create ODL. Having no rule installed in such table, there is no answer for arp request and I doesn't have connectivity between the networks.

Flow table from br-int is the next:

@controller:~/devstack$ sudo ovs-ofctl dump-flows br-int -O Openflow13
OFPST_FLOW reply (OF1.3) (xid=0x2):
cookie=0x0, duration=223.165s, table=0, n_packets=29, n_bytes=2030, tun_id=0x65,in_port=2 actions=load:0x2->NXM_NX_REG0[],goto_table:20
cookie=0x0, duration=187.055s, table=0, n_packets=29, n_bytes=2030, tun_id=0x66,in_port=2 actions=load:0x2->NXM_NX_REG0[],goto_table:20
cookie=0x0, duration=148.668s, table=0, n_packets=29, n_bytes=2030, in_port=4,dl_src=fa:16:3e:5f:d9:19 actions=set_field:0x65->tun_id,load:0x1->NXM_NX_REG0[],goto_table:20
cookie=0x0, duration=135.619s, table=0, n_packets=29, n_bytes=2030, in_port=5,dl_src=fa:16:3e:1b:ea:fd actions=set_field:0x66->tun_id,load:0x1->NXM_NX_REG0[],goto_table:20
cookie=0x0, duration=226.735s, table=0, n_packets=12, n_bytes=2080, in_port=1,dl_src=fa:16:3e:0b:0c:d8 actions=set_field:0x65->tun_id,load:0x1->NXM_NX_REG0[],goto_table:20
cookie=0x0, duration=190.568s, table=0, n_packets=13, n_bytes=2170, in_port=3,dl_src=fa:16:3e:49:8b:87 actions=set_field:0x66->tun_id,load:0x1->NXM_NX_REG0[],goto_table:20
cookie=0x0, duration=190.068s, table=0, n_packets=0, n_bytes=0, priority=8192,in_port=3 actions=drop
cookie=0x0, duration=135.119s, table=0, n_packets=0, n_bytes=0, priority=8192,in_port=5 actions=drop
cookie=0x0, duration=226.242s, table=0, n_packets=0, n_bytes=0, priority=8192,in_port=1 actions=drop
cookie=0x0, duration=148.167s, table=0, n_packets=0, n_bytes=0, priority=8192,in_port=4 actions=drop
cookie=0x0, duration=614.994s, table=0, n_packets=46, n_bytes=5198, dl_type=0x88cc actions=CONTROLLER:65535
cookie=0x0, duration=614.09s, table=0, n_packets=2, n_bytes=180, priority=0 actions=goto_table:20
cookie=0x0, duration=613.581s, table=20, n_packets=143, n_bytes=12550, priority=0 actions=goto_table:30
cookie=0x0, duration=13.861s, table=30, n_packets=0, n_bytes=0, priority=1024,ip,tun_id=0x66,nw_dst=10.12.0 ...
(more)
edit retag flag offensive close merge delete

Comments

I haven't been able to get around to this yet but you could take a look at this: https://www.youtube.com/watch?v=bNDXpu00cqc

Vishal Thapar ( 2015-05-28 23:00:17 -0700 )edit

Thanks again VIshal! Yes, I have seen the video. I eventually found the problem, I am goint to post it.

ralvarep ( 2015-05-30 03:19:24 -0700 )edit

@vasubabu kandimalla can you tell me how to do the L2 in open daylight thanks

vishal_sharma ( 2016-03-07 18:38:32 -0700 )edit

1 answer

Sort by ยป oldest newest most voted
2

answered 2015-05-30 03:34:56 -0700

ralvarep gravatar image

The problem was that I was using OpenvSwitch version 2.0.2, which is installed automatically from Ubuntu repositories with Ubuntu 14.04. So, in this case it is neccesary to download the most recent release (2.3.1) Download Link, and to install => OpenvSwitch Installation.

If we are working with Ubuntu 15.04, OpenvSwitch is installed with version 2.3.1, and in this case there would be no problem.

So, I suposse that with the version that I was using (2.0.2) not understand the flow entries that are sent by OpenDaylight related to table 20 (ARP Service).

edit flag offensive delete publish link more

Comments

Thanks for sharing your answer. Could you accept your answer so others searching know that this has been successfully answered?

Vishal Thapar ( 2015-05-31 23:37:27 -0700 )edit

Yes, of course! Previously I could not because I did not have enough karma.

ralvarep ( 2015-06-01 00:15:49 -0700 )edit

Hi, I do the same, but i am getting issue when launching the VM from OpenStack Dashboard Vasu.

vasubabu kandimalla ( 2015-09-16 10:38:46 -0700 )edit

Hi Ralvarep, I am bringing up ODL lithium both L2 and L3 features with Devstack master branch on ubuntu 15.04, i am using single nic interface card.but i am facing difficulty while set up, kindly help me to fix the issue. First of all can we bringup ODL_L3 feature in single nic environment?

vasubabu kandimalla ( 2015-09-16 22:06:10 -0700 )edit

Hey I also had the same problem,so as per your suggestion I upgraded my ovs to 2.3.1.The problem is after the lauch of vm, after some time flows on OVS (from table 20 to 100) gets deleted. So next time when I launch a VM a port in created on br-int with action goto table=20 which does not exist.

90.suman ( 2015-09-17 03:58:15 -0700 )edit
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2015-05-27 09:27:14 -0700

Seen: 520 times

Last updated: May 30 '15