From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <singha.sagar09@gmail.com>
Received: from mail-qt0-f170.google.com (mail-qt0-f170.google.com
 [209.85.216.170]) by dpdk.org (Postfix) with ESMTP id 304723254
 for <users@dpdk.org>; Tue,  5 Sep 2017 08:26:37 +0200 (CEST)
Received: by mail-qt0-f170.google.com with SMTP id m35so8838539qte.1
 for <users@dpdk.org>; Mon, 04 Sep 2017 23:26:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to;
 bh=fzbSkpiFlFG115J0bx5/w+eQReet+mmW2yWOSZAmenk=;
 b=QDthHxNAVNZyWWvFmjyo5U2yrTpSHCk7DPijruJaeeMHFZc8GS4fjmcZti9E1VwxTo
 LIRdZJPCTGEw96Mv4vh8ngBqtHu2J5P0Ezw4J0u5cK8TtsgCddd4mkzdcVCEernoTfXd
 AnVe8EmmD1TA+UFPjOsvmxxE4W3/vxm/nWnUPGgKGvRnb1f8LWMy6lNvx3eoItzb3rPA
 DQJFaptwbHBI0h8UVMullEHyIxflQJFXqKFXyv/UqaC7Dlqd+6x0cTyKm+KWuBFawkre
 H9+53/KWIEJWHNkGNgpqIF5dRZYzeXoc4IH+31w65WAoQ+LKp9VoTc60munLzphjo4dW
 1Wdg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=fzbSkpiFlFG115J0bx5/w+eQReet+mmW2yWOSZAmenk=;
 b=qQ9Sy93AM3viJf1WdDakF6/FnP3P6UMY47hPb6iqUuOgasU9Mmw6eCqUqnrTdbE2JP
 fNwx0UtOLIU2r/BeewGJ32cbu0IX6mBlVqdH824MDRDEhTE7vHyL7KhNM76IdQaAlpG+
 Af+bGkuCwDOdKNkKkdgzh8iuljJtQNxZn8PtQfVq3jGdGim60LPjC0/f6hm0vQTxrSop
 oKTD1sa1qWPgbJhZShIq/AKaOw2pyPxParldyhH0fjTHNS9XfJmDsZ8SM4zme76mJu7Q
 FQVmjkxmyC3Rtm3qUg2ODoJV6Yb16RTIfck9zAu0YxzrlEQ4gmYe6OEJxz0gp9goJrkF
 EW/A==
X-Gm-Message-State: AHPjjUiW0hpSmuQqE80te5Sp7Cr0VG7ODL75F2jFOmcQHyjXsC5kTWbi
 poiIDXToAx5g65NUJ6Fez7m7Ki2ioqMF
X-Google-Smtp-Source: ADKCNb7dtSjO2wvc01q8ISvo3+QAWWwCo8QDG/ESWavrMKdC78D25rk44cxLi7UKmCvFljuho/gKT1JTadPOKE7jcYk=
X-Received: by 10.237.55.228 with SMTP id j91mr3456636qtb.28.1504592797237;
 Mon, 04 Sep 2017 23:26:37 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.140.84.70 with HTTP; Mon, 4 Sep 2017 23:26:36 -0700 (PDT)
From: Sagar Singha <singha.sagar09@gmail.com>
Date: Tue, 5 Sep 2017 11:56:36 +0530
Message-ID: <CAKXXrHcEV7c8pROuN8aRcKSLuV3omrZwiigHT=sNUDsZzKncAg@mail.gmail.com>
To: users@dpdk.org
Content-Type: text/plain; charset="UTF-8"
X-Content-Filtered-By: Mailman/MimeDel 2.1.15
Subject: [dpdk-users] After changing Destination MAC address in dpdk packet
	not reaching to destination
X-BeenThere: users@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK 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, 05 Sep 2017 06:26:38 -0000

Hi,

I am using VMXNET3 type VM .OS distro=UBUNTU14.04.
My VM is having  4 core CPU
                             4 GB RAM

In l2fwd application in dpdk source code after receiving the packet I am
changing the Destination MAC address.

The below is my set UP:

1.Pinging from one VM having IP:10.0.102.72;MAC ADDR: 00:0c:29:f2:a7:7e

 2.One VM from where I am running dpdk l2fwd application having three
virtual interfaces: ens160(IP:10.0.102.166),
ens192(IP:10.0.102.81),ens224(10.0.102.123)
ens192 and ens224 I have binded with dpdk driver (igb_uio)

3.Another one VM to which I want send the packet by changing the MAC
address in dpdk application having IP:10.0.102.106;MAC ADDR:
00:50:56:a8:6a:d4

  The packet I can see in the dpdk application as==
  source IP:10.0.102.72
  Dest IP:10.0.102.81

Now before tx I am changing the dest mac addr for every packet  with
00:50:56:a8:6a:d4.
So Ideally It should reach to the dest.

I am running tcpdump on the destination machine but there is no packet
form 10.0.102.72
from where I am pinging.

The command I am running to run the app:
./build/app/l2fwd -c 3 -n 2 -- -p3  --no-mac-updating


Please any clue!!!Thanks in advance!!

-- 
Thanks & Regards,
Sagar Singha
Contact:7416733224
             9475209510