Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932768AbcKVRgU (ORCPT ); Tue, 22 Nov 2016 12:36:20 -0500 Received: from esa8.dell-outbound.iphmx.com ([68.232.149.218]:55781 "EHLO esa8.dell-outbound.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752592AbcKVRgR (ORCPT ); Tue, 22 Nov 2016 12:36:17 -0500 DomainKey-Signature: s=smtpout; d=dell.com; c=simple; q=dns; h=Received:From:Received:X-LoopCount0:X-IronPort-AV:To:CC: Subject:Thread-Topic:Thread-Index:Date:Message-ID: References:In-Reply-To:Accept-Language:Content-Language: X-MS-Has-Attach:X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader:x-originating-ip: Content-Type:Content-Transfer-Encoding:MIME-Version: Return-Path; b=gVh+L2AoX9eUuHDOTmOSWz9Ufkf8sMVu9Be6ueNxFmRPtiPUkMfOvMye 1Upa6WcdkT/YuWfu9F40Yisek5VusG4fSVvXs4u0jaoCmmvULOVfwjDXK nE7Krp8DZdGkuGLfW6W9Lz3iTJ3Cu9RgvuJTYAnR2p54qK0fc7uS3OwDl g=; From: X-LoopCount0: from 10.170.28.39 X-IronPort-AV: E=Sophos;i="5.31,533,1473138000"; d="scan'208";a="38339422" To: , CC: , , , , , , , , , , , , , Subject: RE: [PATCH v9 0/8] thunderbolt: Introducing Thunderbolt(TM) Networking Thread-Topic: [PATCH v9 0/8] thunderbolt: Introducing Thunderbolt(TM) Networking Thread-Index: AQHSROXbClgQnXxQqkmgOcS11aKp66DlQpBA Date: Tue, 22 Nov 2016 17:36:15 +0000 Message-ID: References: <1478701208-4585-1-git-send-email-amir.jer.levy@intel.com> <20161109143632.GE6167@kw.sim.vm.gnt> <20161115105920.GH6167@kw.sim.vm.gnt> <20161118112007.GB1230@kw.sim.vm.gnt> <20161122172828.GB31492@kw.sim.vm.gnt> In-Reply-To: <20161122172828.GB31492@kw.sim.vm.gnt> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.208.87.36] Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.home.local id uAMHaP6P016057 Content-Length: 1241 Lines: 33 > Here are a couple of additional questions: > > - When the network interface is created, there is no IP address > assigned (or negotiated ?) on the Linux side. But it is done on the > MacOS side. And in the Linux kernel logs I can also read the message: > "ready for ThunderboltIP negotiation". Is there something missing or > not working on the Linux side ? What is the correct way to configure > or negotiate the IP address. For my tests I did it manually... > > - When the Linux machine is started with the Thunderbolt wire already > connected to a MacBook Pro, sometimes (but not every time) the > network interface is not created. The Thunderbolt wire needs to be > replugged. > > FWIW you get my > > Tested-by: Simon Guinot > > Simon Simon, Since I also performed testing on the previous patchset, I'll share what I did. I configured Network Manager to use the TBT interface to share an internet connection to another box. This configures a static IP address on the local Linux side and sets up routing. Network manager remembers setup this in a configuration database. When the interface goes up it will then set up a DHCP server to hand out an IP address to the other side.