From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f176.google.com (mail-pf0-f176.google.com [209.85.192.176]) by dpdk.org (Postfix) with ESMTP id 1CA332B96 for ; Tue, 5 Sep 2017 18:23:41 +0200 (CEST) Received: by mail-pf0-f176.google.com with SMTP id m1so8614432pfk.1 for ; Tue, 05 Sep 2017 09:23:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=wQItjLruhTEDJo40qTUuvJ7U6Ct6dKBs/mJdIOyB2sQ=; b=n/h8PjU2C6ivK/aLwryziie3gFQGPoTikkdAkn7nnSDeeVLbivJnU8ApBAYXzmNQ8u dbtOJ2UbsWpBbDG5nDyoI0rc3iRRwr5ud522S94nArCtqS2HayU0e7z5cLxtEt/n4q7/ qX/fSp/nSEUeSaAzGcpuEs8/NsmzZUOjFOH184B/sazEddwSLZtM9TM7FnsrHAZ7XRtK AHErkQJTQNt4uD6cZmslH8n/sGq+Ey6y4H7O0U4nhhjnKoPMLjyYA+3Fleb0KmDyOfYG /sbX0JbQhPvYRzS4lXjbCqIEGZycezNCSLzFO62KJzZCSSAyD3dl3LyOJQL0bGAScH3z Pjsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=wQItjLruhTEDJo40qTUuvJ7U6Ct6dKBs/mJdIOyB2sQ=; b=f2yWLbXui4jdyEkDPwHKstmBHUsPZfHdQ1TlLoIc4C4zQCY6z5cRLAkCrWpbh3+Qjp 0vt9ABp0uYcoXje2iK2x7MxcGKWWYCKEAy9VZGEm4wQU5nCLgwmNqiV+bsK6l44CgcHv iR40b9wiB7CU1+Ywx/wV4uBtKg121lug87Ik66ZXwPnAGP9RWGeo4ilqE8lGqoEJhZZn 1hjgHn8Q5oRTRKka3NCA4WUaXPtfkMcdxrK/4LcWBFMtXMZ9H+VzePn46k/VpzigqfOW RkrhxO8x0fsVstFKg2P36SBi6/iIWx1W2tPMbrhyZHK8jXVorylPleegsczhN3XjSN42 ti0g== X-Gm-Message-State: AHPjjUhjZTETVeKzSIl/jOYjS12EEbPhg10f0ZZ9VHbp3aQEqDMhkiyz 3W6l+WfHVo6+Gk3w X-Google-Smtp-Source: ADKCNb6jWmWXnQ2R7Add2SlxKWYqU92Sr43GjVm0rh+Qbs+0OqK9ZnUVNp3bQZPIBwALEqLQKm+oUQ== X-Received: by 10.84.134.131 with SMTP id 3mr4959454plh.330.1504628620834; Tue, 05 Sep 2017 09:23:40 -0700 (PDT) Received: from xeon-e3 (76-14-207-240.or.wavecable.com. [76.14.207.240]) by smtp.gmail.com with ESMTPSA id r16sm1947886pfk.178.2017.09.05.09.23.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 05 Sep 2017 09:23:40 -0700 (PDT) Date: Tue, 5 Sep 2017 09:23:33 -0700 From: Stephen Hemminger To: Sagar Singha Cc: users@dpdk.org Message-ID: <20170905092333.67f9bb3b@xeon-e3> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 16:23:42 -0000 On Tue, 5 Sep 2017 11:56:36 +0530 Sagar Singha wrote: > 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!! > VMWare has host side MAC address filters which would block this by default. There is some setting to allow guest to override MAC, but it has to be configured on VSphere host side.