From owner-freebsd-net@FreeBSD.ORG Tue Mar 24 09:00:56 2015 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A912A1E1 for ; Tue, 24 Mar 2015 09:00:56 +0000 (UTC) Received: from emea01-am1-obe.outbound.protection.outlook.com (mail-am1on0074.outbound.protection.outlook.com [157.56.112.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2709A372 for ; Tue, 24 Mar 2015 09:00:55 +0000 (UTC) Received: from AMXPR05MB0631.eurprd05.prod.outlook.com (10.242.10.153) by VI1PR05MB1118.eurprd05.prod.outlook.com (25.162.15.140) with Microsoft SMTP Server (TLS) id 15.1.118.21; Tue, 24 Mar 2015 09:00:46 +0000 Received: from AMXPR05MB0631.eurprd05.prod.outlook.com ([10.242.10.153]) by AMXPR05MB0631.eurprd05.prod.outlook.com ([10.242.10.153]) with mapi id 15.01.0118.021; Tue, 24 Mar 2015 09:00:46 +0000 From: Shani Michaeli To: "freebsd-net@freebsd.org" Subject: Does lox interfaces support looping ethernet traffic? Thread-Topic: Does lox interfaces support looping ethernet traffic? Thread-Index: AdBmD28tprLZ13Y4SuaEJU98Lu/PtA== Date: Tue, 24 Mar 2015 09:00:45 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [193.47.165.251] authentication-results: freebsd.org; dkim=none (message not signed) header.d=none; x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:VI1PR05MB1118; x-microsoft-antispam-prvs: x-forefront-antispam-report: BMV:1; SFV:NSPM; SFS:(10009020)(6009001)(164054003)(50986999)(15975445007)(2656002)(66066001)(74316001)(33656002)(86362001)(16236675004)(76576001)(46102003)(19580395003)(54356999)(19625215002)(77096005)(92566002)(40100003)(19300405004)(77156002)(110136001)(2501003)(122556002)(2900100001)(62966003)(102836002)(87936001)(2351001)(229853001)(450100001)(19609705001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR05MB1118; H:AMXPR05MB0631.eurprd05.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(5005006)(5002010); SRVR:VI1PR05MB1118; BCL:0; PCL:0; RULEID:; SRVR:VI1PR05MB1118; x-forefront-prvs: 0525BB0ADF MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Mar 2015 09:00:45.7930 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB1118 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: Hans Petter Selasky X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2015 09:00:56 -0000 Hi, I'm trying to send traffic to myself (server and client on the same machine= ) using rdma connection management. I'm failing. What I saw is that in netstat -rn all traffic with my IP destination go thr= ough lo0, and therefore the rtalloc1 function (in file route.c) returns lo0= . My problem is when using arpresolve (in file if_ether.c) afterwards, in ord= er to retrieve the MAC, the arpresolve fails for lo0 (I can see also that i= t doesn't have MAC addr). So my question is what should I do in order to be able to send traffic to m= yself using the functions rtalloc1 and arpresolve? Thanks, Shany Michaely | SW Engineer