From owner-freebsd-questions@freebsd.org Fri Jun 24 17:26:52 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5D30FB80F91 for ; Fri, 24 Jun 2016 17:26:52 +0000 (UTC) (envelope-from pallav_bose@yahoo.com) Received: from nm37-vm8.bullet.mail.gq1.yahoo.com (nm37-vm8.bullet.mail.gq1.yahoo.com [98.136.217.44]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 372A5179C for ; Fri, 24 Jun 2016 17:26:51 +0000 (UTC) (envelope-from pallav_bose@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1466789064; bh=idZYPmsSmQMse7b8Jcp+swYxsUdsamaZdDZQmZvhB5M=; h=Date:From:Reply-To:To:Subject:References:From:Subject; b=JpZw84tQrufjNk376gIUAMXdkXktPoDtF8vbmNJyRK+grcGmdmWA8jIulX3NIMRlFrvomcNLIRbMilkvb4Y3IBehh8B//axi20PogDIiPGqxtbEPaztW3HSvpXedDY5A7SKPHkgnRz/ibPfC86yQIz5wu4QOUX6M9ElzqWW2dvF3UlCPOHkB+g9sBBjPvmyTRfmLQ+GU5AYiSL+hIswRQXrU6gRbIAxNCIIyJueLWAMdLDR1HJxaMqJCeyXVc461SWXzpfGuJ8UyTdphhJ/aMsQ+LBqcv9mMBNv0qTTKFwbjdW9ntDWA1DiiEw+Fdr8yPgwd/SfTFCa2BtH9OBwNdg== Received: from [127.0.0.1] by nm37.bullet.mail.gq1.yahoo.com with NNFMP; 24 Jun 2016 17:24:24 -0000 Received: from [98.137.12.189] by nm37.bullet.mail.gq1.yahoo.com with NNFMP; 24 Jun 2016 17:21:38 -0000 Received: from [98.137.12.194] by tm10.bullet.mail.gq1.yahoo.com with NNFMP; 24 Jun 2016 17:21:38 -0000 Received: from [127.0.0.1] by omp1002.mail.gq1.yahoo.com with NNFMP; 24 Jun 2016 17:21:38 -0000 X-Yahoo-Newman-Property: ymail-4 X-Yahoo-Newman-Id: 44415.68470.bm@omp1002.mail.gq1.yahoo.com X-YMail-OSG: akaDPm8VM1mvlsh2GXTTkAYt1Euh9DxHg5wiYlKT_nKhAFilTP5sD9ncJ4xsYuB .jmq3gS5_MIRztyUVWNKc74fg7GCoGhefJcGVsPa_4KwmBmObS3mcybQ6y16OcnhmExv1WWNTTHL HuU7cJekDObxRHd_qA7jlBclJrHNC6C7F29QNskndRZe3XnN7l.1CFdctpF4UnkGxHy9nBrQZB0c LUuAobm6sQBHnrf6cpL7qu3BuUUg6gzF_Pi1khCbmXghg2Ly6_oOcBIbwWdJSaK8raFSdOxOuYjm WJ_5668GoQPwu6a6v4qpnyXz0zGhukoOSoySMcoJW0UBagzMN.0d5KV14AjPtJ8J8bhxFZn3CSaz ZqMUWqPT0_.5gXkuKoFutOrXWh1HPkj3V1PZzKYOGvgxXsdKHN31TA2pfzQd7bEI.EaPZm5NEKSB br4sDeK7VS_4GeThv4LuoTpqdmRjo0ZXNyX99vP2czf_abv.JPxofAM35Nvo0FUkbRtA62IxJJaQ mBL7JXklsRIOMrX60G8WUK4o- Received: from jws10726.mail.gq1.yahoo.com by sendmailws102.mail.gq1.yahoo.com; Fri, 24 Jun 2016 17:21:37 +0000; 1466788897.543 Date: Fri, 24 Jun 2016 17:21:35 +0000 (UTC) From: Pallav Bose Reply-To: Pallav Bose To: "freebsd-questions@freebsd.org" Message-ID: <2101488521.1124742.1466788895518.JavaMail.yahoo@mail.yahoo.com> Subject: Wiring down network interfaces MIME-Version: 1.0 References: <2101488521.1124742.1466788895518.JavaMail.yahoo.ref@mail.yahoo.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jun 2016 17:26:52 -0000 Hi, How do I wire down network interfaces based on their PCI bus addresses? Exa= mple: I have the following network interfaces: # pciconf -l | grep bge bge0@pci0:8:0:0:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 class=3D0x020000= card=3D0x200314e4 chip=3D0x165f14e4 rev=3D0x00 hdr=3D0x00 bge1@pci0:8:0:1:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 class=3D0x020000= card=3D0x200314e4 chip=3D0x165f14e4 rev=3D0x00 hdr=3D0x00 bge2@pci0:10:0:0:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 class=3D0x020000 card= =3D0x200314e4 chip=3D0x165f14e4 rev=3D0x00 hdr=3D0x00 bge3@pci0:10:0:1:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 class=3D0x020000 card= =3D0x200314e4 chip=3D0x165f14e4 rev=3D0x00 hdr=3D0x00 bge4@pci0:2:0:0:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 class=3D0x020000= card=3D0x04f81028 chip=3D0x165f14e4 rev=3D0x00 hdr=3D0x00 bge5@pci0:2:0:1:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 class=3D0x020000= card=3D0x04f81028 chip=3D0x165f14e4 rev=3D0x00 hdr=3D0x00 I want the network interface at pci0:2:0:0 to be bge0 always, and the one a= t pci0:2:0:1 to be bge1 always. How should populate my /boot/device.hints f= ile? I tried following the steps mentioned=C2=A0here, but after rebooting t= he system, I ended up with bge2-7 instead (bge0 and bge1 were absent). =C2=A0Thanks,Pallav=20 Links in the message =20 | =20 Re-numbering network interfaces | |