From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <vnish11@gmail.com>
Received: from mail-ua0-f173.google.com (mail-ua0-f173.google.com
 [209.85.217.173]) by dpdk.org (Postfix) with ESMTP id 84D9A68CA
 for <users@dpdk.org>; Tue, 16 Aug 2016 20:48:51 +0200 (CEST)
Received: by mail-ua0-f173.google.com with SMTP id 74so136757272uau.0
 for <users@dpdk.org>; Tue, 16 Aug 2016 11:48:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:in-reply-to:references:from:date:message-id:subject:to
 :cc; bh=/fISNmJrKBOqrC0+wiZ99fIJgtkquw1D9IXLQeE1nTU=;
 b=ITB/0QPCQi8cCNLfdhN8rG/T03t6P/dsD3EMRICtLpsEDCJ22kc9k8e06YhMgLp01u
 PMMzPVYXtRPYrvvCyHPH4+8GhchJTeId7u6QJk3fN+ZLwVfH65gFnrZJfhB4xt6hgRLX
 8Ii5P+sePbE3pMhaDuAQ6R8WhYqEAmmZ5WnpBaqUVw74U5b8Zx53cGcUEDTAXuN5eNcZ
 fj5N8XMmnFOF1nSXuiQHYxtWJGnXvQGlc9bIao4c2rx+wRm/RpDt4GVTyGkirkuJADHB
 aeTuzZTR3BIZO/7PZvbdsMp+HXvprSAeS4z9UtCYtaUjfwMzDI/S9aBrzUc4C/PGGRVG
 OOmw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:in-reply-to:references:from:date
 :message-id:subject:to:cc;
 bh=/fISNmJrKBOqrC0+wiZ99fIJgtkquw1D9IXLQeE1nTU=;
 b=awRJYXkJa35XLh6S9gdDAg+IVCfb6oUq63Ue7dm//2hKbUMY5TNMCjU/qPd7tyIZBa
 UXM7uvBBDCs9o7Ytnm3cTEtaul0oYT9zCi5Eux3mJht3QpzBKEsbXkBNkNWMdsj/fnA8
 2b4V/jXSOVcdYJVXZM3sdtseVHS4ScsFecVWtu4M1roCqw27S/UcAjtgO+h3gNOq9QKc
 /28kP9VVvEw8V3bP7lGPSK80mOgRXV6BWVOoNLNueQAKJMN12OEZciksB9CB68aVfao0
 LNoWIwy5GrajPchY89ADwJpmxySBFyX3M59RfEwkwfGjqyFYHrjV3jasQDUQ/RZOTg3z
 7+6w==
X-Gm-Message-State: AEkoouunucLndbY48L4IPjeTBT5kxR+9jwF7wX285I7E0PLC7mlEjnsjERkNIWXs5z94eWLIfvsMHzfV6mhhPg==
X-Received: by 10.31.166.20 with SMTP id p20mr17247248vke.2.1471373331002;
 Tue, 16 Aug 2016 11:48:51 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.31.148.18 with HTTP; Tue, 16 Aug 2016 11:48:50 -0700 (PDT)
In-Reply-To: <20160816091841.1e649dee@xeon-e3>
References: <CAHhCjUFFVBfNNRJObCmCFxF7RQvo+1gxBMgs65WbTeUHzxARNQ@mail.gmail.com>
 <OFB7BD4DAE.0037F717-ON6525800C.0025A3D8-6525800C.0026B8CA@tcs.com>
 <OFE50302C9.4FDCC38B-ON65258011.0024B27E-65258011.0024B29E@tcs.com>
 <20160816091841.1e649dee@xeon-e3>
From: Nishant Verma <vnish11@gmail.com>
Date: Tue, 16 Aug 2016 14:48:50 -0400
Message-ID: <CAHhCjUFM-DcjjnDvLp8P9KYZG0d_JmSkY5Y=Aqey5f-0BrnJSQ@mail.gmail.com>
To: Raja Jayapal <raja.jayapal@tcs.com>
Cc: "users@dpdk.org" <users@dpdk.org>,
 Nagaratna Patagar <nagaratna.patagar@tcs.com>
Content-Type: text/plain; charset=UTF-8
X-Content-Filtered-By: Mailman/MimeDel 2.1.15
Subject: Re: [dpdk-users] arp behaviour on dpdk
X-BeenThere: users@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: usage discussions <users.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/users>,
 <mailto:users-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/users/>
List-Post: <mailto:users@dpdk.org>
List-Help: <mailto:users-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/users>,
 <mailto:users-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Aug 2016 18:48:51 -0000

Missing Attachment..

On Tue, Aug 16, 2016 at 12:18 PM, Stephen Hemminger <
stephen@networkplumber.org> wrote:

> On Tue, 16 Aug 2016 12:10:50 +0530
> Raja Jayapal <raja.jayapal@tcs.com> wrote:
>
> > Hi Nishant,
> >
> > Please find attachment for the pcap file.
> >
> > Thanks,
> > Raja
> >
> > -----Nishant Verma <vnish11@gmail.com> wrote: -----
> > To: Raja Jayapal <raja.jayapal@tcs.com>
> > From: Nishant Verma <vnish11@gmail.com>
> > Date: 08/13/2016 02:42AM
> > Cc: "users@dpdk.org" <users@dpdk.org>, Nagaratna Patagar <
> nagaratna.patagar@tcs.com>
> > Subject: Re: [dpdk-users] arp behaviour on dpdk
> >
> > Hi Raja,
> >
> > What i understand is that Br1(linux machine) is getting ARP request but
> not sending ARP Response?
> > If this is the case, it means either packet is not liked by Br1 hence
> dropped or some how capture is not right.
> >
> > Can you share pcap file,  captured at Br1.
> >
> >
> >
> > On Thu, Aug 11, 2016 at 3:02 AM, Raja Jayapal <raja.jayapal@tcs.com>
> wrote:
> > Hi All,
> >
> >  I am running dpdk on KVM and would like to understand the arp behaviour
> on dpdk ports.
> >  The topology is as below.
> >
> >  br0(192.168.100.10)----> vnet0 -----> dpdk(NIC1-
> e1000)------->dpdk(NIC2-e1000)------>vnet1----->br1(192.168.100.20)
> >
> >  I am sending ARP packet from br0 using PackETH tool destined to br1.
> >  I have  edited the dpdk l2fwd code in such a way that , the destination
> is broadcast address(ffff).
> >  In br1 , i can see the arp resquest, but the host bridge is not
> responding for the arp request.
> >
> >  In br1:
> >  =====
> >  tcpdump: verbose output suppressed, use -v or -vv for full protocol
> decode
> >  listening on br1, link-type EN10MB (Ethernet), capture size 65535 bytes
> >  12:21:15.459667 ARP, Request who-has 192.168.100.20 (00:0a:e7:2c:44:2b
> (oui Unknown)) tell 192.168.100.10, length 46
> >  12:21:15.651610 ARP, Request who-has 192.168.100.20 (00:0a:e7:2c:44:2b
> (oui Unknown)) tell 192.168.100.10, length 46
> >  12:21:15.867692 ARP, Request who-has 192.168.100.20 (00:0a:e7:2c:44:2b
> (oui Unknown)) tell 192.168.100.10, length 46
> >
> >  In l2fwd application example also, the arp packets are getting received
> on the adjacent ports, but the arp reply has not been sent back from br1.
> >
> >  Could you please let me know how to make the host(br1) to reply the arp
> request.
>
> The host kernel has a number of checks to prevent ARP spoofing.
> Most likely your packet is invalid by one of these checks.
> Linux ARP does not keep many statistics, so that doesn't help.
>
> Look at the arp_ignore sysctl flag and read kernel source for
> net/ipv4/arp.c function
> arp_process to see what is going on. If you are completely stuck build a
> custom
> kernel and instrument kernel with printk's there.
>



-- 
Rgds,
Nishant