From owner-freebsd-net@freebsd.org Tue Mar 29 22:23:11 2016 Return-Path: Delivered-To: freebsd-net@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 60BD7AE03AB for ; Tue, 29 Mar 2016 22:23:11 +0000 (UTC) (envelope-from sodynet1@gmail.com) Received: from mail-lf0-x236.google.com (mail-lf0-x236.google.com [IPv6:2a00:1450:4010:c07::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DB3261EAC for ; Tue, 29 Mar 2016 22:23:10 +0000 (UTC) (envelope-from sodynet1@gmail.com) Received: by mail-lf0-x236.google.com with SMTP id c62so22820662lfc.1 for ; Tue, 29 Mar 2016 15:23:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=4R4fH/gKzGczVK9uLLifVifMadc0MrGlp4YhMeFaVMg=; b=vu4Ddz/gVTdm4EdEmxAj2dYz3XhpgobyRSQ1MQ8hFRA90WRQlpr8GyT8FfAjHsdhkE m+m9TxZG6sPvoq2vNFq2fmyv8uA9Mb2UaUMWSQ50WgLZgP1aYXG6QlOHdYES5EcajCDv djoL83ro3PPyd1MJ52QDF9UisZwwSLTd85qe1nSXSI3GAqaOZbiRY6ZgoUU5zrhJqdh+ QwZuD5qyDzRWGFOn9/Vu/cTKPaoYXZ15n0j6cRl1gXq7HFZRppJbMfGaTkpNBNHQ2Ka8 C+ZvYFHC4o0ryqHLomxD/YU3xbz+Z/zyTrXUP4hJfdF9YZKaosikE1jwp2yYF489LlUB uWNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=4R4fH/gKzGczVK9uLLifVifMadc0MrGlp4YhMeFaVMg=; b=l74IAvVidL9AHubdpkfCOSbxga83UOOU+sjKEHooBOiqjYLuzS8Sn3hRjbV5yu1cN4 kwfzlGBTjfeft9FgFZaoSbwyEdSdI6ifyRS9X/1CGC4J8J1jUzEuPUfweEaL6fe/ogP3 WtF7mq3c/BxHZoWkF7Qvzev7vqJvb85aLiNI/VM8ihTb8TJeTdUVyJbZkzZRVkLvkaPS FV02y+oaxsObdaMmL9jIrBGN9Tz7Oc2tPXXu+VVsf4uzocHLMlvQH3jFmptp9xN/2cau sA1268cem01wnJAxo54Yml8wJ4NW3XcMaLefQ39nNU+uGLRD4Fr0YzKYvzoJJsMcbDOm VDyw== X-Gm-Message-State: AD7BkJK4nYJeaWDy4SEtQcFt1M7S0AHEQvCsf1EEc9H3LjzI85OAAGsPhy0xcfHxLuUPtSozl9S/UtTNSYWsBg== MIME-Version: 1.0 X-Received: by 10.25.150.138 with SMTP id y132mr2397434lfd.56.1459290189093; Tue, 29 Mar 2016 15:23:09 -0700 (PDT) Received: by 10.112.44.68 with HTTP; Tue, 29 Mar 2016 15:23:08 -0700 (PDT) Received: by 10.112.44.68 with HTTP; Tue, 29 Mar 2016 15:23:08 -0700 (PDT) In-Reply-To: <1143344414.2163848.1459287753408.JavaMail.yahoo@mail.yahoo.com> References: <1143344414.2163848.1459287753408.JavaMail.yahoo.ref@mail.yahoo.com> <1143344414.2163848.1459287753408.JavaMail.yahoo@mail.yahoo.com> Date: Wed, 30 Mar 2016 01:23:08 +0300 Message-ID: Subject: Re: Identify physical port given a network interface name on Dell PowerEdge servers? From: Sami Halabi To: Pallav Bose Cc: freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.21 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, 29 Mar 2016 22:23:11 -0000 Hi, I'm not aware of any. but if you identify once you can set description to the interface so building a script based on it would be easy. Sami =D7=91=D7=AA=D7=90=D7=A8=D7=99=D7=9A 30 =D7=91=D7=9E=D7=A8=D7=A5 2016 12:48= AM,=E2=80=8F "Pallav Bose via freebsd-net" < freebsd-net@freebsd.org> =D7=9B=D7=AA=D7=91: > Hello, > Is there a way for me to identify which physical port corresponds to a > given interface name? For example, the input to my script/program is the > network interface name, like bge0/ix0, and the output is the physical por= t > which maps to this interface, like, LOM1/LOM2 or NIC1 port 1 (in case a N= IC > card is attached via the PCI bus). This program/script will run on a Dell > PowerEdge server. > > LOM stands for LAN On Motherboard. > Regards, > Pallav > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"