<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: number of physical network cards on the hpux server in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/number-of-physical-network-cards-on-the-hpux-server/m-p/3683868#M102989</link>
    <description>Muthu and Arun; In the Mel's example above,&lt;BR /&gt;lan2, lan3 and lan4 are on the same hardware path. &lt;BR /&gt;&lt;BR /&gt;could you please explain the same ?&lt;BR /&gt;</description>
    <pubDate>Wed, 07 Dec 2005 01:50:29 GMT</pubDate>
    <dc:creator>Shivkumar</dc:creator>
    <dc:date>2005-12-07T01:50:29Z</dc:date>
    <item>
      <title>number of physical network cards on the hpux server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/number-of-physical-network-cards-on-the-hpux-server/m-p/3683855#M102976</link>
      <description>i want to count actual physical network cards on the hpux server. I mean i don't want to count virtual network interfaces. Just need to count actual physical one.&lt;BR /&gt;&lt;BR /&gt;can anyone suggest me command for the same ?</description>
      <pubDate>Fri, 02 Dec 2005 19:32:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/number-of-physical-network-cards-on-the-hpux-server/m-p/3683855#M102976</guid>
      <dc:creator>Shivkumar</dc:creator>
      <dc:date>2005-12-02T19:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: number of physical network cards on the hpux server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/number-of-physical-network-cards-on-the-hpux-server/m-p/3683856#M102977</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;My first choice would be to do:&lt;BR /&gt;&lt;BR /&gt;# ioscan -kC lan&lt;BR /&gt;&lt;BR /&gt;...and if you simply want the count of LAN cards:&lt;BR /&gt;&lt;BR /&gt;# ioscan -lc lan||grep -c lan&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 02 Dec 2005 19:43:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/number-of-physical-network-cards-on-the-hpux-server/m-p/3683856#M102977</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2005-12-02T19:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: number of physical network cards on the hpux server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/number-of-physical-network-cards-on-the-hpux-server/m-p/3683857#M102978</link>
      <description>ioscan -fnC lan | grep ^lan | wc -l&lt;BR /&gt;&lt;BR /&gt;this gives you the number of network interfaces on your system. usually, lan0 is located on the system mainboard (there are exceptions to this rule rp4440 being one of them) so, if you subtract one from the obtained value, you can see your addtional network interfaces.&lt;BR /&gt;&lt;BR /&gt;Also another caveat to the calculation above, the are dual or quad network cards, which means two or four network ports come on a single PCI card. In which case the number of cards and number of ports may not be one-to-one.&lt;BR /&gt;&lt;BR /&gt;There is no straight correlation between the card count and the port count to make this calculation simple. Also, server type as in the case of rp4440/rx4440 goes, makes a difference on the card count. &lt;BR /&gt;&lt;BR /&gt;Best bet is to know the server type and running a &lt;BR /&gt;&lt;BR /&gt;ioscan -fnC lan &lt;BR /&gt;&lt;BR /&gt;command and manually analyzing the output.&lt;BR /&gt;&lt;BR /&gt;Hardware paths, if you look at their numerical representation, will tell you if you have a dual or quad network adapter cards.&lt;BR /&gt;&lt;BR /&gt;For instance, on this system&lt;BR /&gt;&lt;BR /&gt;# ioscan -fknC lan&lt;BR /&gt;Class     I  H/W Path      Driver   S/W State   H/W Type     Description&lt;BR /&gt;=========================================================================&lt;BR /&gt;lan       0  0/0/0/0       btlan    CLAIMED     INTERFACE    HP PCI 10/100Base-TX Core&lt;BR /&gt;                          /dev/diag/lan0  /dev/ether0     /dev/lan0&lt;BR /&gt;lan       2  0/5/0/0/4/0   btlan    CLAIMED     INTERFACE    HP A5506A PCI 10/100Base-TX 4 Port&lt;BR /&gt;                          /dev/diag/lan2  /dev/ether2     /dev/lan2&lt;BR /&gt;lan       3  0/5/0/0/5/0   btlan    CLAIMED     INTERFACE    HP A5506A PCI 10/100Base-TX 4 Port&lt;BR /&gt;                          /dev/diag/lan3  /dev/ether3     /dev/lan3&lt;BR /&gt;lan       4  0/5/0/0/6/0   btlan    CLAIMED     INTERFACE    HP A5506A PCI 10/100Base-TX 4 Port&lt;BR /&gt;                          /dev/diag/lan4  /dev/ether4     /dev/lan4&lt;BR /&gt;lan       5  0/5/0/0/7/0   btlan    CLAIMED     INTERFACE    HP A5506A PCI 10/100Base-TX 4 Port&lt;BR /&gt;                          /dev/diag/lan5  /dev/ether5     /dev/lan5&lt;BR /&gt;lan       9  1/12/0/0/4/0  btlan    CLAIMED     INTERFACE    HP A5506A PCI 10/100Base-TX 4 Port&lt;BR /&gt;                          /dev/diag/lan9  /dev/ether9     /dev/lan9&lt;BR /&gt;lan      10  1/12/0/0/5/0  btlan    CLAIMED     INTERFACE    HP A5506A PCI 10/100Base-TX 4 Port&lt;BR /&gt;                          /dev/diag/lan10  /dev/ether10     /dev/lan10&lt;BR /&gt;lan      11  1/12/0/0/6/0  btlan    CLAIMED     INTERFACE    HP A5506A PCI 10/100Base-TX 4 Port&lt;BR /&gt;                          /dev/diag/lan11  /dev/ether11     /dev/lan11&lt;BR /&gt;lan      12  1/12/0/0/7/0  btlan    CLAIMED     INTERFACE    HP A5506A PCI 10/100Base-TX 4 Port&lt;BR /&gt;                          /dev/diag/lan12  /dev/ether12     /dev/lan12&lt;BR /&gt;&lt;BR /&gt;lan0 is built in lan and has a different path than the others.&lt;BR /&gt;&lt;BR /&gt;lan2 thru lan5 as you can see is placed on the same h/w path, which tells you this is a quad card. And same can be said for the lan9 thru lan12.&lt;BR /&gt;&lt;BR /&gt;This is how you get to calculate them. &lt;BR /&gt;&lt;BR /&gt;Hope it helps&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Dec 2005 19:51:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/number-of-physical-network-cards-on-the-hpux-server/m-p/3683857#M102978</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2005-12-02T19:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: number of physical network cards on the hpux server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/number-of-physical-network-cards-on-the-hpux-server/m-p/3683858#M102979</link>
      <description>Try this script:&lt;BR /&gt;&lt;BR /&gt;# cat /usr/local/bin/lancards&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;# script to check speed and settings of lan cards&lt;BR /&gt;PATH=/usr/sbin:/usr/bin&lt;BR /&gt;ppas=`lanscan | awk '$3~/^[0-9]$/{print $3}' | xargs`&lt;BR /&gt;for i in $ppas&lt;BR /&gt;do&lt;BR /&gt;printf "Card at PPA %s - " $i&lt;BR /&gt;ipa=`ifconfig lan${i} 2&amp;gt;/dev/null | awk '{ip=$2}END{if(ip==""){printf("Not assigned")}else{printf("%s ",ip)}}'`&lt;BR /&gt;printf "IP Address: %15s- " "$ipa"&lt;BR /&gt;lanadmin -x $i 2&amp;gt;/dev/null | awk '{$1="";printf("%s",$0)}'&lt;BR /&gt;echo ""&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Fri, 02 Dec 2005 20:07:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/number-of-physical-network-cards-on-the-hpux-server/m-p/3683858#M102979</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-12-02T20:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: number of physical network cards on the hpux server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/number-of-physical-network-cards-on-the-hpux-server/m-p/3683859#M102980</link>
      <description>Shiv, You can use SAM to get to know how many network cards installed on your HP-UX server, &lt;BR /&gt;&lt;BR /&gt;-Arun &lt;BR /&gt;</description>
      <pubDate>Sat, 03 Dec 2005 01:07:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/number-of-physical-network-cards-on-the-hpux-server/m-p/3683859#M102980</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-12-03T01:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: number of physical network cards on the hpux server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/number-of-physical-network-cards-on-the-hpux-server/m-p/3683860#M102981</link>
      <description>Is there a way to find out whether a particular "nic" has been configured for the backup purpose specifically ?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shiv&lt;BR /&gt;</description>
      <pubDate>Sat, 03 Dec 2005 13:37:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/number-of-physical-network-cards-on-the-hpux-server/m-p/3683860#M102981</guid>
      <dc:creator>Shivkumar</dc:creator>
      <dc:date>2005-12-03T13:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: number of physical network cards on the hpux server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/number-of-physical-network-cards-on-the-hpux-server/m-p/3683861#M102982</link>
      <description>Shalom again,&lt;BR /&gt;&lt;BR /&gt;The primary network card is part of network configuration. You should be able to id it in /etc/rc.config.d/netconf&lt;BR /&gt;&lt;BR /&gt;That's where I'd look.&lt;BR /&gt;&lt;BR /&gt;I remember seeing the ability to designate a primary NIC in the Ignire install interface, perhaps that is what you refer to?&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sat, 03 Dec 2005 16:56:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/number-of-physical-network-cards-on-the-hpux-server/m-p/3683861#M102982</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-12-03T16:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: number of physical network cards on the hpux server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/number-of-physical-network-cards-on-the-hpux-server/m-p/3683862#M102983</link>
      <description>Shiv, As Steve specified take a look at /etc/rc.config.d/netconf for all network configuration related information. Also, you can use #ifconfig -a to get all information. &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Sun, 04 Dec 2005 01:13:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/number-of-physical-network-cards-on-the-hpux-server/m-p/3683862#M102983</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-12-04T01:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: number of physical network cards on the hpux server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/number-of-physical-network-cards-on-the-hpux-server/m-p/3683863#M102984</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;"lanscan" command will also tell u the number of network cards.&lt;BR /&gt;&lt;BR /&gt;"netstat -in" will tell u the state of the cards.&lt;BR /&gt;&lt;BR /&gt;regards.</description>
      <pubDate>Sun, 04 Dec 2005 21:46:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/number-of-physical-network-cards-on-the-hpux-server/m-p/3683863#M102984</guid>
      <dc:creator>Joseph Loo</dc:creator>
      <dc:date>2005-12-04T21:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: number of physical network cards on the hpux server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/number-of-physical-network-cards-on-the-hpux-server/m-p/3683864#M102985</link>
      <description>The difference between lanscan and ioscan includes:&lt;BR /&gt;&lt;BR /&gt;*) lanscan will show APA aggregates&lt;BR /&gt;&lt;BR /&gt;*) ioscan will show cards not claimed by a driver &lt;BR /&gt;&lt;BR /&gt;FWIW, the being able to grep for "lan" may not be a 100% thing - third party devices _may_ not appear as "lan" devices in ioscan output.  However, 99 times out of 10 grepping for lan is sufficient.</description>
      <pubDate>Mon, 05 Dec 2005 12:45:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/number-of-physical-network-cards-on-the-hpux-server/m-p/3683864#M102985</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2005-12-05T12:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: number of physical network cards on the hpux server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/number-of-physical-network-cards-on-the-hpux-server/m-p/3683865#M102986</link>
      <description>Mel, If different cards are placed on the same hardware path then what is significance of this ? Thanks.</description>
      <pubDate>Wed, 07 Dec 2005 01:40:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/number-of-physical-network-cards-on-the-hpux-server/m-p/3683865#M102986</guid>
      <dc:creator>Shivkumar</dc:creator>
      <dc:date>2005-12-07T01:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: number of physical network cards on the hpux server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/number-of-physical-network-cards-on-the-hpux-server/m-p/3683866#M102987</link>
      <description>It is not possible to assign same hardware path to different lan cards. &lt;BR /&gt;&lt;BR /&gt;-Muthu</description>
      <pubDate>Wed, 07 Dec 2005 01:43:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/number-of-physical-network-cards-on-the-hpux-server/m-p/3683866#M102987</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-12-07T01:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: number of physical network cards on the hpux server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/number-of-physical-network-cards-on-the-hpux-server/m-p/3683867#M102988</link>
      <description>Shiv, how is it possible to assing same hardware path to different NICs ? Wont you get a hardware conflict ? &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Wed, 07 Dec 2005 01:46:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/number-of-physical-network-cards-on-the-hpux-server/m-p/3683867#M102988</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-12-07T01:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: number of physical network cards on the hpux server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/number-of-physical-network-cards-on-the-hpux-server/m-p/3683868#M102989</link>
      <description>Muthu and Arun; In the Mel's example above,&lt;BR /&gt;lan2, lan3 and lan4 are on the same hardware path. &lt;BR /&gt;&lt;BR /&gt;could you please explain the same ?&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Dec 2005 01:50:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/number-of-physical-network-cards-on-the-hpux-server/m-p/3683868#M102989</guid>
      <dc:creator>Shivkumar</dc:creator>
      <dc:date>2005-12-07T01:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: number of physical network cards on the hpux server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/number-of-physical-network-cards-on-the-hpux-server/m-p/3683869#M102990</link>
      <description>Shiv, what Mel specified is a Quad port card which contains 4 NICs together in one card and it can be assigned same HW path. It is used for fail over and load balancing. Its different from 4 individual NICs. &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Wed, 07 Dec 2005 02:37:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/number-of-physical-network-cards-on-the-hpux-server/m-p/3683869#M102990</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-12-07T02:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: number of physical network cards on the hpux server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/number-of-physical-network-cards-on-the-hpux-server/m-p/3683870#M102991</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;i normally use attached script which also gives me information on the speed.&lt;BR /&gt;&lt;BR /&gt;e.g.&lt;BR /&gt;# ./lan-speed.sh&lt;BR /&gt;Card at PPA 0 - IP Address:      172.0.28.1 -  Config = 100 Full-Duplex AUTONEG&lt;BR /&gt;Card at PPA 1 - IP Address:    192.168.14.1 -  Config = 100 Full-Duplex AUTONEG&lt;BR /&gt;Card at PPA 2 - IP Address:      10.10.1.11 -  = 1000 Full-Duplex. = On.&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;hope this helps too!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Wed, 07 Dec 2005 04:16:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/number-of-physical-network-cards-on-the-hpux-server/m-p/3683870#M102991</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2005-12-07T04:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: number of physical network cards on the hpux server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/number-of-physical-network-cards-on-the-hpux-server/m-p/3683871#M102992</link>
      <description>script attached</description>
      <pubDate>Wed, 07 Dec 2005 04:18:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/number-of-physical-network-cards-on-the-hpux-server/m-p/3683871#M102992</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2005-12-07T04:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: number of physical network cards on the hpux server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/number-of-physical-network-cards-on-the-hpux-server/m-p/3683872#M102993</link>
      <description>HW paths are never "assigned" per se.  Each bit of HW in the system has a specific path which reaches it.  Each I/O slot has a specific HW path. &lt;BR /&gt;&lt;BR /&gt;The HW path will include "path" information about internal stuff leading ot the PCI(X) slot, then PCI addressing information - PCI address and functional address.&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Dec 2005 13:22:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/number-of-physical-network-cards-on-the-hpux-server/m-p/3683872#M102993</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2005-12-08T13:22:14Z</dc:date>
    </item>
  </channel>
</rss>

